mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
Prevents surgery on cult ghosts (#17514)
* prevents surgery on cult ghosts * no choppy limb please
This commit is contained in:
@@ -903,6 +903,8 @@ structure_check() searches for nearby cultist structures required for the invoca
|
||||
new_human.alpha = 150 //Makes them translucent
|
||||
new_human.equipOutfit(/datum/outfit/ghost_cultist) //give them armor
|
||||
new_human.apply_status_effect(STATUS_EFFECT_SUMMONEDGHOST) //ghosts can't summon more ghosts, also lets you see actual ghosts
|
||||
for(var/obj/item/organ/external/current_organ in new_human.bodyparts)
|
||||
current_organ.limb_flags |= CANNOT_DISMEMBER //you can't chop of the limbs of a ghost, silly
|
||||
ghosts++
|
||||
playsound(src, 'sound/misc/exit_blood.ogg', 50, TRUE)
|
||||
user.visible_message("<span class='warning'>A cloud of red mist forms above [src], and from within steps... a [new_human.gender == FEMALE ? "wo" : ""]man.</span>",
|
||||
|
||||
@@ -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