Nuclear Operatives Can Now Correctly Get Servant Golems (#70142)

Nuclear Operatives Can Now Correctly Get Servant Golems
This commit is contained in:
san7890
2022-09-30 15:21:08 +02:00
committed by GitHub
parent 7cc3cacbe9
commit 43c7959ca9
+7 -3
View File
@@ -28,11 +28,15 @@
/datum/antagonist/nukeop/proc/equip_op()
if(!ishuman(owner.current))
return
var/mob/living/carbon/human/H = owner.current
H.set_species(/datum/species/human) //Plasamen burn up otherwise, and lizards are vulnerable to asimov AIs
var/mob/living/carbon/human/operative = owner.current
H.equipOutfit(nukeop_outfit)
if(!nukeop_outfit) // this variable is null in instances where an antagonist datum is granted via enslaving the mind (/datum/mind/proc/enslave_mind_to_creator), like in golems.
return
operative.set_species(/datum/species/human) //Plasmamen burn up otherwise, and besides, all other species are vulnerable to asimov AIs. Let's standardize all operatives being human.
operative.equipOutfit(nukeop_outfit)
return TRUE
/datum/antagonist/nukeop/greet()