mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-19 01:58:34 +01:00
24 lines
555 B
Plaintext
24 lines
555 B
Plaintext
/mob/living/silicon/ai/death(gibbed)
|
|
|
|
if(stat == DEAD)
|
|
return
|
|
|
|
if(deployed_shell)
|
|
disconnect_shell("Disconnecting from remote shell due to critical system failure.")
|
|
. = ..(gibbed)
|
|
|
|
if(src.eyeobj)
|
|
src.eyeobj.setLoc(get_turf(src))
|
|
|
|
remove_ai_verbs(src)
|
|
|
|
for(var/obj/machinery/ai_status_display/O in machines)
|
|
spawn( 0 )
|
|
O.mode = 2
|
|
if (istype(loc, /obj/item/device/aicard))
|
|
var/obj/item/device/aicard/card = loc
|
|
card.update_icon()
|
|
|
|
. = ..(gibbed,"gives one shrill beep before falling lifeless.")
|
|
density = 1
|