You can now examine an airlock to find out how to construct/deconstruct it (#30605)
* Tweaks rwall construction examine-messages. * Tweaks window construction examine-messages. * Added airlock construction examine messages. * Typo fix. * Shortened the airlock electronics circuit message. * Fixed examine text styles. * Fixes. * Fixed wall-examine showing on rwalls. * Made wall and rwall decon hints into a proc. Probably overrode the examine() wrong. * I missed a > in span. Reinforced falsewall now deconstructs with wirecutters and looks like a real rwall. Changed to a more classy istype-check. * New reinforced fakewall examine- and attackby-subtypes to get rid of if-istype-reinforced-checks. * Removed unnecessary rwall-examine. * Sound full path.
This commit is contained in:
committed by
CitadelStationBot
parent
aaa2a214cb
commit
0f387451f7
@@ -13,8 +13,7 @@
|
||||
girder_type = /obj/structure/girder/reinforced
|
||||
explosion_block = 2
|
||||
|
||||
/turf/closed/wall/r_wall/examine(mob/user)
|
||||
..()
|
||||
/turf/closed/wall/r_wall/deconstruction_hints(mob/user)
|
||||
switch(d_state)
|
||||
if(INTACT)
|
||||
to_chat(user, "<span class='notice'>The outer <b>grille</b> is fully intact.</span>")
|
||||
|
||||
@@ -25,6 +25,13 @@
|
||||
/turf/closed/wall/clockwork)
|
||||
smooth = SMOOTH_TRUE
|
||||
|
||||
/turf/closed/wall/examine(mob/user)
|
||||
..()
|
||||
deconstruction_hints(user)
|
||||
|
||||
/turf/closed/wall/proc/deconstruction_hints(mob/user)
|
||||
to_chat(user, "<span class='notice'>The outer plating is <b>welded</b> firmly in place.</span>")
|
||||
|
||||
/turf/closed/wall/attack_tk()
|
||||
return
|
||||
|
||||
@@ -287,4 +294,4 @@
|
||||
to_chat(user, "<span class='notice'>You deconstruct the wall.</span>")
|
||||
ChangeTurf(/turf/open/floor/plating)
|
||||
return TRUE
|
||||
return FALSE
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user