CRYO VISION OH SHIT BOI (#7070)

Examining a cryopod allows you to see who's in it, if there's someone in it.
This commit is contained in:
Geeves
2019-09-29 13:30:28 +03:00
committed by Erki
parent e26585d6cc
commit 6f409d937b
2 changed files with 46 additions and 0 deletions
+5
View File
@@ -217,6 +217,11 @@
icon_state = base_icon_state
find_control_computer()
/obj/machinery/cryopod/examine(mob/user)
..(user)
if(occupant)
to_chat(user, "[occupant] [gender_datums[occupant.gender].is] inside \the [src].")
/obj/machinery/cryopod/proc/find_control_computer(urgent=0)
//control_computer = locate(/obj/machinery/computer/cryopod) in src.loc.loc
for(var/obj/machinery/computer/cryopod/C in src.loc.loc)