Redo examining in general and tweak getFlatIcon

This commit is contained in:
Aronai Sieyes
2020-05-06 18:37:46 -04:00
parent 4a12194414
commit bd298810f2
10 changed files with 85 additions and 32 deletions
@@ -152,6 +152,13 @@
if(new_stat != DEAD)
CRASH("It is best if observers stay dead, thank you.")
/mob/observer/dead/examine_icon()
var/icon/I = get_cached_examine_icon(src)
if(!I)
I = getFlatIcon(src, defdir = SOUTH, no_anim = TRUE)
set_cached_examine_icon(src, I, 200 SECONDS)
return I
/*
Transfer_mind is there to check if mob is being deleted/not going to have a body.
Works together with spawning an observer, noted above.