Food buffs for the food buffs (#21731)

-Adds cucumbers as produce
-Adds a few new food dishes (mostly cucumber based and 1 Adhomian dish)
-Returns the randomly generated ingredients spawning in the fridge at
the start of shifts such as condiments, syrups, etc. to spawn in like
they did before the scarcity arc.
-Adds handheld icons to kitchen trays
-Fixed sugar-tree fruit not showing up properly
This commit is contained in:
tomixcomics
2026-01-26 14:00:54 +00:00
committed by GitHub
parent ddaef97c9e
commit e97a1c547d
26 changed files with 218 additions and 9 deletions
@@ -150,6 +150,16 @@
result = /obj/item/reagent_containers/food/snacks/adhomian_porridge
reagent_mix = RECIPE_REAGENT_REPLACE //Simplify end product
/singleton/recipe/zharkir
appliance = POT | SAUCEPAN
fruit = list("mtear" = 1, "earthenroot" = 1)
items = list(
/obj/item/reagent_containers/food/snacks/dip/sarmikhir
)
finished_temperature = T0C + 200
reagent_mix = RECIPE_REAGENT_REPLACE
result = /obj/item/reagent_containers/food/snacks/soup/zharkir
// Tajaran cakes
/singleton/recipe/conecake
appliance = OVEN
@@ -462,6 +462,13 @@
)
result = /obj/item/reagent_containers/food/snacks/blt
/singleton/recipe/cucumber_sandwich
fruit = list("cucumber" = 1)
items = list(
/obj/item/reagent_containers/food/snacks/breadslice,
/obj/item/reagent_containers/food/snacks/breadslice
)
result = /obj/item/reagent_containers/food/snacks/cucumber_sandwich
//pita (these are all under bread for icon reasons)
/singleton/recipe/pita
@@ -102,6 +102,13 @@
reagent_mix = RECIPE_REAGENT_REPLACE //So we don't end up with a ton of potato juice
result = /obj/item/reagent_containers/food/snacks/fries_olympia
/singleton/recipe/fried_pickles
appliance = FRYER
items = list(
/obj/item/reagent_containers/food/snacks/sliced_pickle
)
result = /obj/item/reagent_containers/food/snacks/fried_pickles
//Fishy Recipes
//==================
/singleton/recipe/fishandchips
@@ -25,3 +25,10 @@
reagents = list(/singleton/reagent/nutriment/coating/batter = 5)
result = /obj/item/reagent_containers/food/snacks/plaincrepe
reagent_mix = RECIPE_REAGENT_REPLACE
/singleton/recipe/pickle
appliance = MIX
fruit = list("cucumber" = 1)
reagents = list(/singleton/reagent/enzyme = 5)
result = /obj/item/reagent_containers/food/snacks/pickle
reagent_mix = RECIPE_REAGENT_REPLACE
@@ -125,3 +125,8 @@
result = /obj/item/reagent_containers/food/snacks/salad/jungle_salad
reagent_mix = RECIPE_REAGENT_REPLACE //Simplify end product
/singleton/recipe/tossed_salad
fruit = list("cabbage" = 1, "tomato" = 1, "cucumber" = 1)
reagents = list(/singleton/reagent/sodiumchloride = 1)
result = /obj/item/reagent_containers/food/snacks/salad/tossed_salad
reagent_mix = RECIPE_REAGENT_REPLACE //Simplify end product
+2 -2
View File
@@ -104,13 +104,13 @@
/singleton/recipe/gazpacho
appliance = MIX
reagents = list(/singleton/reagent/water = 10, /singleton/reagent/sodiumchloride = 1, /singleton/reagent/blackpepper = 1)
fruit = list("tomato" = 1, "bellpepper" = 1) //if cucumbers are added to the game please add them to this recipe
fruit = list("tomato" = 1, "bellpepper" = 1, "cucumber" = 1)
reagent_mix = RECIPE_REAGENT_REPLACE
result = /obj/item/reagent_containers/food/snacks/soup/gazpacho
/singleton/recipe/pumpkin_soup
appliance = SAUCEPAN | POT | MICROWAVE
fruit = list("pumpkin" = 1) //if cucumbers are added to the game please add them to this recipe
fruit = list("pumpkin" = 1)
reagents = list(/singleton/reagent/water = 5, /singleton/reagent/drink/milk/cream = 5)
reagent_mix = RECIPE_REAGENT_REPLACE
result = /obj/item/reagent_containers/food/snacks/soup/pumpkin
+2
View File
@@ -9,6 +9,8 @@
name = "tray"
icon = 'icons/obj/kitchen.dmi'
icon_state = "tray"
item_state = "tray"
contained_sprite = TRUE
desc = "A metal tray to lay food on."
throwforce = 12.0
force = 15
@@ -138,7 +138,7 @@
seed_type = "nfrihi"
/datum/seed/sugartree
name = "sugar tree"
name = "sugartree"
seed_name = "sugar tree"
display_name = "sugar trees"
product_desc = "The fruit of the Sugar Tree, native to Adhomai. It is sweet and commonly used in candies."
@@ -154,13 +154,13 @@
SET_SEED_TRAIT(src, TRAIT_MATURATION, 9)
SET_SEED_TRAIT(src, TRAIT_PRODUCTION, 5)
SET_SEED_TRAIT(src, TRAIT_YIELD, 2)
SET_SEED_TRAIT(src, TRAIT_PRODUCT_ICON, "nmshaan")
SET_SEED_TRAIT(src, TRAIT_PRODUCT_ICON, "sugartree")
SET_SEED_TRAIT(src, TRAIT_PRODUCT_COLOUR, "#fffdf7")
SET_SEED_TRAIT(src, TRAIT_PLANT_COLOUR, "#31331c")
SET_SEED_TRAIT(src, TRAIT_PLANT_ICON, "nmshaan")
SET_SEED_TRAIT(src, TRAIT_PLANT_ICON, "sugartree")
SET_SEED_TRAIT(src, TRAIT_IDEAL_HEAT, IDEAL_HEAT_ADHOMAI)
SET_SEED_TRAIT(src, TRAIT_WATER_CONSUMPTION, 4)
SET_SEED_TRAIT(src, TRAIT_IDEAL_LIGHT, IDEAL_LIGHT_DIM)
/obj/item/seeds/sugartree
seed_type = "sugar tree"
seed_type = "sugartree"
@@ -280,3 +280,31 @@
/obj/item/seeds/cabbageseed
seed_type = "cabbage"
///////////////
// Cucumber //
///////////////
/datum/seed/cucumber
name = "cucumber"
seed_name = "cucumber"
display_name = "cucumber plant"
chems = list(/singleton/reagent/nutriment = list(1,10), /singleton/reagent/water = list(3,10))
kitchen_tag = "cucumber"
/datum/seed/cucumber/setup_traits()
..()
SET_SEED_TRAIT(src, TRAIT_HARVEST_REPEAT, 1)
SET_SEED_TRAIT(src, TRAIT_MATURATION, 8)
SET_SEED_TRAIT(src, TRAIT_PRODUCTION, 6)
SET_SEED_TRAIT(src, TRAIT_YIELD, 3)
SET_SEED_TRAIT(src, TRAIT_POTENCY, 10)
SET_SEED_TRAIT(src, TRAIT_PRODUCT_ICON, "cucumber")
SET_SEED_TRAIT(src, TRAIT_PRODUCT_COLOUR, "#2c9b44")
SET_SEED_TRAIT(src, TRAIT_PLANT_COLOUR, "#3d803b")
SET_SEED_TRAIT(src, TRAIT_PLANT_ICON, "vine")
SET_SEED_TRAIT(src, TRAIT_WATER_CONSUMPTION, 6)
SET_SEED_TRAIT(src, TRAIT_NUTRIENT_CONSUMPTION, 0.25)
/obj/item/seeds/cucumberseed
seed_type = "cucumber"
x
@@ -627,6 +627,15 @@
reagent_data = list(/singleton/reagent/nutriment = list("bread" = 4))
bitesize = 2
/obj/item/reagent_containers/food/snacks/cucumber_sandwich
name = "cucumber sandwich"
desc = "Slices of cucumber between two buttered pieces of white bread witht he crust cut off. A light and delightful little finger food to have alongside your tea."
icon = 'icons/obj/item/reagent_containers/food/bread.dmi'
icon_state = "cucumbersandwich"
filling_color = "#97df68"
reagents_to_add = list(/singleton/reagent/nutriment = 5)
reagent_data = list(/singleton/reagent/nutriment = list("bread" = 4, "cucumber" = 4, "some kind of spread" = 2))
bitesize = 2
//pita (these are all kept under 'bread' for icon and code simplification reasons. Plus, this way people don't have to chase these down all over the various categories they would otherwise belong in.)
/obj/item/reagent_containers/food/snacks/pita
@@ -190,6 +190,31 @@
reagent_data = list(/singleton/reagent/nutriment = list("oatmeal" = 3))
bitesize = 2
/obj/item/reagent_containers/food/snacks/soup/zharkir
name = "zharkir"
item_state = "zharkir"
desc = "A thick, hot, creamy dish, not unlike a chowder (and known as 'adhomian chowder' in some cultures). It is made with sarmikhir, earthenroot and various adhomian herbs, balancing sweet and savory, and served in a traditional dish - a tall bowl with grooves on the side just big enough for tajaran hands to hold it up to their mouths and warm themselves on a cold Adhomian evening."
icon = 'icons/obj/item/reagent_containers/food/cultural/tajara.dmi'
icon_state = "zharkir"
is_liquid = TRUE
contained_sprite = TRUE
trash = /obj/item/trash/snack_bowl
center_of_mass = list("x"=15, "y"=9)
reagents_to_add = list(/singleton/reagent/drink/milk/adhomai = 5, /singleton/reagent/nutriment = 8)
reagent_data = list(/singleton/reagent/nutriment = list("sweet potato chowder" = 3))
bitesize = 2
/obj/item/reagent_containers/food/snacks/soup/zharkir/update_icon()
var/expected_initial_reagent_volume
for(var/k in src.reagents_to_add)
expected_initial_reagent_volume += reagents_to_add[k]
var/percent_zharkir = round((reagents.total_volume / expected_initial_reagent_volume) * 100)
switch(percent_zharkir)
if(0 to 80)
icon_state = "zharkir_half"
if(81 to INFINITY)
icon_state = "zharkir"
// Tajaran ingredients
/obj/item/mollusc/clam/rasval
name = "ras'val clam"
@@ -445,3 +445,15 @@
bitesize = 3
reagents_to_add = list(/singleton/reagent/nutriment = 4, /singleton/reagent/nutriment/triglyceride/oil = 1.2, /singleton/reagent/capsaicin = 2)
reagent_data = list(/singleton/reagent/nutriment = list("crispy potato" = 5), /singleton/reagent/capsaicin = list("paprika" = 5))
/obj/item/reagent_containers/food/snacks/fried_pickles
name = "fried pickles"
gender = PLURAL
desc = "Add some crunching to your munching."
icon = 'icons/obj/item/reagent_containers/food/fryer.dmi'
icon_state = "fried_pickles"
filling_color = "#cfda70"
bitesize = 1
trash = /obj/item/trash/bowl_small
reagents_to_add = list(/singleton/reagent/nutriment = 1)
reagent_data = list(/singleton/reagent/nutriment = list("crunch" = 5))
@@ -273,3 +273,22 @@
center_of_mass = list("x"=16, "y"=16)
reagents_to_add = list(/singleton/reagent/nutriment = 1)
filling_color = "#caa178"
/obj/item/reagent_containers/food/snacks/pickle
name = "pickle"
desc = "This thing is a pretty big dill."
icon = 'icons/obj/item/reagent_containers/food/ingredients.dmi'
icon_state = "pickle"
filling_color = "#6f861c"
reagents_to_add = list(/singleton/reagent/nutriment = 3)
reagent_data = list(/singleton/reagent/nutriment = list("pickle" = 4))
bitesize = 1
slice_path = /obj/item/reagent_containers/food/snacks/sliced_pickle
slices_num = 1
/obj/item/reagent_containers/food/snacks/sliced_pickle
name = "bowl of sliced pickles"
desc = "A little green side dish, or just something to mindlessly snack on."
icon = 'icons/obj/item/reagent_containers/food/ingredients.dmi'
icon_state = "pickle_sliced"
trash = /obj/item/trash/bowl_small
@@ -178,3 +178,15 @@
reagents_to_add = list(/singleton/reagent/nutriment = 8)
reagent_data = list(/singleton/reagent/nutriment = list("salad" = 2, "tomato" = 2, "bulgur" = 2, "greens" = 2))
bitesize = 3
/obj/item/reagent_containers/food/snacks/salad/tossed_salad
name = "tossed salad"
desc = "Got some veggies? Got some dressing? Toss them all in here, call it a salad. Bam, done."
icon = 'icons/obj/item/reagent_containers/food/mix.dmi'
icon_state = "tossedsalad"
trash = /obj/item/trash/snack_bowl
filling_color = "#4a9953"
center_of_mass = list("x"=17, "y"=11)
reagents_to_add = list(/singleton/reagent/nutriment = 7, /singleton/reagent/drink/tomatojuice = 2)
reagent_data = list(/singleton/reagent/nutriment = list("lettuce" = 3, "tomato" = 3, "cucumber" = 2, "vinigrette" = 2))
bitesize = 2