From 33f0d59d9dd773329ae5c54629ac8be5a4e4bb88 Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Mon, 29 Feb 2016 07:11:06 -0500 Subject: [PATCH] Ensures there are Potatoes --- code/modules/hydroponics/grown_predefined.dm | 3 +++ code/modules/reagents/reagent_containers/food/snacks.dm | 9 --------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/code/modules/hydroponics/grown_predefined.dm b/code/modules/hydroponics/grown_predefined.dm index 44c9c3a1943..9e522ef29f2 100644 --- a/code/modules/hydroponics/grown_predefined.dm +++ b/code/modules/hydroponics/grown_predefined.dm @@ -6,6 +6,9 @@ /obj/item/weapon/reagent_containers/food/snacks/grown/ambrosiavulgaris plantname = "ambrosia" +/obj/item/weapon/reagent_containers/food/snacks/grown/potato + plantname = "potato" + /obj/item/weapon/reagent_containers/food/snacks/grown/tomato plantname = "tomato" diff --git a/code/modules/reagents/reagent_containers/food/snacks.dm b/code/modules/reagents/reagent_containers/food/snacks.dm index afda5ed237f..89d4817328f 100644 --- a/code/modules/reagents/reagent_containers/food/snacks.dm +++ b/code/modules/reagents/reagent_containers/food/snacks.dm @@ -3350,15 +3350,6 @@ ..() reagents.add_reagent("nutriment", 3) -// potato + knife = raw sticks -/obj/item/weapon/reagent_containers/food/snacks/grown/potato/attackby(obj/item/weapon/W as obj, mob/user as mob, params) - if(istype(W,/obj/item/weapon/kitchen/knife)) - new /obj/item/weapon/reagent_containers/food/snacks/rawsticks(src) - user << "You cut the potato." - qdel(src) - else - ..() - /obj/item/weapon/reagent_containers/food/snacks/rawsticks name = "raw potato sticks" desc = "Raw fries, not very tasty."