Prevents surgery on cult ghosts (#17514)

* prevents surgery on cult ghosts

* no choppy limb please
This commit is contained in:
S34N
2022-03-24 19:21:49 +00:00
committed by GitHub
parent 671b49dabd
commit 3cd8de4501
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -14,6 +14,10 @@
if(M == user)
return // no self surgery
if(M.has_status_effect(STATUS_EFFECT_SUMMONEDGHOST))
to_chat(user, "<span class='notice'>You realise that a ghost probably doesn't have any useful organs.</span>")
return //no cult ghost surgery please
if(istype(M, /mob/living/carbon/human))
H = M
affecting = H.get_organ(check_zone(selected_zone))