Files
FluffyandGitHub 1e43a1267c Turned various spawns into timers / removed (#19402)
Turned various spawns into timers / removed.
Removed the magnet machinery and sd alerts, ancient code that was not
used anywhere anyways.
2024-06-16 15:24:27 +00:00

25 lines
586 B
Plaintext

/mob/living/silicon/ai/death(gibbed)
if(stat == DEAD)
return
if(src.eyeobj)
src.eyeobj.setLoc(get_turf(src))
remove_ai_verbs(src)
for(var/obj/machinery/ai_status_display/O in SSmachinery.all_status_displays)
O.mode = 2
if (istype(loc, /obj/item/aicard))
var/obj/item/aicard/card = loc
card.update_icon()
. = ..(gibbed,"gives one shrill beep before falling lifeless.")
if(.)
// If true, the mob went from living to dead (assuming everyone has been overriding as they should...)
GLOB.cameranet.update_visibility(src, FALSE)
density = TRUE
ghostize(FALSE)