mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Unapologetic Grill Buffs (#11239)
This commit is contained in:
@@ -239,7 +239,8 @@
|
||||
icon_state = "grill_grate"
|
||||
appliancetype = GRILL
|
||||
insertable = list(
|
||||
/obj/item/reagent_containers/food/snacks/meat
|
||||
/obj/item/reagent_containers/food/snacks/meat,
|
||||
/obj/item/reagent_containers/food/snacks/xenomeat
|
||||
)
|
||||
|
||||
/obj/item/reagent_containers/cooking_container/grill_grate/can_fit()
|
||||
|
||||
@@ -21,6 +21,13 @@
|
||||
|
||||
cooking_coeff = 0.3 // cook it nice and slow
|
||||
|
||||
component_types = list(
|
||||
/obj/item/circuitboard/grill,
|
||||
/obj/item/stock_parts/capacitor = 2,
|
||||
/obj/item/stock_parts/micro_laser,
|
||||
/obj/item/stack/cable_coil = 5
|
||||
)
|
||||
|
||||
starts_with = list(
|
||||
/obj/item/reagent_containers/cooking_container/grill_grate
|
||||
)
|
||||
@@ -59,8 +66,10 @@
|
||||
var/obj/item/reagent_containers/cooking_container/grill_grate/G = CI.container
|
||||
if(G)
|
||||
add_overlay(image('icons/obj/cooking_machines.dmi', "grill"))
|
||||
var/contents_len = length(G.contents)
|
||||
if(!contents_len)
|
||||
return
|
||||
for(var/i = 1 to contents_len)
|
||||
add_overlay(image('icons/obj/cooking_machines.dmi', "meat[i]"))
|
||||
var/counter = 1
|
||||
for(var/thing in G.contents)
|
||||
if(istype(thing, /obj/item/reagent_containers/food/snacks/meat))
|
||||
add_overlay(image('icons/obj/cooking_machines.dmi', "meat[counter]"))
|
||||
else if(istype(thing, /obj/item/reagent_containers/food/snacks/xenomeat))
|
||||
add_overlay(image('icons/obj/cooking_machines.dmi', "xenomeat[counter]"))
|
||||
counter++
|
||||
@@ -70,6 +70,8 @@
|
||||
|
||||
/decl/recipe/proc/get_appliance_names()
|
||||
var/list/appliance_names
|
||||
if(appliance & GRILL) // this comes first in the proc because it's the most important - geeves
|
||||
LAZYADD(appliance_names, "a grill")
|
||||
if(appliance & MIX)
|
||||
LAZYADD(appliance_names, "a mixing bowl or plate")
|
||||
if(appliance & FRYER)
|
||||
|
||||
@@ -3,5 +3,27 @@
|
||||
items = list(
|
||||
/obj/item/reagent_containers/food/snacks/meat
|
||||
)
|
||||
reagents = list(/decl/reagent/sodiumchloride = 1, /decl/reagent/blackpepper = 1, /decl/reagent/spacespice = 1)
|
||||
reagents = list(/decl/reagent/sodiumchloride = 1, /decl/reagent/blackpepper = 1)
|
||||
result = /obj/item/reagent_containers/food/snacks/meatsteak/grilled
|
||||
|
||||
/decl/recipe/grilled_meat_spicy
|
||||
appliance = GRILL
|
||||
items = list(
|
||||
/obj/item/reagent_containers/food/snacks/meat
|
||||
)
|
||||
reagents = list(/decl/reagent/sodiumchloride = 1, /decl/reagent/blackpepper = 1, /decl/reagent/spacespice = 1)
|
||||
result = /obj/item/reagent_containers/food/snacks/meatsteak/grilled/spicy
|
||||
|
||||
/decl/recipe/grilled_xenomeat
|
||||
appliance = GRILL
|
||||
items = list(
|
||||
/obj/item/reagent_containers/food/snacks/xenomeat
|
||||
)
|
||||
result = /obj/item/reagent_containers/food/snacks/xenomeat/grilled
|
||||
|
||||
/decl/recipe/grilled_xenomeat/make_food(obj/container) // make sure we burn all the polyacid away
|
||||
. = ..()
|
||||
var/list/results = .
|
||||
for(var/thing in results)
|
||||
var/obj/item/XMG = thing
|
||||
XMG.reagents.del_reagent(/decl/reagent/acid/polyacid)
|
||||
Reference in New Issue
Block a user