Adds "wrench_act" to the Deep Fryer and the Icecream machine (#17721)

Co-authored-by: Somniworld <pablo.capel4€@orange.fr>
This commit is contained in:
Somniworld
2022-05-03 13:28:02 +02:00
committed by GitHub
parent 747097d7c3
commit 4efd6f267d
2 changed files with 13 additions and 0 deletions
@@ -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)
@@ -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)