Skip to content

Commit

Permalink
Lower volume of MRE packages (#66319)
Browse files Browse the repository at this point in the history
* migrates MRE beverage bags into zipper bags
* fix mre package volume
makes sure full MREs drop sealed

Co-authored-by: Kevin Granade <[email protected]>
  • Loading branch information
azraneth and kevingranade authored Oct 9, 2023
1 parent d7bfc59 commit 114ad9f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 40 deletions.
22 changes: 11 additions & 11 deletions data/json/itemgroups/SUS/mre_packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@
{ "item": "spork" },
{
"distribution": [
{ "item": "instant_coffee", "count": 2, "container-item": "beverage_bag" },
{ "item": "herbal_tea_bag", "count": 2, "container-item": "beverage_bag" },
{ "item": "tea_bag", "count": 2, "container-item": "beverage_bag" },
{ "item": "tea_bag_chamomile", "count": 2, "container-item": "beverage_bag" },
{ "item": "tea_bag_dandelion", "count": 2, "container-item": "beverage_bag" },
{ "item": "tea_fruit_bag", "count": 2, "container-item": "beverage_bag" },
{ "item": "tea_green_bag", "count": 2, "container-item": "beverage_bag" }
{ "item": "instant_coffee", "count": 2, "container-item": "bag_zipper" },
{ "item": "herbal_tea_bag", "count": 2, "container-item": "bag_zipper" },
{ "item": "tea_bag", "count": 2, "container-item": "bag_zipper" },
{ "item": "tea_bag_chamomile", "count": 2, "container-item": "bag_zipper" },
{ "item": "tea_bag_dandelion", "count": 2, "container-item": "bag_zipper" },
{ "item": "tea_fruit_bag", "count": 2, "container-item": "bag_zipper" },
{ "item": "tea_green_bag", "count": 2, "container-item": "bag_zipper" }
]
}
]
Expand Down Expand Up @@ -168,15 +168,15 @@
"id": "pur_tablets_beverage_bag_6",
"subtype": "collection",
"//": "This group was created automatically and may contain errors.",
"container-item": "beverage_bag",
"container-item": "bag_zipper",
"entries": [ { "item": "pur_tablets", "count": 6 } ]
},
{
"type": "item_group",
"id": "sugar_beverage_bag_2",
"subtype": "collection",
"//": "This group was created automatically and may contain errors.",
"container-item": "beverage_bag",
"container-item": "bag_zipper",
"entries": [ { "item": "sugar", "container-item": "null", "count": 2 } ]
},
{
Expand All @@ -192,15 +192,15 @@
"id": "pur_tablets_beverage_bag_0_6",
"subtype": "collection",
"//": "This group was created automatically and may contain errors.",
"container-item": "beverage_bag",
"container-item": "bag_zipper",
"entries": [ { "item": "pur_tablets", "count": [ 0, 6 ] } ]
},
{
"type": "item_group",
"id": "sugar_beverage_bag_0_2",
"subtype": "collection",
"//": "This group was created automatically and may contain errors.",
"container-item": "beverage_bag",
"container-item": "bag_zipper",
"entries": [ { "item": "sugar", "container-item": "null", "count": [ 0, 2 ] } ]
},
{
Expand Down
30 changes: 1 addition & 29 deletions data/json/items/containers/containers.json
Original file line number Diff line number Diff line change
Expand Up @@ -3632,7 +3632,7 @@
"pocket_data": [
{
"pocket_type": "CONTAINER",
"max_contains_volume": "2263 ml",
"max_contains_volume": "1769 ml",
"max_contains_weight": "4 kg",
"airtight": true,
"moves": 50,
Expand Down Expand Up @@ -3699,34 +3699,6 @@
"symbol": ")",
"color": "light_gray"
},
{
"id": "beverage_bag",
"type": "GENERIC",
"category": "container",
"name": { "str": "plastic beverage bag" },
"description": "A transparent, watertight plastic bag meant for holding drinks.",
"looks_like": "bag_plastic",
"weight": "6 g",
"volume": "262 ml",
"price": 0,
"price_postapoc": 0,
"to_hit": 1,
"material": [ "plastic" ],
"symbol": ")",
"color": "white",
"pocket_data": [
{
"pocket_type": "CONTAINER",
"rigid": false,
"watertight": true,
"open_container": true,
"max_contains_volume": "250 ml",
"max_contains_weight": "1 kg",
"//": "sealed_data is here so the container can be sealed to avoid spilling",
"sealed_data": { "spoil_multiplier": 1.0 }
}
]
},
{
"id": "ipok",
"type": "GENERIC",
Expand Down
6 changes: 6 additions & 0 deletions data/json/obsoletion/migration_items.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,11 @@
"id": "burdock_stalk",
"type": "MIGRATION",
"replace": "plant_stalk"
},
{
"id": "beverage_bag",
"type": "MIGRATION",
"replace": "bag_zipper",
"sealed": false
}
]

0 comments on commit 114ad9f

Please sign in to comment.