Ensures there are Potatoes

This commit is contained in:
Fox-McCloud
2016-02-29 07:11:06 -05:00
parent 38075f4beb
commit 33f0d59d9d
2 changed files with 3 additions and 9 deletions
@@ -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"
@@ -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."