Skip to content

Commit

Permalink
Change food recipes in minor ways to improve utelization of ingredien…
Browse files Browse the repository at this point in the history
…ts (#37604)

* Add boiled fiddleheads to any_veggy

Fiddleheads should be more well integrated into the game. I've added them to any_veggy and removed the ability to boil fiddleheads in broth to avoid recursion errors

* Update cooking_components.json

Added a requirement list including cooking oils and butter, because many recipes should work fine with any of them

* Added new list to pancakes recipe for testing

So I can test the "any_butter_or_oil" requirement I swapped out the cooking oils for it

* cooking_oil1 isn't a thing >__<

* lint

* Tests Past. Cake recipe time

I ran a simple test, seeing if I could craft pancakes with butter. Worked fine.

I'm gonna edit recipe_food.json next. Tests to follow

* Added new cooking component: fry_oil

For when you want the food to absorb some of the fat it's being deep fried in. Potato chips and French fries both use fry_oil, which contains cooking_oil, cooking_oil2, and ghee. All tested. Works properly for me

* Update recipe_food.json

Changed a bunch of recipes to use any_butter_or_oil. Tested each one. Seems to work fine

* Fixed syntax error

* Many minor changes to recipes

I made fried liver and fried tripe use fry_oil
Canged some pan frying oils to any_butter_or_oil
Added boiled and sauteed fiddleheads to salad recipe
Added salsify_baked to any_veggie

* Took dandelion_cooked out of recipe because it's already in veggy_any

* Update tile_config.json

* Trying to pass tests

* Update veggy_dishes.json

Co-authored-by: I-am-Erk <[email protected]>
  • Loading branch information
ashGlaw and I-am-Erk authored Feb 12, 2020
1 parent ab75d68 commit 36d1aa4
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 47 deletions.
2 changes: 1 addition & 1 deletion data/json/items/comestibles/veggy_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@
"spoils_in": "2 days 12 hours",
"comestible_type": "FOOD",
"symbol": "%",
"calories": 35,
"calories": 18,
"description": "Boiled fiddleheads. Not bad, but would be better sauteed in butter.",
"price": 80,
"material": "veggy",
Expand Down
5 changes: 3 additions & 2 deletions data/json/recipes/food/offal_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"tools": [ [ [ "surface_heat", 25, "LIST" ] ] ],
"components": [
[ [ "liver", 3 ] ],
[ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ] ],
[ [ "fry_oil", 1, "LIST" ] ],
[ [ "milk_standard_raw", 1, "LIST" ], [ "con_milk", 1 ], [ "can_coconut", 1 ] ],
[ [ "batter", 4, "LIST" ] ],
[ [ "salt", 1 ] ],
Expand Down Expand Up @@ -166,7 +166,8 @@
"difficulty": 3,
"qualities": [ { "id": "CUT", "level": 1 }, { "id": "COOK", "level": 3 } ],
"tools": [ [ [ "surface_heat", 10, "LIST" ] ] ],
"components": [ [ [ "stewed_tripe", 1 ] ], [ [ "batter", 3, "LIST" ] ], [ [ "cooking_oil", 4 ], [ "cooking_oil2", 4 ] ] ]
"//": "No frying_oil as a tool, so this must be pan fried, not deep fried",
"components": [ [ [ "stewed_tripe", 1 ] ], [ [ "batter", 3, "LIST" ] ], [ [ "fry_oil", 1, "LIST" ] ] ]
},
{
"type": "recipe",
Expand Down
67 changes: 26 additions & 41 deletions data/json/recipes/recipe_food.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
[ [ "salt", 12 ] ],
[ [ "sugar", 24 ] ],
[ [ "chocolate", 3 ] ],
[ [ "cooking_oil", 2 ], [ "cooking_oil2", 2 ], [ "any_butter", 2, "LIST" ] ],
[ [ "any_butter_or_oil", 2, "LIST" ] ],
[ [ "powder_eggs", 2 ], [ "eggs_bird", 2, "LIST" ], [ "egg_reptile", 2 ] ],
[ [ "water", 6 ], [ "water_clean", 6 ] ]
]
Expand Down Expand Up @@ -384,7 +384,7 @@
"autolearn": true,
"qualities": [ { "id": "CONTAIN", "level": 1 } ],
"components": [
[ [ "cooking_oil", 2 ], [ "cooking_oil2", 2 ] ],
[ [ "any_butter_or_oil", 2, "LIST" ] ],
[ [ "powder_eggs", 1 ], [ "eggs_bird", 1, "LIST" ], [ "egg_reptile", 1 ] ],
[
[ "lemon", 1 ],
Expand Down Expand Up @@ -1080,7 +1080,7 @@
"components": [
[ [ "potato", 1 ], [ "irradiated_potato", 1 ] ],
[ [ "salt", 2 ], [ "seasoning_salt", 2 ] ],
[ [ "cooking_oil", 2 ], [ "cooking_oil2", 2 ] ]
[ [ "fry_oil", 2, "LIST" ] ]
]
},
{
Expand Down Expand Up @@ -1170,7 +1170,7 @@
"components": [
[ [ "potato", 1 ], [ "irradiated_potato", 1 ] ],
[ [ "salt", 2 ], [ "seasoning_salt", 2 ] ],
[ [ "cooking_oil", 4 ], [ "cooking_oil2", 4 ] ]
[ [ "fry_oil", 4, "LIST" ] ]
]
},
{
Expand Down Expand Up @@ -2068,7 +2068,7 @@
"components": [
[ [ "flour", 8 ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ],
[ [ "cooking_oil", 4 ], [ "cooking_oil2", 4 ] ],
[ [ "any_butter_or_oil", 4, "LIST" ] ],
[ [ "sugar", 10 ], [ "honey_bottled", 1 ], [ "honey_glassed", 1 ], [ "syrup", 1 ] ],
[ [ "powder_eggs", 1 ], [ "eggs_bird", 1, "LIST" ], [ "egg_reptile", 1 ] ]
]
Expand All @@ -2082,7 +2082,7 @@
"components": [
[ [ "flour", 8 ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ],
[ [ "cooking_oil", 4 ], [ "cooking_oil2", 4 ] ],
[ [ "any_butter_or_oil", 4, "LIST" ] ],
[ [ "sugar", 10 ], [ "honey_bottled", 1 ], [ "honey_glassed", 1 ], [ "syrup", 1 ] ],
[ [ "powder_eggs", 1 ], [ "eggs_bird", 1, "LIST" ], [ "egg_reptile", 1 ] ],
[ [ "weed", 5 ] ]
Expand All @@ -2097,7 +2097,7 @@
"components": [
[ [ "flour", 6 ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ],
[ [ "cooking_oil", 4 ], [ "cooking_oil2", 4 ] ],
[ [ "any_butter_or_oil", 4, "LIST" ] ],
[ [ "sugar", 10 ], [ "honey_bottled", 1 ], [ "honey_glassed", 1 ], [ "syrup", 1 ] ],
[ [ "chocolate", 1 ] ],
[ [ "powder_eggs", 1 ], [ "eggs_bird", 1, "LIST" ], [ "egg_reptile", 1 ] ]
Expand All @@ -2112,7 +2112,7 @@
"components": [
[ [ "flour", 6 ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ],
[ [ "cooking_oil", 4 ], [ "cooking_oil2", 4 ] ],
[ [ "any_butter_or_oil", 4, "LIST" ] ],
[ [ "sugar", 10 ], [ "honey_bottled", 1 ], [ "honey_glassed", 1 ], [ "syrup", 1 ] ],
[ [ "chocolate", 1 ] ],
[ [ "powder_eggs", 1 ], [ "eggs_bird", 1, "LIST" ], [ "egg_reptile", 1 ] ],
Expand Down Expand Up @@ -2199,7 +2199,7 @@
[ "honey_glassed", 2 ]
],
[ [ "meat_raw_steak", 1, "LIST" ] ],
[ [ "cooking_oil", 8 ], [ "cooking_oil2", 8 ], [ "edible_tallow_lard", 1, "LIST" ] ],
[ [ "any_butter_or_oil", 8, "LIST" ] ],
[ [ "veggy_any", 1, "LIST" ] ],
[ [ "salt", 1 ], [ "soysauce", 1 ], [ "seasoning_salt", 1 ], [ "pepper", 1 ] ]
]
Expand Down Expand Up @@ -2310,7 +2310,7 @@
"components": [
[ [ "flour", 20 ] ],
[ [ "milk_standard_raw", 1, "LIST" ] ],
[ [ "cooking_oil", 4 ], [ "cooking_oil2", 4 ] ],
[ [ "any_butter_or_oil", 4, "LIST" ] ],
[ [ "salt", 1 ], [ "seasoning_salt", 1 ] ]
]
},
Expand All @@ -2329,7 +2329,7 @@
"components": [
[ [ "cornmeal", 15 ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ],
[ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ] ],
[ [ "any_butter_or_oil", 1, "LIST" ] ],
[ [ "salt", 1 ], [ "seasoning_salt", 1 ] ]
]
},
Expand Down Expand Up @@ -2477,7 +2477,7 @@
[ "eggs_bird", 2, "LIST" ],
[ "egg_reptile", 2 ]
],
[ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ] ]
[ [ "any_butter_or_oil", 1, "LIST" ] ]
]
},
{
Expand All @@ -2504,7 +2504,7 @@
"autolearn": true,
"qualities": [ { "id": "COOK", "level": 2 }, { "id": "CUT", "level": 1 } ],
"tools": [ [ [ "surface_heat", 2, "LIST" ] ] ],
"components": [ [ [ "rice_cooked", 1 ] ], [ [ "veggy_any", 1, "LIST" ] ], [ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ] ] ]
"components": [ [ [ "rice_cooked", 1 ] ], [ [ "veggy_any", 1, "LIST" ] ], [ [ "any_butter_or_oil", 1, "LIST" ] ] ]
},
{
"type": "recipe",
Expand Down Expand Up @@ -3067,7 +3067,7 @@
[ [ "milk_standard_raw", 1, "LIST" ], [ "milk_powder", 1 ] ],
[ [ "powder_eggs", 1 ], [ "eggs_bird", 1, "LIST" ], [ "egg_reptile", 1 ] ],
[ [ "syrup", 1 ] ],
[ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ] ],
[ [ "any_butter_or_oil", 1, "LIST" ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ]
]
},
Expand All @@ -3087,7 +3087,7 @@
[ [ "milk_standard_raw", 1, "LIST" ], [ "milk_powder", 1 ] ],
[ [ "powder_eggs", 1 ], [ "eggs_bird", 1, "LIST" ], [ "egg_reptile", 1 ] ],
[ [ "syrup", 1 ] ],
[ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ] ],
[ [ "any_butter_or_oil", 1, "LIST" ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ],
[ [ "sweet_fruit_like", 1, "LIST" ], [ "jam_fruit", 1 ] ]
]
Expand All @@ -3108,7 +3108,7 @@
[ [ "milk_standard_raw", 1, "LIST" ], [ "milk_powder", 1 ] ],
[ [ "powder_eggs", 5 ], [ "eggs_bird", 1, "LIST" ], [ "egg_reptile", 1 ] ],
[ [ "syrup", 1 ] ],
[ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ] ],
[ [ "any_butter_or_oil", 1, "LIST" ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ],
[ [ "chocolate", 1 ], [ "choc_drink", 2 ] ]
]
Expand Down Expand Up @@ -3155,7 +3155,7 @@
[ [ "powder_eggs", 1 ], [ "eggs_bird", 1, "LIST" ], [ "egg_reptile", 1 ] ],
[ [ "syrup", 1 ] ],
[ [ "sugar", 2 ] ],
[ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ] ],
[ [ "any_butter_or_oil", 1, "LIST" ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ]
]
},
Expand All @@ -3175,7 +3175,7 @@
[ [ "powder_eggs", 1 ], [ "eggs_bird", 1, "LIST" ], [ "egg_reptile", 1 ] ],
[ [ "syrup", 1 ] ],
[ [ "sugar", 2 ] ],
[ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ] ],
[ [ "any_butter_or_oil", 1, "LIST" ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ],
[ [ "sweet_fruit_like", 1, "LIST" ], [ "jam_fruit", 1 ] ]
]
Expand Down Expand Up @@ -3365,11 +3365,7 @@
"autolearn": true,
"qualities": [ { "id": "COOK", "level": 2 } ],
"tools": [ [ [ "surface_heat", 6, "LIST" ] ] ],
"components": [
[ [ "flour", 30 ] ],
[ [ "veggy_any", 8, "LIST" ], [ "dandelion_cooked", 8 ], [ "wild_herbs", 40 ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ]
]
"components": [ [ [ "flour", 30 ] ], [ [ "veggy_any", 8, "LIST" ], [ "wild_herbs", 40 ] ], [ [ "water", 1 ], [ "water_clean", 1 ] ] ]
},
{
"type": "recipe",
Expand Down Expand Up @@ -4759,11 +4755,7 @@
"batch_time_factors": [ 67, 5 ],
"qualities": [ { "id": "COOK", "level": 1 } ],
"tools": [ [ [ "surface_heat", 7, "LIST" ] ] ],
"components": [
[ [ "sauerkraut", 1 ] ],
[ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ] ],
[ [ "irradiated_onion", 1 ], [ "onion", 1 ] ]
]
"components": [ [ [ "sauerkraut", 1 ] ], [ [ "any_butter_or_oil", 1, "LIST" ] ], [ [ "irradiated_onion", 1 ], [ "onion", 1 ] ] ]
},
{
"type": "recipe",
Expand Down Expand Up @@ -4882,12 +4874,7 @@
[ [ "milk_standard_raw", 1, "LIST" ], [ "milk_powder", 1 ] ],
[ [ "powder_eggs", 2 ], [ "eggs_bird", 2, "LIST" ], [ "egg_reptile", 2 ] ],
[ [ "sugar", 2 ] ],
[
[ "cooking_oil", 8 ],
[ "cooking_oil2", 8 ],
[ "edible_tallow_lard", 1, "LIST" ],
[ "any_butter", 1, "LIST" ]
],
[ [ "any_butter_or_oil", 8, "LIST" ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ]
]
},
Expand All @@ -4909,6 +4896,8 @@
[ "irradiated_broccoli", 2 ],
[ "dandelion_cooked", 2 ],
[ "veggy_wild_cooked", 2 ],
[ "fiddlehead_boiled", 2 ],
[ "fiddlehead_sauteed", 2 ],
[ "sauerkraut", 2 ],
[ "irradiated_cabbage", 2 ],
[ "cabbage", 2 ]
Expand Down Expand Up @@ -6309,7 +6298,7 @@
"qualities": [ { "id": "BOIL", "level": 1 } ],
"tools": [ [ [ "water_boiling_heat", 2, "LIST" ] ] ],
"batch_time_factors": [ 80, 2 ],
"components": [ [ [ "fiddlehead_raw", 1 ] ], [ [ "water", 1 ], [ "water_clean", 1 ], [ "broth", 1 ], [ "broth_bone", 1 ] ] ]
"components": [ [ [ "fiddlehead_raw", 1 ] ], [ [ "water", 1 ], [ "water_clean", 1 ] ] ]
},
{
"type": "recipe",
Expand All @@ -6326,11 +6315,7 @@
"//": "The batch time adj. is because they need to be boiled before you can safely eat them, even if you pan-fry them.",
"qualities": [ { "id": "COOK", "level": 2 }, { "id": "BOIL", "level": 1 } ],
"tools": [ [ [ "surface_heat", 7, "LIST" ] ] ],
"components": [
[ [ "fiddlehead_raw", 2 ] ],
[ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ], [ "any_butter", 1, "LIST" ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ]
]
"components": [ [ [ "fiddlehead_raw", 2 ] ], [ [ "any_butter_or_oil", 1, "LIST" ] ], [ [ "water", 1 ], [ "water_clean", 1 ] ] ]
},
{
"type": "recipe",
Expand All @@ -6345,6 +6330,6 @@
"autolearn": true,
"qualities": [ { "id": "COOK", "level": 2 } ],
"tools": [ [ [ "surface_heat", 7, "LIST" ] ] ],
"components": [ [ [ "fiddlehead_boiled", 2 ] ], [ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ], [ "any_butter", 1, "LIST" ] ] ]
"components": [ [ [ "fiddlehead_boiled", 2 ] ], [ [ "any_butter_or_oil", 1, "LIST" ] ] ]
}
]
24 changes: 22 additions & 2 deletions data/json/requirements/cooking_components.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@
[ "dry_rice", 1 ],
[ "can_beans", 1 ],
[ "beans_cooked", 1 ],
[ "dandelion_cooked", 1 ],
[ "mushroom", 1 ],
[ "dry_mushroom", 1 ],
[ "mushroom_cooked", 1 ],
Expand Down Expand Up @@ -394,6 +393,18 @@
"//": "Any type of edible rendered fat.",
"components": [ [ [ "edible_tallow", 1, "LIST" ], [ "edible_lard", 1, "LIST" ] ] ]
},
{
"id": "any_butter_or_oil",
"type": "requirement",
"//": "For when a recipe calls for either cooking oil or butter, like many baking recipes do.",
"components": [ [ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ], [ "raw_butter", 1 ], [ "butter", 1 ], [ "ghee", 1 ] ] ]
},
{
"id": "fry_oil",
"type": "requirement",
"//": "For when a recipe calls for deep frying, and the food absorbs some oil. Clarafied butter or ghee can be used to deep fry, but butter's smoke point is too low without clarification",
"components": [ [ [ "cooking_oil", 1 ], [ "cooking_oil2", 1 ], [ "ghee", 1 ] ] ]
},
{
"id": "seasoning_mild",
"type": "requirement",
Expand Down Expand Up @@ -574,7 +585,16 @@
{
"id": "veggy_any",
"type": "requirement",
"components": [ [ [ "dandelion_cooked", 1 ], [ "veggy_any_uncooked", 1, "LIST" ], [ "veggy_canned", 1 ], [ "veggy_salted", 1 ] ] ]
"components": [
[
[ "fiddlehead_boiled", 1 ],
[ "dandelion_cooked", 1 ],
[ "salsify_baked", 1 ],
[ "veggy_any_uncooked", 1, "LIST" ],
[ "veggy_canned", 1 ],
[ "veggy_salted", 1 ]
]
]
},
{
"id": "mushroom_soup_ingredients",
Expand Down
2 changes: 1 addition & 1 deletion data/json/requirements/cooking_tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"id": "frying_oil",
"type": "requirement",
"//": "Oil usable for frying. Note: the oil is reusable.",
"tools": [ [ [ "cooking_oil", -1 ], [ "cooking_oil2", -1 ] ] ]
"tools": [ [ [ "cooking_oil", -1 ], [ "cooking_oil2", -1 ], [ "ghee", -1 ] ] ]
},
{
"id": "water_boiling_heat",
Expand Down

0 comments on commit 36d1aa4

Please sign in to comment.