More stealthy fake walls (#15130)

* stealthy fake falls

* Comment adjustment
This commit is contained in:
TDSSS
2021-02-10 19:26:50 +01:00
committed by GitHub
parent a18c22e2fa
commit d39089c42c
2 changed files with 17 additions and 1 deletions
@@ -39,6 +39,18 @@
. = ..()
air_update_turf(1)
/obj/structure/falsewall/examine_status(mob/user)
var/healthpercent = (obj_integrity/max_integrity) * 100
switch(healthpercent)
if(100)
return "<span class='notice'>It looks fully intact.</span>"
if(70 to 99)
return "<span class='warning'>It looks slightly damaged.</span>"
if(40 to 70)
return "<span class='warning'>It looks moderately damaged.</span>"
if(0 to 40)
return "<span class='danger'>It looks heavily damaged.</span>"
/obj/structure/falsewall/ratvar_act()
new /obj/structure/falsewall/brass(loc)
qdel(src)
@@ -161,6 +173,10 @@
walltype = /turf/simulated/wall/r_wall
mineral = /obj/item/stack/sheet/plasteel
/obj/structure/falsewall/reinforced/examine_status(mob/user)
. = ..()
. += "<br><span class='notice'>The outer <b>grille</b> is fully intact.</span>" //not going to fake other states of disassembly
/obj/structure/falsewall/reinforced/ChangeToWall(delete = 1)
var/turf/T = get_turf(src)
T.ChangeTurf(/turf/simulated/wall/r_wall)