mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Prevents surgery on cult ghosts (#17514)
* prevents surgery on cult ghosts * no choppy limb please
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user