From 6d2807ff665224ca7e00ec6e0175ba3bb9be0b18 Mon Sep 17 00:00:00 2001 From: Tramziller Date: Mon, 23 Jun 2014 19:26:03 +0200 Subject: [PATCH] Added potassium to potatoes and phoshorus to Pumpkins I have added some potassium to potatoes and phosphorus to Pumpkins to give traitorous hydroponics some escape options (they can mix smoke with this + sugar). I have chosen those plants for realistic reasons: Pumpkins got a lot of phosphorus and potatoes a lot of potassium. --- code/modules/reagents/reagent_containers/food/snacks/grown.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/reagents/reagent_containers/food/snacks/grown.dm b/code/modules/reagents/reagent_containers/food/snacks/grown.dm index 7f4360d3a43..66a48a664c9 100644 --- a/code/modules/reagents/reagent_containers/food/snacks/grown.dm +++ b/code/modules/reagents/reagent_containers/food/snacks/grown.dm @@ -174,6 +174,8 @@ New() ..() reagents.add_reagent("nutriment", 1+round((potency / 10), 1)) + reagents.add_reagent("potassium", 1+round((potency / 10), 1)) + spawn(5) //So potency can be set in the proc that creates these crops bitesize = reagents.total_volume @@ -529,6 +531,7 @@ spawn(5) //So potency can be set in the proc that creates these crops reagents.add_reagent("nutriment", 1+round((potency / 6), 1)) bitesize = 1+round(reagents.total_volume / 2, 1) + reagents.add_reagent("phosphorus", 1+round((potency / 10), 1)) /obj/item/weapon/reagent_containers/food/snacks/grown/pumpkin/attackby(obj/item/weapon/W as obj, mob/user as mob)