mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Makes carrot wedges available through the processor instead of cutting with a knife
This commit is contained in:
@@ -91,6 +91,10 @@
|
||||
input = /obj/item/weapon/reagent_containers/food/snacks/grown/parsnip
|
||||
output = /obj/item/weapon/reagent_containers/food/snacks/roastparsnip
|
||||
|
||||
/datum/food_processor_process/carrot
|
||||
input = /obj/item/weapon/reagent_containers/food/snacks/grown/carrot
|
||||
output = /obj/item/weapon/reagent_containers/food/snacks/grown/carrot/wedges
|
||||
|
||||
/////////////////////////
|
||||
///END OBJECT RECIPIES///
|
||||
/////////////////////////
|
||||
|
||||
@@ -40,17 +40,6 @@
|
||||
else
|
||||
return ..()
|
||||
|
||||
/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
|
||||
if(!remove_item_from_storage(user))
|
||||
user.unEquip(src)
|
||||
user.put_in_hands(Wedges)
|
||||
qdel(src)
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
// Parsnip
|
||||
/obj/item/seeds/carrot/parsnip
|
||||
|
||||
Reference in New Issue
Block a user