Adds some examine helpers (#18997)

* Adds some examine helpers

* Includes suggestions

* Macroifies some "the"s

* Update code/game/machinery/camera/camera.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* Update code/game/objects/items/devices/radio/intercom.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
This commit is contained in:
Shadow-Quill
2022-10-11 08:11:23 +01:00
committed by GitHub
co-authored by Contrabang Luc Charlie
parent cb513cf52e
commit 3958de2de4
9 changed files with 94 additions and 20 deletions
@@ -1100,10 +1100,11 @@
/obj/machinery/alarm/examine(mob/user)
. = ..()
if(buildstage < 2)
. += "It is not wired."
if(buildstage < 1)
. += "The circuit is missing."
switch(buildstage)
if(AIR_ALARM_FRAME)
. += "<span class='notice'>Its <i>circuit</i> is missing and the <b>bolts<b> are exposed.</span>"
if(AIR_ALARM_BUILDING)
. += "<span class='notice'>The frame is missing <i>wires</i> and the control circuit can be <b>pried out</b>.</span>"
/obj/machinery/alarm/proc/unshort_callback()
if(shorted)