adds spawners for NPC zombies (#25873)

* lmao

* lol

* yes

* yeah sure

* fix

* Apply suggestions from code review

Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* lewc review + duplicate

---------

Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
This commit is contained in:
Contrabang
2024-06-20 11:38:23 +00:00
committed by GitHub
co-authored by 1080pCat
parent 2ef31cc6e4
commit 18b0b09778
8 changed files with 61 additions and 26 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
return
if(zomboid.client || isLivingSSD(zomboid))
return
if(zomboid.last_known_ckey && !zomboid.key) // make sure they were player inhabited and not admin ghosted
if((zomboid.last_known_ckey || HAS_TRAIT(zomboid, TRAIT_NPC_ZOMBIE)) && !zomboid.key) // make sure they were player inhabited and not admin ghosted
mindless_hunger()
/datum/component/zombie_regen/proc/zombie_rejuv()