From 046a8ffd5a687d83eccf50e840eb8f405010b286 Mon Sep 17 00:00:00 2001 From: Dip Date: Fri, 25 Sep 2020 00:32:40 -0300 Subject: [PATCH] Soil returns construction amount --- code/modules/hydroponics/hydroponics.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/hydroponics/hydroponics.dm b/code/modules/hydroponics/hydroponics.dm index 119defad..6a02254d 100644 --- a/code/modules/hydroponics/hydroponics.dm +++ b/code/modules/hydroponics/hydroponics.dm @@ -931,6 +931,8 @@ use_power = NO_POWER_USE flags_1 = NODECONSTRUCT_1 unwrenchable = FALSE + var/buildstacktype = /obj/item/stack/sheet/mineral/sandstone + var/buildstackamount = 3 /obj/machinery/hydroponics/soil/update_icon_hoses() return // Has no hoses @@ -941,6 +943,7 @@ /obj/machinery/hydroponics/soil/attackby(obj/item/O, mob/user, params) if(istype(O, /obj/item/shovel) && !istype(O, /obj/item/shovel/spade)) //Doesn't include spades because of uprooting plants to_chat(user, "You clear up [src]!") + new buildstacktype(loc,buildstackamount) qdel(src) else return ..()