Adds a bunch of buildable wood stuff, resprites planks (#28528)

* New wooden furniture

* Bonfire repath

* Wood retexture

* Wood Resprite

* Fixes

* Description fix

* Fixes

* Undo match changes

* Undo match icon changes

* Typepath script

* rackable spears

* bounding box adjustment

* Spear Rack

* Memorial tweaks

* Apply suggestions from code review

Co-authored-by: Toastical <vnndvp@gmail.com>
Signed-off-by: ExusA <67055922+ExusA@users.noreply.github.com>

* More memorial tweaks

---------

Signed-off-by: ExusA <67055922+ExusA@users.noreply.github.com>
Co-authored-by: Toastical <toastical@toaster.com>
Co-authored-by: Toastical <vnndvp@gmail.com>
This commit is contained in:
ExusA
2025-03-16 18:02:40 +00:00
committed by GitHub
co-authored by Toastical Toastical
parent 0ff8eec5ff
commit a1ff715bf1
26 changed files with 314 additions and 117 deletions
@@ -6,13 +6,79 @@
*/
/obj/structure/signpost
name = "signpost"
icon = 'icons/obj/stationobjs.dmi'
icon_state = "signpost"
anchored = TRUE
density = TRUE
density = FALSE
new_attack_chain = TRUE
var/writing = ""
/obj/structure/signpost/Initialize(mapload)
. = ..()
update()
/obj/structure/signpost/deconstruct()
new /obj/item/stack/sheet/wood (get_turf(src), 2)
qdel(src)
..()
/obj/structure/signpost/wrench_act(mob/user, obj/item/I)
. = TRUE
if(!I.use_tool(src, user, 0, volume = I.tool_volume))
return
deconstruct()
/obj/structure/signpost/item_interaction(mob/living/user, obj/item/used, list/modifiers)
if(istype(used, /obj/item/pen))
rename(user)
return ITEM_INTERACT_COMPLETE
return ..()
/obj/structure/signpost/proc/rename(mob/user)
var/n_name = rename_interactive(user)
if(n_name)
writing = n_name
update()
add_fingerprint(user)
/obj/structure/signpost/proc/update()
if(writing)
overlays += "[initial(icon_state)]_writing"
desc = "It says: '[writing]'."
else
overlays.Cut()
desc = "It says... nothing."
/obj/structure/signpost/ruin
name = "Salvation"
writing = "This way home"
/obj/structure/signpost/wood
name = "wooden sign"
desc = "A small wooden marker."
icon = 'icons/obj/objects.dmi'
icon_state = "signpost_wood"
var/scarf = FALSE
max_integrity = 100
/obj/structure/signpost/wood/AltClick(mob/living/user)
if(!scarf)
scarf = TRUE
to_chat(user, "<span class='notice'>You tie a memorial wreath around the sign.</span>")
else
scarf = FALSE
to_chat(user, "<span class='notice'>You untie the memorial wreath from the sign.</span>")
update()
/obj/structure/signpost/wood/update()
..()
if(scarf)
icon_state = "signpost_wood_scarf"
else
icon_state = "signpost_wood"
/obj/structure/ninjatele
name = "Long-Distance Teleportation Console"
desc = "A console used to send a Spider Clan operative long distances rapidly."
icon = 'icons/obj/ninjaobjects.dmi'