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 16:00:54 +02:00
committed by GitHub
parent ddaef97c9e
commit e97a1c547d
26 changed files with 218 additions and 9 deletions
@@ -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