mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Turned various spawns into timers / removed. Removed the magnet machinery and sd alerts, ancient code that was not used anywhere anyways.
25 lines
586 B
Plaintext
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)
|