mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 18:13:34 +01:00
Adds the name of the occupant to the examine text of sleepers and body scanners (#21324)
* Adds a line featuring the name of the occupant and whether they are dead to the examine text of sleepers and body scanners. * Gives <span class='notice'> to description. Also adds the feature to cryo cells. * Now using occupant.p_are()
This commit is contained in:
@@ -31,6 +31,11 @@
|
||||
|
||||
/obj/machinery/atmospherics/unary/cryo_cell/examine(mob/user)
|
||||
. = ..()
|
||||
if(occupant)
|
||||
if(occupant.is_dead())
|
||||
. += "<span class='warning'>You see [occupant.name] inside. [occupant.p_they(TRUE)] [occupant.p_are()] dead!</span>"
|
||||
else
|
||||
. += "<span class='notice'>You see [occupant.name] inside.</span>"
|
||||
. += "<span class='notice'>The Cryogenic cell chamber is effective at treating those with genetic damage, but all other damage types at a moderate rate.</span>"
|
||||
. += "<span class='notice'>Mostly using cryogenic chemicals, such as cryoxadone for it's medical purposes, requires that the inside of the cell be kept cool at all times. Hooking up a freezer and cooling the pipeline will do this nicely.</span>"
|
||||
. += "<span class='notice'><b>Click-drag</b> someone to a cell to place them in it, use the 'Eject occupant' verb to remove them.</span>"
|
||||
|
||||
Reference in New Issue
Block a user