Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Makes wooden fences need a crowbar to deconstruct #2906

Merged
merged 2 commits into from
Apr 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion modular_nova/modules/primitive_structures/code/fencing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,16 @@
update_appearance()

// formerly NO_DECONSTRUCTION
/obj/structure/railing/wirecutter_act(mob/living/user, obj/item/I)
/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

// Fence gates for the above mentioned fences

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