Decrease food waste (Kitchens spawn with a few extra ingredients) (#18648)

* first commit

woo

* added changelog

* Update aurorastation.dme

* Update code/game/objects/random/misc.dm

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
Signed-off-by: tomixcomics <tomi.lifelesslosers@gmail.com>

* Update code/modules/reagents/reagent_containers/food/condiment.dm

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
Signed-off-by: tomixcomics <tomi.lifelesslosers@gmail.com>

* Update code/game/objects/random/misc.dm

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
Signed-off-by: tomixcomics <tomi.lifelesslosers@gmail.com>

* Update code/modules/reagents/reagent_containers/food/condiment.dm

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
Signed-off-by: tomixcomics <tomi.lifelesslosers@gmail.com>

---------

Signed-off-by: tomixcomics <tomi.lifelesslosers@gmail.com>
Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
This commit is contained in:
tomixcomics
2024-03-17 21:55:12 +00:00
committed by GitHub
co-authored by SleepyGemmy
parent d52ed47c0a
commit fddefa054e
14 changed files with 333 additions and 87 deletions
+49
View File
@@ -476,3 +476,52 @@
if(P in unwanted || ((P in rare) && prob(50)))
P = null
. = new P(loc)
/obj/random/syrup
name = "random syrup"
desc = "Contains random bottles of flavored syrup."
problist = list(
/obj/item/reagent_containers/food/condiment/syrup_chocolate = 2,
/obj/item/reagent_containers/food/condiment/syrup_strawberry = 1,
/obj/item/reagent_containers/food/condiment/syrup_berry = 0.5,
/obj/item/reagent_containers/food/condiment/syrup_raspberry = 0.3,
/obj/item/reagent_containers/food/condiment/syrup_blueberry = 0.3,
/obj/item/reagent_containers/food/condiment/syrup_blue_raspberry = 0.3,
/obj/item/reagent_containers/food/condiment/syrup_ylphaberry = 0.3,
/obj/item/reagent_containers/food/condiment/syrup_caramel = 0.5,
/obj/item/reagent_containers/food/condiment/syrup_pumpkin = 0.3,
/obj/item/reagent_containers/food/condiment/syrup_vanilla = 0.5,
/obj/item/reagent_containers/food/condiment/syrup_dirtberry = 0.3
)
/obj/random/condiment
name = "random condiments and sauces"
desc = "Contains random condiments for use in the kitchen."
spawn_nothing_percentage = 10
problist = list(
/obj/item/reagent_containers/food/condiment/ketchup = 2,
/obj/item/reagent_containers/food/condiment/mayonnaise = 1.8,
/obj/item/reagent_containers/food/condiment/hot_sauce = 1.5,
/obj/random/syrup = 1.5,
/obj/item/reagent_containers/food/condiment/honey = 1,
/obj/item/reagent_containers/food/condiment/soysauce = 1,
/obj/item/reagent_containers/food/condiment/garlicsauce = 1,
/obj/item/reagent_containers/food/condiment/barbecue = 1,
/obj/item/reagent_containers/food/condiment/ntella = 1,
/obj/item/reagent_containers/food/condiment/peanut_butter = 1,
/obj/item/reagent_containers/food/condiment/cherry_jelly = 1,
/obj/item/reagent_containers/food/condiment/grape_jelly = 0.5
)
/obj/random/kitchen_staples
name = "random kitchen staples"
desc = "Contains random ingredients that are handy in the kitchen"
spawn_nothing_percentage = 20
problist = list(
/obj/item/reagent_containers/food/condiment/gelatin = 1,
/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/reagent_containers/food/condiment/cocoa = 1
)