mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Carrots can be sharpened again, carrot shivs can be cut into wedges
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user