mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Adds code for new cookies recipe
Adds in special cookies dough, flat cookie dough and the same dough cutted into circles, ready to bake
This commit is contained in:
@@ -129,6 +129,50 @@
|
||||
list_reagents = list("nutriment" = 1)
|
||||
|
||||
|
||||
///cookies by Ume
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/cookiedough
|
||||
name = "cookie dough"
|
||||
desc = "The base for tasty cookies."
|
||||
icon_state = "cookiedough"
|
||||
list_reagents = list("nutriment" = 5, "sugar" = 5)
|
||||
|
||||
// Dough + rolling pin = flat cookie dough
|
||||
/obj/item/reagent_containers/food/snacks/cookiedough/attackby(obj/item/I, mob/user, params)
|
||||
if(istype(I, /obj/item/kitchen/rollingpin))
|
||||
if(isturf(loc))
|
||||
new /obj/item/reagent_containers/food/snacks/cookiedough_flat(loc)
|
||||
to_chat(user, "<span class='notice'>You flatten [src].</span>")
|
||||
qdel(src)
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You need to put [src] on a surface to roll it out!</span>")
|
||||
else
|
||||
..()
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/cookiedough_flat
|
||||
name = "flat cookie dough"
|
||||
desc = "The base for tasty cookies."
|
||||
icon_state = "cookiedough_flat"
|
||||
list_reagents = list("nutriment" = 5, "sugar" = 5)
|
||||
|
||||
//Flat cookie dough + circular cutter = Raw cookies
|
||||
/obj/item/reagent_containers/food/snacks/cookiedough_flat/attackby(obj/item/I, mob/user, params)
|
||||
if(istype(I, /obj/item/kitchen/cutter))
|
||||
if(isturf(loc))
|
||||
new /obj/item/reagent_containers/food/snacks/rawcookies(loc)
|
||||
to_chat(user, "<span class='notice'>You cut [src] into cookies.</span>")
|
||||
qdel(src)
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You need to put [src] on a surface to cut it out!</span>")
|
||||
else
|
||||
..()
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/rawcookies
|
||||
name = "raw cookies"
|
||||
desc = "Ready for oven!"
|
||||
icon_state = "unbaked_cookies"
|
||||
list_reagents = list("nutriment" = 5, "sugar" = 5)
|
||||
|
||||
//////////////////////
|
||||
// Chocolate //
|
||||
//////////////////////
|
||||
|
||||
Reference in New Issue
Block a user