Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milleable corn #46254

Merged
merged 31 commits into from
Feb 18, 2021
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
12e610c
Corn meal milling
Zukulini Dec 22, 2020
678d21f
Linting
Zukulini Dec 22, 2020
9ef99df
Update raw_veggy.json
Zukulini Dec 22, 2020
4718775
Update data/json/items/comestibles/raw_veggy.json
Zukulini Dec 23, 2020
c99c68a
Update data/json/items/comestibles/raw_veggy.json
Zukulini Dec 23, 2020
1406c6c
Update data/json/items/comestibles/veggy_dishes.json
Zukulini Dec 23, 2020
482f85d
Update data/json/items/comestibles/veggy_dishes.json
Zukulini Dec 23, 2020
123b304
Corrected corn density, added empty corn cob as a byorudct for corn k…
Zukulini Dec 23, 2020
767ccb2
Merge branch 'Corn-Branch' of https://github.com/Zukulini/Cataclysm-D…
Zukulini Dec 23, 2020
3fa52ea
Added irradiated corn kernels and empty cob
Zukulini Dec 23, 2020
69b7c0d
Update cooking_components.json
Zukulini Dec 23, 2020
1a2c40c
Update cooking_components.json
Zukulini Dec 23, 2020
7e988bc
Moved the irradiated corn products closer to the irradiated corn, and…
Zukulini Dec 23, 2020
5fb7b67
Update irradiated_veggy.json
Zukulini Dec 23, 2020
98d1bd5
Revert "Update irradiated_veggy.json"
Zukulini Dec 25, 2020
93e980b
Revert "Moved the irradiated corn products closer to the irradiated c…
Zukulini Dec 25, 2020
ba4f61d
Revert "Added irradiated corn kernels and empty cob"
Zukulini Dec 25, 2020
5e1663f
Moved the empty cob from comestibles to misc, and changed the rehydra…
Zukulini Dec 25, 2020
56d30a5
removing comestible traits from corncobs... and regretting so
Zukulini Dec 25, 2020
fceb34d
moving it back to comestibles
Zukulini Dec 25, 2020
9e56737
moving it back to comestibles
Zukulini Dec 25, 2020
dae13c7
Update raw_veggy.json
Zukulini Dec 25, 2020
91fad61
Update recipe_food.json
Zukulini Dec 26, 2020
0c3a0a2
Update cooking_components.json
Zukulini Dec 26, 2020
1bc7557
Update cooking_components.json
Zukulini Dec 26, 2020
eed1388
I'm going to regret this
Zukulini Dec 26, 2020
44c259d
uuugghhhhhhh
Zukulini Dec 26, 2020
fa742b3
Update dry.json
Zukulini Dec 28, 2020
1aa9828
Update recipe_food.json
Zukulini Dec 28, 2020
8b274bc
Update data/json/items/comestibles/veggy_dishes.json
Zukulini Jan 17, 2021
5a2374f
Update data/json/items/comestibles/veggy_dishes.json
Zukulini Jan 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions data/json/itemgroups/Food/food.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
{ "item": "dry_meat", "prob": 10 },
{ "item": "dry_fish", "prob": 10 },
{ "item": "dry_veggy", "prob": 10 },
{ "item": "dry_corn", "prob": 1 },
{ "item": "dry_fruit", "prob": 10 },
{ "item": "oatmeal", "prob": 40 },
{ "item": "fruit_leather", "prob": 15 },
Expand Down Expand Up @@ -212,6 +213,7 @@
{ "item": "dry_meat", "prob": 10 },
{ "item": "dry_fish", "prob": 10 },
{ "item": "dry_veggy", "prob": 10 },
{ "item": "dry_corn", "prob": 1 },
{ "item": "dry_fruit", "prob": 10 },
{ "item": "oatmeal", "prob": 40 },
{ "item": "toastem", "prob": 30 },
Expand Down
45 changes: 41 additions & 4 deletions data/json/items/comestibles/raw_veggy.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,24 +209,61 @@
{
"type": "COMESTIBLE",
"id": "corn",
"name": { "str_sp": "corn" },
"weight": "153 g",
"name": { "str": "corn cob" },
"weight": "690 g",
"color": "light_green",
"spoils_in": "5 days",
"comestible_type": "FOOD",
"symbol": "%",
"healthy": 1,
"calories": 132,
"description": "Delicious golden kernels.",
"description": "A corn cob full of delicious golden kernels. You can eat them on the cob or shell it for cooking.",
"price": 170,
"//": "Thinking this is a single ear here.",
"price_postapoc": 50,
"material": [ "veggy" ],
"volume": "750 ml",
"flags": [ "EATEN_HOT", "RAW" ],
"vitamins": [ [ "vitA", 2 ], [ "vitC", 12 ], [ "iron", 4 ] ],
"use_action": { "type": "transform", "target": "empty_corn_cob", "moves": 500 }
},
{
"type": "COMESTIBLE",
"id": "corn_kernels",
"name": { "str_sp": "corn kernels" },
"weight": "210 g",
"color": "yellow",
"spoils_in": "5 days",
"comestible_type": "FOOD",
"symbol": "%",
"healthy": 1,
"calories": 132,
"description": "Delicious golden kernels.",
"price": 200,
"price_postapoc": 60,
"material": [ "veggy" ],
"volume": "285 ml",
"flags": [ "EATEN_HOT", "SMOKABLE", "RAW" ],
"smoking_result": "dry_veggy",
"smoking_result": "dry_corn",
"vitamins": [ [ "vitA", 2 ], [ "vitC", 12 ], [ "iron", 4 ] ]
},
{
"type": "COMESTIBLE",
"id": "empty_corn_cob",
"name": { "str_sp": "empty corn cob" },
"weight": "480 g",
"color": "yellow",
"spoils_in": "5 days",
"comestible_type": "FOOD",
Zukulini marked this conversation as resolved.
Show resolved Hide resolved
"symbol": "%",
"healthy": 1,
"description": "An empty corn cob. It may seem useless, but it can be used to make stock, a delicious jelly, or as fuel.",
"price": 1,
"price_postapoc": 1,
"material": [ "veggy" ],
"volume": "465 ml",
"flags": [ "RAW" ]
},
{
"type": "COMESTIBLE",
"id": "cotton_boll",
Expand Down
42 changes: 40 additions & 2 deletions data/json/items/comestibles/veggy_dishes.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
"type": "COMESTIBLE",
"id": "cornmeal",
"name": { "str_sp": "cornmeal" },
"weight": "19 g",
"weight": "20 g",
"color": "yellow",
"spoils_in": "360 days",
"container": "box_small",
Expand All @@ -241,7 +241,7 @@
"material": [ "veggy", "powder" ],
"volume": "250 ml",
"flags": [ "EDIBLE_FROZEN" ],
"charges": 10,
"charges": 7,
"fun": -5
},
{
Expand Down Expand Up @@ -643,6 +643,27 @@
"flags": [ "EDIBLE_FROZEN" ],
"charges": 2
},
{
"type": "COMESTIBLE",
"id": "dry_corn",
"name": "dehydrated corn kernels",
Zukulini marked this conversation as resolved.
Show resolved Hide resolved
"weight": "180 g",
"color": "yellow",
"comestible_type": "FOOD",
"symbol": "%",
"quench": -10,
"healthy": 1,
"calories": 132,
"description": "A handful of dried corn kernels.",
"price": 60,
"price_postapoc": 50,
"material": [ "veggy" ],
"milling": { "into": "cornmeal", "conversion_rate": 3 },
"volume": "255 ml",
"flags": [ "EDIBLE_FROZEN", "RAW" ],
"vitamins": [ [ "vitA", 2 ], [ "vitC", 12 ], [ "iron", 4 ] ],
"fun": -10
},
{
"type": "COMESTIBLE",
"id": "rehydrated_veggy",
Expand All @@ -656,6 +677,23 @@
"delete": { "flags": [ "RAW" ] },
"fun": 2
},
{
"type": "COMESTIBLE",
"id": "rehydrated_corn",
"name": "rehydrated corn kernels",
Zukulini marked this conversation as resolved.
Show resolved Hide resolved
"copy-from": "veggy",
Zukulini marked this conversation as resolved.
Show resolved Hide resolved
"weight": "70 g",
"color": "yellow",
"spoils_in": "1 day",
"description": "Reconstituted corn kernels; much more enjoyable to eat now that they have been rehydrated.",
"price": 900,
"price_postapoc": 50,
"smoking_result": "dry_corn",
"volume": "95 ml",
"delete": { "flags": [ "RAW" ] },
"vitamins": [ [ "vitA", 2 ], [ "vitC", 12 ], [ "iron", 4 ] ],
"fun": 2
},
{
"type": "COMESTIBLE",
"id": "veggy_salad",
Expand Down
31 changes: 31 additions & 0 deletions data/json/recipes/food/dry.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,37 @@
[ [ "veggy_any_fresh_uncooked", 1, "LIST" ], [ "dandelion_cooked", 1 ], [ "burdock_cooked", 1 ], [ "wild_herbs", 40 ] ]
]
},
{
"type": "recipe",
"activity_level": "NO_EXERCISE",
"result": "dry_corn",
"charges": 1,
"category": "CC_FOOD",
"subcategory": "CSC_FOOD_DRY",
"skill_used": "cooking",
"difficulty": 2,
"time": "18 m",
"autolearn": true,
"batch_time_factors": [ 67, 5 ],
"tools": [ [ [ "dehydrator", 25 ], [ "char_smoker", 25 ] ] ],
"components": [ [ [ "corn", 1 ], [ "irradiated_corn", 1 ] ] ]
},
{
"type": "recipe",
"activity_level": "NO_EXERCISE",
"result": "dry_corn",
"charges": 1,
"category": "CC_FOOD",
"id_suffix": "frozen_ingredients",
"subcategory": "CSC_FOOD_DRY",
"skill_used": "cooking",
"difficulty": 2,
"time": "20 m",
"autolearn": true,
"batch_time_factors": [ 67, 5 ],
"tools": [ [ [ "dehydrator", 25 ], [ "char_smoker", 25 ] ], [ [ "surface_heat", 5, "LIST" ] ] ],
"components": [ [ [ "corn", 1 ], [ "irradiated_corn", 1 ] ] ]
},
{
"result": "dry_veggy_tainted",
"charges": 1,
Expand Down
2 changes: 2 additions & 0 deletions data/json/recipes/food/pasta.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@
[ "veggy", 2 ],
[ "veggy_wild", 2 ],
[ "rehydrated_veggy", 2 ],
[ "rehydrated_corn", 2 ],
[ "dry_veggy", 2 ],
[ "dry_corn", 2 ],
[ "mushroom", 2 ],
[ "mushroom_cooked", 2 ],
[ "morel_cooked", 2 ],
Expand Down
3 changes: 1 addition & 2 deletions data/json/recipes/other/other.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
[ "fish", 1 ],
[ "dry_meat", 1 ],
[ "dry_fish", 1 ],
[ "corn", 1 ],
[ "irradiated_corn", 1 ],
Zukulini marked this conversation as resolved.
Show resolved Hide resolved
[ "corn_kernels", 1 ],
[ "irradiated_carrot", 1 ],
[ "carrot", 1 ],
[ "bread", 1 ],
Expand Down
Loading