diff --git a/code/modules/recycling/conveyor2.dm b/code/modules/recycling/conveyor2.dm index 8b02c160de13..6e921fa4f572 100644 --- a/code/modules/recycling/conveyor2.dm +++ b/code/modules/recycling/conveyor2.dm @@ -317,6 +317,17 @@ GLOBAL_LIST_EMPTY(conveyors_by_id) to_chat(user, "You detach the conveyor switch.") qdel(src) +/obj/machinery/conveyor_switch/wrench_act(mob/living/user, obj/item/I) + if(position) + to_chat(user, "\The [src] must be off before attempting to change it's direction!") + return FALSE + oneway = !oneway + I.play_tool_sound(src, 75) + user.visible_message("[user] sets \the [src] to [oneway ? "one-way" : "two-way"].", \ + "You set \the [src] to [oneway ? "one-way" : "two-way"].", \ + "You hear a ratchet.") + return TRUE + /obj/machinery/conveyor_switch/oneway icon_state = "conveyor_switch_oneway" desc = "A conveyor control switch. It appears to only go in one direction."