Skip to content

Commit

Permalink
Content: bread in a can (#45680)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaleth authored and ZhilkinSerg committed Jun 21, 2021
1 parent 0712e15 commit 3c00050
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 16 deletions.
2 changes: 2 additions & 0 deletions data/json/itemgroups/Food/food.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
{ "item": "apple_canned", "prob": 1 },
{ "item": "can_cheese", "prob": 1 },
{ "item": "fish_canned", "prob": 1 },
{ "item": "brown_bread", "prob": 1 },
{ "item": "can_spam", "prob": 1 },
{ "item": "can_sardine", "prob": 1 },
{ "item": "ravioli", "prob": 1 },
Expand Down Expand Up @@ -189,6 +190,7 @@
{ "item": "can_chowder", "prob": 35 },
{ "item": "can_herring", "prob": 30 },
{ "item": "can_chicken", "prob": 40 },
{ "item": "brown_bread", "prob": 20 },
{ "item": "broth", "prob": 15 },
{ "item": "crackers", "prob": 10 },
{ "item": "oyster_crackers", "prob": 10 },
Expand Down
2 changes: 1 addition & 1 deletion data/json/itemgroups/food_service.json
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@
"subtype": "distribution",
"entries": [
{ "item": "bread", "prob": 65 },
{ "item": "brown_bread", "prob": 50 },
{ "item": "brown_bread", "prob": 50, "container-item": "bag_plastic" },
{ "item": "cake2", "prob": 10 },
{ "item": "cake3", "prob": 10 },
{ "item": "cornbread", "prob": 35 },
Expand Down
10 changes: 5 additions & 5 deletions data/json/items/comestibles/bread.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,20 +290,20 @@
"weight": "45 g",
"color": "brown",
"spoils_in": "10 days",
"container": "bag_plastic",
"container": "can_medium",
"comestible_type": "FOOD",
"symbol": "%",
"healthy": 1,
"calories": 74,
"calories": 130,
"description": "A sweet bread, like cake.",
"price": "272 cent",
"price_postapoc": "4 USD",
"price_postapoc": "2 USD",
"material": [ "wheat" ],
"volume": "48 ml",
"volume": "480 ml",
"charges": 10,
"flags": [ "EATEN_HOT", "EATEN_COLD" ],
"fun": 3,
"vitamins": [ [ "calcium", 2 ], [ "iron", 6 ] ]
"vitamins": [ [ "calcium", 4 ], [ "iron", 4 ] ]
},
{
"type": "COMESTIBLE",
Expand Down
6 changes: 3 additions & 3 deletions data/json/items/comestibles/wheat.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@
"type": "COMESTIBLE",
"id": "bread_flour",
"name": { "str_sp": "bread flour" },
"weight": "13 g",
"weight": "60 g",
"color": "white",
"spoils_in": "360 days",
"container": "bag_paper_powder_small",
"container": "bag_paper_powder",
"comestible_type": "FOOD",
"symbol": "%",
"quench": -1,
Expand All @@ -159,7 +159,7 @@
"price": "200 cent",
"price_postapoc": "95 cent",
"material": [ "wheat", "powder" ],
"volume": "250 ml",
"volume": "2400 ml",
"flags": [ "EDIBLE_FROZEN", "RAW" ],
"charges": 20,
"vitamins": [ [ "iron", 4 ] ],
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/containers.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"flags": [ "TRADER_AVOID" ]
},
{
"id": "bag_paper_powder_small",
"id": "bag_paper_powder",
"type": "GENERIC",
"category": "container",
"name": { "str": "small powder paper bag" },
Expand All @@ -177,7 +177,7 @@
{
"pocket_type": "CONTAINER",
"watertight": false,
"max_contains_volume": "2 L",
"max_contains_volume": "2500 ml",
"max_contains_weight": "2 kg",
"moves": 200
}
Expand Down
11 changes: 6 additions & 5 deletions data/json/recipes/food/bread.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,18 @@
"skill_used": "cooking",
"difficulty": 3,
"charges": 10,
"time": "30 m",
"time": "1 h 30 m",
"batch_time_factors": [ 50, 5 ],
"autolearn": false,
"book_learn": [ [ "family_cookbook", 1 ], [ "baking_book", 2 ], [ "cookbook", 2 ], [ "cookbook_daintydishes", 2 ] ],
"qualities": [ { "id": "COOK", "level": 3 } ],
"tools": [ [ [ "surface_heat", 8, "LIST" ] ] ],
"components": [
[ [ "bread_flour", 1 ] ],
[ [ "flour", 1 ] ],
[ [ "cornmeal", 1 ] ],
[ [ "molasses", 1 ] ],
[ [ "water", 1 ] ],
[ [ "flour", 5 ] ],
[ [ "cornmeal", 5 ] ],
[ [ "molasses", 2 ] ],
[ [ "water", 1 ], [ "water_clean", 1 ] ],
[ [ "salt", 1 ] ]
],
"//": "Later: this needs baking soda. Also possibility of rewrite to use portions of components' charges."
Expand Down

0 comments on commit 3c00050

Please sign in to comment.