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
-1
View File
@@ -538,7 +538,6 @@
/obj/item/reagent_containers/food/condiment/batter = 1,
/obj/item/reagent_containers/food/condiment/syrup_simple = 1,
/obj/item/reagent_containers/food/condiment/vanilla = 1,
/obj/item/reagent_containers/food/condiment/rice = 1,
/obj/item/storage/box/fancy/food/sliced_bread = 1,
/obj/item/reagent_containers/food/condiment/cocoa = 1,
/obj/item/reagent_containers/food/condiment/cream_cheese = 1
+3 -2
View File
@@ -60,7 +60,8 @@
"pumpkin" = 0.1,
"onion" = 0.5,
"garlic" = 0.5,
"bellpepper" = 0.25
"bellpepper" = 0.25,
"cucumber" = 0.25
)
/obj/random_produce/box/adhomai
@@ -68,7 +69,7 @@
"nfrihi" = 1,
"dirtberries" = 1,
"earthenroot" = 1,
"sugar tree" = 1,
"sugartree" = 1,
"shand" = 1,
"mtear" = 1
)
@@ -57,6 +57,10 @@
new /obj/item/reagent_containers/food/drinks/carton/soymilk(src)
new /obj/item/reagent_containers/food/drinks/carton/cream(src)
new /obj/item/reagent_containers/food/condiment/soysauce(src)
new /obj/random/kitchen_staples(src)
for(var/i = 0 to 4)
new /obj/random/condiment(src)
new /obj/item/reagent_containers/food/snacks/spreads/butter(src)
/obj/structure/closet/secure_closet/refrigerator/station/alt
name = "refrigerator"
@@ -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
+62
View File
@@ -0,0 +1,62 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# - (fixes bugs)
# wip
# - (work in progress)
# qol
# - (quality of life)
# soundadd
# - (adds a sound)
# sounddel
# - (removes a sound)
# rscadd
# - (adds a feature)
# rscdel
# - (removes a feature)
# imageadd
# - (adds an image or sprite)
# imagedel
# - (removes an image or sprite)
# spellcheck
# - (fixes spelling or grammar)
# experiment
# - (experimental change)
# balance
# - (balance changes)
# code_imp
# - (misc internal code change)
# refactor
# - (refactors code)
# config
# - (makes a change to the config files)
# admin
# - (makes changes to administrator tools)
# server
# - (miscellaneous changes to server)
#################################
# Your name.
author: Tomixcomics
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit.
# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog.
changes:
- rscadd: "Added cucumbers."
- rscadd: "Re-added randomly chosen items spawning in the fridges at shift start like they did before the scarcity arc."
- rscadd: "Added a few cucumber dishes and one Adhomian cuisine dish."
- rscadd: "Made it so it's visible when your character is holding a kitchen tray."
- bugfix: "Fixed sugar tree fruit not showing up."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB