Skip to content

Commit

Permalink
Makes wooden fences need a crowbar to deconstruct (#1998)
Browse files Browse the repository at this point in the history
* Makes wooden fences need a crowbar to deconstruct

* Update fencing.dm
  • Loading branch information
vinylspiders authored and StealsThePRs committed Apr 16, 2024
1 parent e6d4484 commit 4654237
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions modular_nova/modules/primitive_structures/code/fencing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,24 @@
)
update_appearance()

<<<<<<< HEAD

Check failure on line 24 in modular_nova/modules/primitive_structures/code/fencing.dm

View workflow job for this annotation

GitHub Actions / Run Linters

got '<<', expected one of: newline, '/', identifier
=======
/obj/structure/railing/wooden_fencing/atom_deconstruct(disassembled)
var/obj/plank = new /obj/item/stack/sheet/mineral/wood(drop_location(), 5)
transfer_fingerprints_to(plank)

// formerly NO_DECONSTRUCTION
/obj/structure/railing/wirecutter_act(mob/living/user, obj/item/tool)
return NONE

/obj/structure/railing/crowbar_act(mob/living/user, obj/item/tool)
. = ..()
to_chat(user, span_warning("You pry apart the railing."))
tool.play_tool_sound(src, 100)
deconstruct()
return TRUE

>>>>>>> 49326b6e529 (Makes wooden fences need a crowbar to deconstruct (#1998))
// Fence gates for the above mentioned fences

/obj/structure/railing/wooden_fencing/gate
Expand Down

0 comments on commit 4654237

Please sign in to comment.