Examination fixes.

Fixes #8491.
Fixes #8579.
This commit is contained in:
PsiOmega
2015-04-06 10:46:19 +02:00
parent f22a386e43
commit d8a6576f36
3 changed files with 12 additions and 3 deletions
@@ -383,7 +383,6 @@
user << "You are too far away to read the gauge."
if(welded)
user << "It seems welded shut."
..()
/obj/machinery/atmospherics/unary/vent_pump/power_change()
var/old_stat = stat
@@ -277,7 +277,6 @@
user << "A small gauge in the corner reads [round(last_flow_rate, 0.1)] L/s; [round(last_power_draw)] W"
else
user << "You are too far away to read the gauge."
..()
/obj/machinery/atmospherics/unary/vent_scrubber/Del()
if(initial_loc)
+12 -1
View File
@@ -143,7 +143,7 @@
return
// Emitter Blasts - these will eventually completely destroy the door, given enough time.
if (Proj.damage > 90)
if (Proj.damage > 90)
destroy_hits--
if (destroy_hits <= 0)
visible_message("\red <B>\The [src.name] disintegrates!</B>")
@@ -292,6 +292,17 @@
update_icon()
return
/obj/machinery/door/examine(mob/user)
..()
if(src.health < src.maxhealth / 4)
user << "\The [src] looks like it's about to break!"
else if(src.health < src.maxhealth / 2)
user << "\The [src] looks seriously damaged!"
else if(src.health < src.maxhealth * 3/4)
user << "\The [src] shows signs of damage!"
/obj/machinery/door/proc/set_broken()
stat |= BROKEN
for (var/mob/O in viewers(src, null))