mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Fixes screwdriver_act on bloodstained recycler (#21024)
* Fixes screwdriver_act on bloodstained recycler * Henri's review * Vi3trice's review * Sirryan's review
This commit is contained in:
@@ -64,8 +64,16 @@
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/recycler/screwdriver_act(mob/user, obj/item/I)
|
||||
if(default_deconstruction_screwdriver(user, "grinder-oOpen", "grinder-o0", I))
|
||||
return TRUE
|
||||
. = TRUE
|
||||
if(!I.use_tool(src, user, 0, volume = I.tool_volume))
|
||||
return
|
||||
panel_open = !panel_open
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
|
||||
/obj/machinery/recycler/update_overlays()
|
||||
. = ..()
|
||||
if(panel_open)
|
||||
. += "grinder-oOpen"
|
||||
|
||||
/obj/machinery/recycler/wrench_act(mob/user, obj/item/I)
|
||||
if(default_unfasten_wrench(user, I, time = 6 SECONDS))
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
Reference in New Issue
Block a user