From 6f409d937be4d3fc4bd5659ebe41d8a1855631b4 Mon Sep 17 00:00:00 2001 From: Geeves Date: Sun, 29 Sep 2019 12:30:28 +0200 Subject: [PATCH] CRYO VISION OH SHIT BOI (#7070) Examining a cryopod allows you to see who's in it, if there's someone in it. --- code/game/machinery/cryopod.dm | 5 ++++ html/changelogs/geeves-cryoExamine.yml | 41 ++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 html/changelogs/geeves-cryoExamine.yml diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index 9cdb24483a5..388d150146c 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -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) diff --git a/html/changelogs/geeves-cryoExamine.yml b/html/changelogs/geeves-cryoExamine.yml new file mode 100644 index 00000000000..70cf9c5e817 --- /dev/null +++ b/html/changelogs/geeves-cryoExamine.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: Geeves + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Examining a cryopod now tells you who the occupant is."