Prevents the creation of Shadowzombiechangelings

This commit is contained in:
KorPhaeron
2017-09-15 03:07:03 -05:00
committed by CitadelStationBot
parent af0080b00b
commit d104c1d76c
6 changed files with 213 additions and 3 deletions
@@ -340,6 +340,10 @@ GLOBAL_LIST_INIT(slot2type, list("head" = /obj/item/clothing/head/changeling, "w
return
if(!target)
return
if(NO_DNA_COPY in target.dna.species.species_traits)
if(verbose)
to_chat(user, "<span class='warning'>[target] is not compatible with our biology.</span>")
return
if((target.disabilities & NOCLONE) || (target.disabilities & HUSK))
if(verbose)
to_chat(user, "<span class='warning'>DNA of [target] is ruined beyond usability!</span>")