mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Fixes rotating the crystallizer (#95988)
## About The Pull Request broken by #95408 ## Why It's Good For The Game ## Changelog 🆑 fix: The crystallizer can be rotated once again, on left click /🆑
This commit is contained in:
@@ -55,12 +55,15 @@
|
||||
if(TOOL_SCREWDRIVER)
|
||||
context[SCREENTIP_CONTEXT_LMB] = "[panel_open ? "Close" : "Open"] panel"
|
||||
if(TOOL_WRENCH)
|
||||
context[SCREENTIP_CONTEXT_RMB] = "Rotate"
|
||||
context[SCREENTIP_CONTEXT_LMB] = "Rotate"
|
||||
return CONTEXTUAL_SCREENTIP_SET
|
||||
|
||||
/obj/machinery/atmospherics/components/binary/crystallizer/screwdriver_act(mob/living/user, obj/item/tool)
|
||||
return on ? NONE : default_deconstruction_screwdriver(user, tool)
|
||||
|
||||
/obj/machinery/atmospherics/components/binary/crystallizer/wrench_act(mob/living/user, obj/item/tool)
|
||||
return default_change_direction_wrench(user, tool)
|
||||
|
||||
/obj/machinery/atmospherics/components/binary/crystallizer/crowbar_act(mob/living/user, obj/item/tool)
|
||||
return crowbar_deconstruction_act(user, tool, internal.return_pressure())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user