SSD Tweaks (#15172)

This commit is contained in:
Wowzewow (Wezzy)
2022-11-29 13:08:59 +01:00
committed by GitHub
parent 7172b0b7ef
commit 0bbca438b8
6 changed files with 48 additions and 2 deletions
@@ -228,6 +228,7 @@ Works together with spawning an observer, noted above.
/mob/proc/ghostize(var/can_reenter_corpse = TRUE, var/should_set_timer = TRUE)
if(ckey)
cut_overlay(image('icons/effects/effects.dmi', "zzz_glow")) // not very efficient but ghostize isn't called /too/ often.
var/mob/abstract/observer/ghost = new(src) //Transfer safety to observer spawning proc.
ghost.can_reenter_corpse = can_reenter_corpse
ghost.timeofdeath = src.stat == DEAD ? src.timeofdeath : world.time