Merge pull request #4674 from Cyantime/potatotwo

Makes potatos cuttable into sticks again
This commit is contained in:
Anewbe
2018-01-30 03:17:53 -06:00
committed by GitHub
@@ -3494,9 +3494,9 @@
..()
// potato + knife = raw sticks
/obj/item/weapon/reagent_containers/food/snacks/grown/potato/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(istype(W,/obj/item/weapon/material/knife))
new /obj/item/weapon/reagent_containers/food/snacks/rawsticks(src)
/obj/item/weapon/reagent_containers/food/snacks/grown/attackby(obj/item/weapon/W, mob/user)
if(seed && seed.kitchen_tag && seed.kitchen_tag == "potato" && istype(W,/obj/item/weapon/material/knife))
new /obj/item/weapon/reagent_containers/food/snacks/rawsticks(get_turf(src))
user << "You cut the potato."
qdel(src)
else