Skip to content

Commit

Permalink
Merge pull request #47020 from bombasticSlacks/egg-carton
Browse files Browse the repository at this point in the history
Egg carton
  • Loading branch information
Rivet-the-Zombie authored Jan 26, 2021
2 parents 6902525 + c1a6636 commit 2f36cd9
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@
[ "flour", 30 ],
[ "milk_powder", 30 ],
[ "powder_eggs", 10 ],
[ "egg_bird_unfert", 10 ],
{ "item": "egg_bird_unfert", "charges": 10, "container-item": "carton_egg" },
[ "cooking_oil", 20 ],
[ "irradiated_apple", 5 ],
[ "irradiated_banana", 5 ],
Expand Down
6 changes: 3 additions & 3 deletions data/json/itemgroups/SUS/fridges.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{ "item": "yoghurt", "prob": 80 },
{ "item": "butter", "prob": 80 },
{ "item": "pudding", "prob": 30 },
{ "item": "egg_bird_unfert", "prob": 85, "count-min": 1, "count-max": 12 },
{ "item": "egg_bird_unfert", "prob": 85, "charges-min": 1, "charges-max": 12, "container-item": "carton_egg" },
{ "item": "bacon", "prob": 25 },
{
"distribution": [ { "item": "lunchmeat", "prob": 60 }, { "item": "bologna", "prob": 40 }, { "item": "tofu", "prob": 30 } ],
Expand Down Expand Up @@ -312,7 +312,7 @@
{ "item": "yoghurt", "prob": 20 },
{ "item": "butter", "prob": 30 },
{ "item": "pudding", "prob": 10 },
{ "item": "egg_bird_unfert", "prob": 55, "count-min": 1, "count-max": 2 },
{ "item": "egg_bird_unfert", "prob": 55, "charges-min": 1, "charges-max": 2, "container-item": "carton_egg" },
{ "item": "bacon", "prob": 65 },
{
"distribution": [
Expand Down Expand Up @@ -623,7 +623,7 @@
{ "item": "yoghurt", "prob": 20 },
{ "item": "butter", "prob": 20 },
{ "item": "pudding", "prob": 20 },
{ "item": "egg_bird_unfert", "prob": 20, "count-min": 1, "count-max": 12 },
{ "item": "egg_bird_unfert", "prob": 20, "charges-min": 1, "charges-max": 12, "container-item": "carton_egg" },
{ "item": "bacon", "prob": 25 },
{
"distribution": [ { "item": "lunchmeat", "prob": 60 }, { "item": "bologna", "prob": 40 }, { "item": "tofu", "prob": 30 } ],
Expand Down
2 changes: 1 addition & 1 deletion data/json/itemgroups/collections_domestic.json
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@
"container-item": "jar_glass_sealed",
"sealed": false
},
{ "item": "egg_bird_unfert", "prob": 65, "count-min": 1, "count-max": 12 },
{ "item": "egg_bird_unfert", "prob": 65, "charges-min": 1, "charges-max": 12, "container-item": "carton_egg" },
{ "item": "yoghurt", "prob": 50 },
{ "item": "pudding", "prob": 60 },
{ "item": "veggy_salad", "prob": 25 },
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 @@ -845,7 +845,7 @@
"type": "item_group",
"subtype": "distribution",
"entries": [
{ "item": "egg_bird_unfert", "prob": 65, "count-min": 6, "count-max": 12 },
{ "item": "egg_bird_unfert", "prob": 65, "charges-min": 6, "charges-max": 12, "container-item": "carton_egg" },
{ "item": "milk", "prob": 80 },
{ "item": "milk_raw", "prob": 5 },
{ "item": "milk_raw", "prob": 5 },
Expand Down
26 changes: 26 additions & 0 deletions data/json/items/containers.json
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,32 @@
}
]
},
{
"id": "carton_egg",
"type": "GENERIC",
"category": "container",
"name": { "str": "egg carton" },
"looks_like": "box_small",
"description": "A cardboard container with 12 individual cavities for storing eggs.",
"weight": "28 g",
"volume": "620 ml",
"price": 0,
"price_postapoc": 0,
"to_hit": 1,
"material": [ "cardboard" ],
"symbol": ")",
"color": "brown",
"pocket_data": [
{
"pocket_type": "CONTAINER",
"rigid": true,
"watertight": false,
"max_contains_volume": "600 ml",
"max_contains_weight": "1 kg",
"max_item_length": "45 mm"
}
]
},
{
"id": "plastic_bag_vac",
"type": "GENERIC",
Expand Down

0 comments on commit 2f36cd9

Please sign in to comment.