Merge pull request #3133 from Citadel-Station-13/upstream-merge-31275
[MIRROR] Adds deconstruction hints to various things
This commit is contained in:
@@ -161,10 +161,10 @@
|
||||
broken = 0
|
||||
burnt = 0
|
||||
if(user && !silent)
|
||||
to_chat(user, "<span class='danger'>You remove the broken plating.</span>")
|
||||
to_chat(user, "<span class='notice'>You remove the broken plating.</span>")
|
||||
else
|
||||
if(user && !silent)
|
||||
to_chat(user, "<span class='danger'>You remove the floor tile.</span>")
|
||||
to_chat(user, "<span class='notice'>You remove the floor tile.</span>")
|
||||
if(floor_tile && make_tile)
|
||||
new floor_tile(src)
|
||||
return make_plating()
|
||||
|
||||
@@ -8,10 +8,15 @@
|
||||
*/
|
||||
|
||||
/turf/open/floor/wood
|
||||
desc = "Stylish dark wood."
|
||||
icon_state = "wood"
|
||||
floor_tile = /obj/item/stack/tile/wood
|
||||
broken_states = list("wood-broken", "wood-broken2", "wood-broken3", "wood-broken4", "wood-broken5", "wood-broken6", "wood-broken7")
|
||||
|
||||
/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>")
|
||||
|
||||
/turf/open/floor/wood/attackby(obj/item/C, mob/user, params)
|
||||
if(..())
|
||||
return
|
||||
@@ -42,16 +47,16 @@
|
||||
broken = 0
|
||||
burnt = 0
|
||||
if(user && !silent)
|
||||
to_chat(user, "<span class='danger'>You remove the broken planks.</span>")
|
||||
to_chat(user, "<span class='notice'>You remove the broken planks.</span>")
|
||||
else
|
||||
if(make_tile)
|
||||
if(user && !silent)
|
||||
to_chat(user, "<span class='danger'>You unscrew the planks.</span>")
|
||||
to_chat(user, "<span class='notice'>You unscrew the planks.</span>")
|
||||
if(floor_tile)
|
||||
new floor_tile(src)
|
||||
else
|
||||
if(user && !silent)
|
||||
to_chat(user, "<span class='danger'>You forcefully pry off the planks, destroying them in the process.</span>")
|
||||
to_chat(user, "<span class='notice'>You forcefully pry off the planks, destroying them in the process.</span>")
|
||||
return make_plating()
|
||||
|
||||
/turf/open/floor/wood/cold
|
||||
@@ -78,7 +83,7 @@
|
||||
if(istype(C, /obj/item/shovel) && params)
|
||||
new ore_type(src)
|
||||
new ore_type(src) //Make some sand if you shovel grass
|
||||
user.visible_message("<span class='notice'>[user] digs up [src].</span>", "<span class='notice'>You [src.turfverb] [src].</span>")
|
||||
user.visible_message("[user] digs up [src].", "<span class='notice'>You [src.turfverb] [src].</span>")
|
||||
playsound(src, 'sound/effects/shovel_dig.ogg', 50, 1)
|
||||
make_plating()
|
||||
if(..())
|
||||
@@ -143,6 +148,10 @@
|
||||
canSmoothWith = list(/turf/open/floor/carpet)
|
||||
flags_1 = NONE
|
||||
|
||||
/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>")
|
||||
|
||||
/turf/open/floor/carpet/Initialize()
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
var/can_modify_colour = TRUE
|
||||
|
||||
|
||||
/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>")
|
||||
|
||||
/turf/open/floor/light/Initialize()
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
broken_states = list("damaged1", "damaged2", "damaged3", "damaged4", "damaged5")
|
||||
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>")
|
||||
|
||||
/turf/open/floor/plasteel/update_icon()
|
||||
if(!..())
|
||||
return 0
|
||||
|
||||
@@ -12,6 +12,13 @@
|
||||
icon_state = "plating"
|
||||
intact = FALSE
|
||||
|
||||
/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>")
|
||||
return
|
||||
to_chat(user, "<span class='notice'>There are few attachment holes for a new <i>tile</i> or reinforcement <i>rods</i>.</span>")
|
||||
|
||||
/turf/open/floor/plating/Initialize()
|
||||
if (!broken_states)
|
||||
broken_states = list("platingdmg1", "platingdmg2", "platingdmg3")
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
|
||||
/turf/open/floor/engine
|
||||
name = "reinforced floor"
|
||||
desc = "Extremely sturdy."
|
||||
icon_state = "engine"
|
||||
thermal_conductivity = 0.025
|
||||
heat_capacity = INFINITY
|
||||
floor_tile = /obj/item/stack/rods
|
||||
|
||||
/turf/open/floor/engine/examine(mob/user)
|
||||
..()
|
||||
to_chat(user, "<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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user