Ports "examine-code refactor"... part 1...
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
tiled_dirt = FALSE
|
||||
|
||||
/turf/open/floor/wood/examine(mob/user)
|
||||
..()
|
||||
to_chat(user, "<span class='notice'>There's a few <b>screws</b> and a <b>small crack</b> visible.</span>")
|
||||
. = ..()
|
||||
. += "<span class='notice'>There's a few <b>screws</b> and a <b>small crack</b> visible.</span>"
|
||||
|
||||
/turf/open/floor/wood/screwdriver_act(mob/living/user, obj/item/I)
|
||||
if(..())
|
||||
@@ -174,8 +174,8 @@
|
||||
tiled_dirt = FALSE
|
||||
|
||||
/turf/open/floor/carpet/examine(mob/user)
|
||||
..()
|
||||
to_chat(user, "<span class='notice'>There's a <b>small crack</b> on the edge of it.</span>")
|
||||
. = ..()
|
||||
. += "<span class='notice'>There's a <b>small crack</b> on the edge of it.</span>"
|
||||
|
||||
/turf/open/floor/carpet/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
|
||||
/turf/open/floor/light/examine(mob/user)
|
||||
..()
|
||||
to_chat(user, "<span class='notice'>There's a <b>small crack</b> on the edge of it.</span>")
|
||||
. = ..()
|
||||
. += "<span class='notice'>There's a <b>small crack</b> on the edge of it.</span>"
|
||||
|
||||
/turf/open/floor/light/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
burnt_states = list("floorscorched1", "floorscorched2")
|
||||
|
||||
/turf/open/floor/plasteel/examine(mob/user)
|
||||
..()
|
||||
to_chat(user, "<span class='notice'>There's a <b>small crack</b> on the edge of it.</span>")
|
||||
. = ..()
|
||||
. += "<span class='notice'>There's a <b>small crack</b> on the edge of it.</span>"
|
||||
|
||||
/turf/open/floor/plasteel/update_icon()
|
||||
if(!..())
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
var/attachment_holes = TRUE
|
||||
|
||||
/turf/open/floor/plating/examine(mob/user)
|
||||
..()
|
||||
. = ..()
|
||||
if(broken || burnt)
|
||||
to_chat(user, "<span class='notice'>It looks like the dents could be <i>welded</i> smooth.</span>")
|
||||
. += "<span class='notice'>It looks like the dents could be <i>welded</i> smooth.</span>"
|
||||
return
|
||||
if(attachment_holes)
|
||||
to_chat(user, "<span class='notice'>There are a few attachment holes for a new <i>tile</i> or reinforcement <i>rods</i>.</span>")
|
||||
. += "<span class='notice'>There are a few attachment holes for a new <i>tile</i> or reinforcement <i>rods</i>.</span>"
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You might be able to build ontop of it with some <i>tiles</i>...</span>")
|
||||
. += "<span class='notice'>You might be able to build ontop of it with some <i>tiles</i>...</span>"
|
||||
|
||||
/turf/open/floor/plating/Initialize()
|
||||
if (!broken_states)
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
tiled_dirt = FALSE
|
||||
|
||||
/turf/open/floor/engine/examine(mob/user)
|
||||
..()
|
||||
to_chat(user, "<span class='notice'>The reinforcement rods are <b>wrenched</b> firmly in place.</span>")
|
||||
. = ..()
|
||||
. += "<span class='notice'>The reinforcement rods are <b>wrenched</b> firmly in place.</span>"
|
||||
|
||||
/turf/open/floor/engine/airless
|
||||
initial_gas_mix = "TEMP=2.7"
|
||||
|
||||
@@ -32,11 +32,11 @@
|
||||
var/list/dent_decals
|
||||
|
||||
/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>")
|
||||
return "<span class='notice'>The outer plating is <b>welded</b> firmly in place.</span>"
|
||||
|
||||
/turf/closed/wall/attack_tk()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user