Carrots can be sharpened again, carrot shivs can be cut into wedges

This commit is contained in:
Jike
2017-03-04 23:13:04 -04:30
parent 7fc798b299
commit 07982121ec
+11 -1
View File
@@ -29,8 +29,18 @@
filling_color = "#FFA500"
bitesize_mod = 2
/obj/item/weapon/reagent_containers/food/snacks/grown/carrot/attackby(obj/item/I, mob/user, params)
if(is_sharp(I))
to_chat(user, "<span class='notice'>You sharpen the carrot into a shiv with [I].</span>")
var/obj/item/weapon/kitchen/knife/carrotshiv/Shiv = new /obj/item/weapon/kitchen/knife/carrotshiv
if(!remove_item_from_storage(user))
user.unEquip(src)
user.put_in_hands(Shiv)
qdel(src)
else
return ..()
/obj/item/weapon/reagent_containers/food/snacks/grown/carrot/attackby(obj/item/weapon/W, mob/user, params)
/obj/item/weapon/kitchen/knife/carrotshiv/attackby(obj/item/weapon/W, mob/user, params)
if(is_sharp(W))
to_chat(user, "<span class='notice'>You cut the carrot into wedges with [W].</span>")
var/obj/item/weapon/reagent_containers/food/snacks/grown/carrot/wedges/Wedges = new /obj/item/weapon/reagent_containers/food/snacks/grown/carrot/wedges