mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Crypod now displays the name of occupant.
When entering a cryopod the name of the occupant is appended to its name. This allows the AI, and others, to at a glance see who is being processed.
This commit is contained in:
@@ -381,7 +381,7 @@
|
|||||||
// Delete the mob.
|
// Delete the mob.
|
||||||
del(occupant)
|
del(occupant)
|
||||||
occupant = null
|
occupant = null
|
||||||
|
name = initial(name)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -442,7 +442,6 @@
|
|||||||
src.add_fingerprint(M)
|
src.add_fingerprint(M)
|
||||||
|
|
||||||
/obj/machinery/cryopod/verb/eject()
|
/obj/machinery/cryopod/verb/eject()
|
||||||
|
|
||||||
set name = "Eject Pod"
|
set name = "Eject Pod"
|
||||||
set category = "Object"
|
set category = "Object"
|
||||||
set src in oview(1)
|
set src in oview(1)
|
||||||
@@ -464,6 +463,8 @@
|
|||||||
|
|
||||||
src.go_out()
|
src.go_out()
|
||||||
add_fingerprint(usr)
|
add_fingerprint(usr)
|
||||||
|
|
||||||
|
name = initial(name)
|
||||||
return
|
return
|
||||||
|
|
||||||
/obj/machinery/cryopod/verb/move_inside()
|
/obj/machinery/cryopod/verb/move_inside()
|
||||||
@@ -511,6 +512,7 @@
|
|||||||
time_entered = world.time
|
time_entered = world.time
|
||||||
|
|
||||||
src.add_fingerprint(usr)
|
src.add_fingerprint(usr)
|
||||||
|
name = "[name] ([usr.name])"
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user