remove antags for borging...

This commit is contained in:
SandPoot
2023-12-17 23:35:51 -03:00
parent 27bdd4b732
commit 653b767f32
3 changed files with 10 additions and 10 deletions
+9 -1
View File
@@ -293,7 +293,15 @@
remove_antag_datum(/datum/antagonist/cult)
var/datum/antagonist/rev/revolutionary = has_antag_datum(/datum/antagonist/rev)
revolutionary?.remove_revolutionary()
revolutionary?.remove_revolutionary(TRUE)
if(!isbrain(current))
return
if(!istype(loc, /obj/item/organ/brain))
return
var/obj/item/organ/brain/B = loc
if(!istype(B.laws, /datum/ai_laws/ratvar))
remove_servant_of_ratvar(current, TRUE)
/datum/mind/proc/remove_all_antag() //For the Lazy amongst us.
remove_changeling()
-6
View File
@@ -551,12 +551,6 @@
return max(0, enemy_minimum_age - C.player_age)
/datum/game_mode/proc/remove_antag_for_borging(datum/mind/newborgie)
SSticker.mode.remove_cultist(newborgie, 0, 0)
var/datum/antagonist/rev/rev = newborgie.has_antag_datum(/datum/antagonist/rev)
if(rev)
rev.remove_revolutionary(TRUE)
/datum/game_mode/proc/generate_station_goals()
if(flipseclevel && !(config_tag == "extended")) //CIT CHANGE - allows the sec level to be flipped roundstart
for(var/T in subtypesof(/datum/station_goal))
+1 -3
View File
@@ -292,9 +292,7 @@
if(M.laws.id == DEFAULT_AI_LAWID)
O.make_laws()
SSticker.mode.remove_antag_for_borging(BM.mind)
if(!istype(M.laws, /datum/ai_laws/ratvar))
remove_servant_of_ratvar(BM, TRUE)
BM.mind.remove_antags_for_borging()
BM.mind.transfer_to(O)
if(O.mind && O.mind.special_role)