mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-02 05:32:16 +00:00
Revisions to CentCom. CentCom now has its own access levels set, and a unique ID changing computer. Added nasa void suit and captain armor to item steal list. Fixed some run time errors for hand-tele from my previous commit. Removed the remove poo and urine button from secrets. Decoy AIs can now say stuff like regular AIs. This is useful if you need a non-player announcer for something, while taking into account talk_understand and the like. I use it for deathsquad shuttle announcements. I've placed A.L.I.C.E. on CentCom for such reasons. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1704 316c924e-a436-60f5-8080-3fe189b3f50e
27 lines
821 B
Plaintext
27 lines
821 B
Plaintext
/mob/living/carbon/brain
|
|
var
|
|
obj/item/device/mmi/container = null
|
|
|
|
New()
|
|
var/datum/reagents/R = new/datum/reagents(1000)
|
|
reagents = R
|
|
R.my_atom = src
|
|
..()
|
|
|
|
Del()
|
|
if(key)//If there is a mob connected to this thing. Have to check key twice to avoid false death reporting.
|
|
if(stat!=2)//If not dead.
|
|
death(1)//Brains can die again. AND THEY SHOULD AHA HA HA HA HA HA
|
|
ghostize(1)//Ghostize checks for key so nothing else is necessary. (1) tells that it the original body will be destroyed.
|
|
..()
|
|
|
|
say_understands(var/other)
|
|
if (istype(other, /mob/living/silicon/ai))
|
|
return 1
|
|
if (istype(other, /mob/living/silicon/decoy))
|
|
return 1
|
|
if (istype(other, /mob/living/silicon/robot))
|
|
return 1
|
|
if (istype(other, /mob/living/carbon/human))
|
|
return 1
|
|
return ..() |