Skip to content

Commit

Permalink
Merge pull request tgstation#17853 from ChangelingRain/suicidalshade
Browse files Browse the repository at this point in the history
Shades cannot suicide inside soulstones
  • Loading branch information
Jordie0608 committed May 24, 2016
2 parents e84f0ca + 96f3b6d commit fa19b3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/mob/living/simple_animal/shade.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
del_on_death = 1
deathmessage = "lets out a contented sigh as their form unwinds."

/mob/living/simple_animal/shade/canSuicide()
if(istype(loc, /obj/item/device/soulstone)) //do not suicide inside the soulstone
return 0
return ..()

/mob/living/simple_animal/shade/Process_Spacemove(movement_dir = 0)
return TRUE //this doesn't make much sense; you'd thing TRUE would mean it'd process spacemove but it means it doesn't

Expand Down

0 comments on commit fa19b3a

Please sign in to comment.