mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
7c703fc712
## About The Pull Request ~~I have some beef with the cooking system.~~ Cooking recipes are coded in a way that disregard the possibility for their components to have different foodtype flags than the ones you would find normally find. For example, if I wanted to make corned beef, but instead of a standard steak, I used a killer tomato "steak", the result would still have the meat food type, even if none of the components has it. I've had to resort to a few hacky lines of code to manipulate the food types from the edible component, but that can be easily fixed if #89687 is merged. ## Why It's Good For The Game This also makes cooking recipes less strict about their food types and can help us spot inconsistencies with recipes. ## Changelog 🆑 qol: Food types are now passed down when cooking from recipes. For example, a plate of corned "beef" made from giant killer tomato slabs no longer counts as meat but only vegetables now. fix: Fixed a metric ton of inconsistencies with food types and recipes. fix: Dank-pockets (the weed variant) can now be microwaved. /🆑
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
// Eggplant
|
|
/obj/item/seeds/eggplant
|
|
name = "eggplant seed pack"
|
|
desc = "These seeds grow to produce berries that look nothing like eggs."
|
|
icon_state = "seed-eggplant"
|
|
species = "eggplant"
|
|
plantname = "Eggplants"
|
|
product = /obj/item/food/grown/eggplant
|
|
yield = 2
|
|
potency = 20
|
|
growing_icon = 'icons/obj/service/hydroponics/growing_vegetables.dmi'
|
|
icon_grow = "eggplant-grow"
|
|
icon_dead = "eggplant-dead"
|
|
genes = list(/datum/plant_gene/trait/repeated_harvest)
|
|
mutatelist = list(/obj/item/seeds/eggplant/eggy)
|
|
reagents_add = list(/datum/reagent/consumable/nutriment/vitamin = 0.04, /datum/reagent/consumable/nutriment = 0.1)
|
|
|
|
/obj/item/food/grown/eggplant
|
|
seed = /obj/item/seeds/eggplant
|
|
name = "eggplant"
|
|
desc = "Maybe there's a chicken inside?"
|
|
icon_state = "eggplant"
|
|
foodtypes = VEGETABLES
|
|
wine_power = 20
|
|
|
|
// Egg-Plant
|
|
/obj/item/seeds/eggplant/eggy
|
|
name = "egg-plant seed pack"
|
|
desc = "These seeds grow to produce berries that look a lot like eggs."
|
|
icon_state = "seed-eggy"
|
|
species = "eggy"
|
|
plantname = "Egg-Plants"
|
|
product = /obj/item/food/grown/eggy
|
|
lifespan = 75
|
|
production = 12
|
|
mutatelist = null
|
|
reagents_add = list(/datum/reagent/consumable/nutriment = 0.1)
|
|
|
|
/obj/item/food/grown/eggy
|
|
seed = /obj/item/seeds/eggplant/eggy
|
|
name = "egg-plant"
|
|
desc = "There MUST be a chicken inside."
|
|
icon_state = "eggyplant"
|
|
trash_type = /obj/item/food/egg
|
|
foodtypes = MEAT
|
|
distill_reagent = /datum/reagent/consumable/ethanol/eggnog
|