From 4efd6f267dedf21320d3002bb1701a02e20a3882 Mon Sep 17 00:00:00 2001 From: Somniworld <43934154+Somniworld@users.noreply.github.com> Date: Tue, 3 May 2022 13:28:02 +0200 Subject: [PATCH] Adds "wrench_act" to the Deep Fryer and the Icecream machine (#17721) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Somniworld --- .../food_and_drinks/kitchen_machinery/deep_fryer.dm | 6 ++++++ .../food_and_drinks/kitchen_machinery/icecream_vat.dm | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm b/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm index a293a7b3e34..0cb4bb092c0 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm @@ -140,3 +140,9 @@ return FALSE var/obj/item/organ/external/E = I return istype(E.dna.species, /datum/species/vox) + +/obj/machinery/cooker/deepfryer/wrench_act(mob/user, obj/item/I) + . = TRUE + if(!I.tool_use_check(user, 0)) + return + default_unfasten_wrench(user, I, 30) diff --git a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm index 0e9ecbaa7e4..d561c39d355 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm @@ -256,3 +256,10 @@ if(!(flags & NODECONSTRUCT)) new /obj/item/stack/sheet/metal(loc, 4) qdel(src) + +/obj/machinery/icemachine/wrench_act(mob/user, obj/item/I) + . = TRUE + if(!I.tool_use_check(user, 0)) + return + default_unfasten_wrench(user, I, 30) +