Adds examine boxes. (#18370)

* Adds examine boxes.

* lint

* what kind of dreams did you dream?

* unlimited

* midgardsormr

* sdsd

* fixes

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2024-02-11 21:58:20 +00:00
committed by GitHub
co-authored by Matt Atlas
parent d57c5e7c43
commit 4423d03f2f
296 changed files with 1317 additions and 1257 deletions
@@ -53,9 +53,9 @@
power_rating *= initial(power_rating)
..()
/obj/machinery/atmospherics/binary/oxyregenerator/examine(user)
/obj/machinery/atmospherics/binary/oxyregenerator/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
to_chat(user,"Its outlet port is to the [dir2text(dir)]")
. += "Its outlet port is to the [dir2text(dir)]."
/obj/machinery/atmospherics/binary/oxyregenerator/attackby(obj/item/O as obj, mob/user as mob)
if(O.iswrench())
@@ -181,7 +181,7 @@
return ..()
/obj/machinery/atmospherics/unary/freezer/examine(mob/user)
/obj/machinery/atmospherics/unary/freezer/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
if(panel_open)
to_chat(user, "The maintenance hatch is open.")
. += "The maintenance hatch is open."
@@ -169,7 +169,7 @@
return ..()
/obj/machinery/atmospherics/unary/heater/examine(mob/user)
/obj/machinery/atmospherics/unary/heater/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
if(panel_open)
to_chat(user, "The maintenance hatch is open.")
. += "The maintenance hatch is open."
@@ -416,14 +416,14 @@
else
return ..()
/obj/machinery/atmospherics/unary/vent_pump/examine(mob/user, distance, is_adjacent)
/obj/machinery/atmospherics/unary/vent_pump/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
if(distance <= 1)
to_chat(user, "A small gauge in the corner reads [round(last_flow_rate, 0.1)] L/s; [round(last_power_draw)] W")
. += "A small gauge in the corner reads [round(last_flow_rate, 0.1)] L/s at [round(last_power_draw)] W."
else
to_chat(user, "You are too far away to read the gauge.")
. += "You are too far away to read the gauge."
if(welded)
to_chat(user, "It seems welded shut.")
. += "It seems welded shut."
/obj/machinery/atmospherics/unary/vent_pump/power_change()
var/old_stat = stat
@@ -417,11 +417,11 @@
return ..()
/obj/machinery/atmospherics/unary/vent_scrubber/examine(mob/user, distance, is_adjacent)
/obj/machinery/atmospherics/unary/vent_scrubber/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
if(distance <= 1)
to_chat(user, "A small gauge in the corner reads [round(last_flow_rate, 0.1)] L/s; [round(last_power_draw)] W")
. += "A small gauge in the corner reads [round(last_flow_rate, 0.1)] L/s at [round(last_power_draw)] W."
else
to_chat(user, "You are too far away to read the gauge.")
. += "You are too far away to read the gauge."
if(welded)
to_chat(user, "It seems welded shut.")
. += "It seems welded shut."
@@ -324,6 +324,6 @@
qdel(src)
return TRUE
/obj/machinery/atmospherics/valve/examine(mob/user)
/obj/machinery/atmospherics/valve/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
to_chat(user, "It is [open ? "open" : "closed"].")
. += "It is [open ? "open" : "closed"]."