Skip to content

Commit

Permalink
Removes old code (BeeStation#11613)
Browse files Browse the repository at this point in the history
No one will miss it for no one even remembers it
  • Loading branch information
Szyszkrzyneczka authored Oct 2, 2024
1 parent 058cef2 commit ad9d15a
Show file tree
Hide file tree
Showing 33 changed files with 1 addition and 1,674 deletions.
23 changes: 0 additions & 23 deletions beestation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1071,8 +1071,6 @@
#include "code\game\gamemodes\gangs\gangtool.dm"
#include "code\game\gamemodes\gangs\implant_gang.dm"
#include "code\game\gamemodes\gangs\outfits.dm"
#include "code\game\gamemodes\hivemind\hivemind.dm"
#include "code\game\gamemodes\hivemind\objectives.dm"
#include "code\game\gamemodes\incursion\incursion.dm"
#include "code\game\gamemodes\meteor\meteor.dm"
#include "code\game\gamemodes\meteor\meteors.dm"
Expand Down Expand Up @@ -2093,27 +2091,6 @@
#include "code\modules\antagonists\heretic\structures\carving_knife.dm"
#include "code\modules\antagonists\heretic\structures\mawed_crucible.dm"
#include "code\modules\antagonists\highlander\highlander.dm"
#include "code\modules\antagonists\hivemind\hivemind.dm"
#include "code\modules\antagonists\hivemind\hivemind_overlays.dm"
#include "code\modules\antagonists\hivemind\hiveui.dm"
#include "code\modules\antagonists\hivemind\vessel.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_add.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_barrier.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_compell.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_dominance.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_hand.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_heal.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_integrate.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_invasion.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_loyalty.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_panic.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_probe.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_rally.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_see.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_shatter.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_shock.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_spells.dm"
#include "code\modules\antagonists\hivemind\spells\hivemind_thrall.dm"
#include "code\modules\antagonists\holoparasite\holoparasite_antag.dm"
#include "code\modules\antagonists\holoparasite\holoparasite_team.dm"
#include "code\modules\antagonists\hypnotization\hypnotized.dm"
Expand Down
2 changes: 0 additions & 2 deletions code/game/gamemodes/dynamic/dynamic_rulesets_latejoin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
/datum/dynamic_ruleset/roundstart/nuclear,
/datum/dynamic_ruleset/roundstart/wizard,
/datum/dynamic_ruleset/roundstart/revs,
/datum/dynamic_ruleset/roundstart/hivemind
)

//////////////////////////////////////////////
Expand All @@ -100,7 +99,6 @@
/datum/dynamic_ruleset/roundstart/nuclear,
/datum/dynamic_ruleset/roundstart/wizard,
/datum/dynamic_ruleset/roundstart/revs,
/datum/dynamic_ruleset/roundstart/hivemind
)

/datum/dynamic_ruleset/latejoin/heretic_smuggler/execute(forced = FALSE)
Expand Down
1 change: 0 additions & 1 deletion code/game/gamemodes/dynamic/dynamic_rulesets_midround.dm
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@
/datum/dynamic_ruleset/roundstart/nuclear,
/datum/dynamic_ruleset/roundstart/wizard,
/datum/dynamic_ruleset/roundstart/revs,
/datum/dynamic_ruleset/roundstart/hivemind
)

/datum/dynamic_ruleset/midround/autotraitor/trim_candidates()
Expand Down
29 changes: 0 additions & 29 deletions code/game/gamemodes/dynamic/dynamic_rulesets_roundstart.dm
Original file line number Diff line number Diff line change
Expand Up @@ -630,32 +630,3 @@
SSticker.mode_result = "win - incursion win"
else
SSticker.mode_result = "loss - staff stopped the incursion"

//////////////////////////////////////////////
// //
// ASSIMILATION //
// //
//////////////////////////////////////////////

/datum/dynamic_ruleset/roundstart/hivemind
name = "Assimilation"
role_preference = /datum/role_preference/antagonist/hivemind_host
antag_datum = /datum/antagonist/hivemind
protected_roles = list(JOB_NAME_SECURITYOFFICER, JOB_NAME_WARDEN, JOB_NAME_DETECTIVE,JOB_NAME_HEADOFSECURITY, JOB_NAME_CAPTAIN)
restricted_roles = list(JOB_NAME_AI, JOB_NAME_CYBORG)
required_candidates = 3
weight = 3
cost = 30
requirements = list(100,90,80,60,40,30,10,10,10,10)
flags = HIGH_IMPACT_RULESET | NO_OTHER_ROUNDSTARTS_RULESET | PERSISTENT_RULESET

/datum/dynamic_ruleset/roundstart/hivemind/pre_execute(population)
. = ..()
var/num_hosts = max( 3 , rand(0,1) + min(8, round(population / 8) ) )
for (var/i = 1 to num_hosts)
var/mob/M = antag_pick_n_take(candidates)
assigned += M.mind
M.mind.restricted_roles = restricted_roles
M.mind.special_role = ROLE_HIVE
GLOB.pre_setup_antags += M.mind
return TRUE
106 changes: 0 additions & 106 deletions code/game/gamemodes/hivemind/hivemind.dm

This file was deleted.

97 changes: 0 additions & 97 deletions code/game/gamemodes/hivemind/objectives.dm

This file was deleted.

2 changes: 0 additions & 2 deletions code/game/machinery/cloning.dm
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,6 @@

if(H)
H.faction |= factions
remove_hivemember(H)

for(var/t in traumas)
var/datum/brain_trauma/BT = t
var/datum/brain_trauma/cloned_trauma = BT.on_clone()
Expand Down
18 changes: 0 additions & 18 deletions code/game/objects/items/implants/implant_mindshield.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,6 @@
qdel(src)
return FALSE

var/datum/antagonist/hivemind/hiv= target.mind.has_antag_datum(/datum/antagonist/hivemind)
if(hiv)
var/timer = round(rand(1800,3000))
addtimer(CALLBACK(hiv, TYPE_PROC_REF(/datum/antagonist/hivemind, handle_implant)), timer, TIMER_STOPPABLE)
hiv.handle_implant()

if(is_hivemember(target))
for(var/datum/antagonist/hivemind/hive in GLOB.antagonists)
if(hive.hivemembers.Find(target.mind))
var/mob/living/carbon/C = hive.owner.current
if(C?.mind)
to_chat(C, "<span class='assimilator'>We detect a surge of psionic energy from a far away vessel before they disappear from the hive. Whatever happened, there's a good chance they're after us now.</span>")
if(IS_WOKEVESSEL(target))
target.mind.remove_antag_datum(/datum/antagonist/hivevessel)
target.visible_message("<span class='deconversion_message'>[target]'s thoughts seem to clear!</span>", null, null, null, target)
ADD_TRAIT(target, TRAIT_HIVE_BURNT, HIVEMIND_TRAIT)
to_chat(target, "<span class='assimilator'>You hear supernatural wailing echo throughout your mind as you are finally set free. Deep down, you can feel the lingering presence of those who enslaved you... as can they!</span>")
remove_hivemember(target)

var/datum/antagonist/rev/rev = target.mind.has_antag_datum(/datum/antagonist/rev)
if(rev)
Expand Down
Loading

0 comments on commit ad9d15a

Please sign in to comment.