Merge pull request #3042 from Citadel-Station-13/upstream-merge-30605

[MIRROR] You can now examine an airlock to find out how to construct/deconstruct it
This commit is contained in:
LetterJay
2017-10-01 16:30:40 -04:00
committed by GitHub
6 changed files with 50 additions and 6 deletions
@@ -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>")
+8 -1
View File
@@ -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