mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
More stealthy fake walls (#15130)
* stealthy fake falls * Comment adjustment
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user