Skip to content

Commit

Permalink
Set up release for pre-nested-containers.
Browse files Browse the repository at this point in the history
This should set it up to be compatible with the build right before
nested containers were introduced.
  • Loading branch information
chaosvolt committed Jun 11, 2020
1 parent 7db6d68 commit 32d1077
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 80 deletions.
20 changes: 9 additions & 11 deletions MST_Extra/items/armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"covers": [ "TORSO" ],
"coverage": 30,
"encumbrance": 12,
"pocket_data": [ { "pocket_type": "CONTAINER", "max_contains_volume": "8 L", "max_contains_weight": "16 kg", "moves": 300 } ],
"storage": "8 L",
"material_thickness": 2,
"flags": [ "BELTED", "WATER_FRIENDLY" ]
},
Expand All @@ -52,16 +52,14 @@
"covers": [ "LEG_EITHER" ],
"coverage": 7,
"material_thickness": 1,
"pocket_data": [
{
"holster": true,
"max_contains_volume": "750 ml",
"max_contains_weight": "2 kg",
"moves": 3,
"flag_restriction": [ "SHEATH_KNIFE" ]
}
],
"use_action": { "type": "holster", "holster_prompt": "Sheath knife", "holster_msg": "You sheath your %s" },
"use_action": {
"type": "holster",
"holster_prompt": "Sheath knife",
"holster_msg": "You sheath your %s",
"max_volume": "750 ml",
"draw_cost": 3,
"flags": [ "SHEATH_KNIFE" ]
},
"flags": [ "WAIST", "OVERSIZE", "WATER_FRIENDLY" ]
},
{
Expand Down
59 changes: 16 additions & 43 deletions MST_Extra/items/containers.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[
{
"id": "canteen_birchbark",
"type": "GENERIC",
"category": "container",
"type": "CONTAINER",
"category": "other",
"name": "birchbark canteen",
"description": "A small container make from pieces of birchbark stitched together, sealed with pitch or similar material. Holds 1.5 liters and has a simple carry strap.",
"weight": "853 g",
Expand All @@ -13,22 +13,16 @@
"material": "wood",
"symbol": ")",
"color": "light_gray",
"pocket_data": [
{
"pocket_type": "CONTAINER",
"watertight": true,
"rigid": true,
"max_contains_volume": "1500 ml",
"max_contains_weight": "3 kg"
}
],
"contains": "1500 ml",
"seals": true,
"watertight": true,
"armor_data": { "covers": [ "LEG_EITHER" ], "coverage": 5, "encumbrance": 5, "material_thickness": 1 },
"flags": [ "WAIST" ]
},
{
"id": "jar_clay",
"type": "GENERIC",
"category": "container",
"type": "CONTAINER",
"category": "other",
"name": "clay jar",
"description": "A half-liter clay jar, glazed for waterproofing with a tight-fitting wooden stopper.",
"weight": "150 g",
Expand All @@ -37,37 +31,23 @@
"material": "clay",
"symbol": ")",
"color": "brown",
"pocket_data": [
{
"pocket_type": "CONTAINER",
"watertight": true,
"rigid": true,
"max_contains_volume": "500 ml",
"max_contains_weight": "1 kg"
}
],
"contains": "500 ml",
"seals": true,
"watertight": true,
"unseals_into": "null",
"qualities": [ [ "CONTAIN", 1 ], [ "BOIL", 1 ] ]
},
{
"id": "jar_clay_sealed",
"copy-from": "jar_clay",
"type": "GENERIC",
"category": "container",
"type": "CONTAINER",
"category": "other",
"name": "sealed clay jar",
"description": "A half-liter clay jar, glazed for waterproofing with a tight-fitting wooden stopper. Sealed tightly with wax, to preserve contents from rot.",
"symbol": ")",
"color": "brown",
"pocket_data": [
{
"pocket_type": "CONTAINER",
"rigid": true,
"watertight": true,
"max_contains_volume": "500 ml",
"max_contains_weight": "1 kg",
"sealed_data": { "spoil_multiplier": 0.0 }
}
],
"seals": false,
"preserves": true,
"unseals_into": "jar_clay"
},
{
Expand All @@ -82,15 +62,8 @@
"material": "wood",
"symbol": ")",
"color": "brown",
"pocket_data": [
{
"pocket_type": "CONTAINER",
"watertight": true,
"rigid": true,
"max_contains_volume": "7 L",
"max_contains_weight": "14 kg"
}
],
"contains": "7 L",
"watertight": true,
"qualities": [ [ "CONTAIN", 1 ] ]
}
]
21 changes: 11 additions & 10 deletions MST_Extra/items/item_overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@
"type": "ARMOR",
"copy-from": "javelin_bag",
"name": "javelin bag",
"pocket_data": [
{
"ammo_restriction": {
"javelin": 4
},
"moves": 25
}
]
"use_action": {
"type": "holster",
"holster_prompt": "Stash javelins",
"holster_msg": "You stash your %s.",
"multi": 10,
"max_volume": "500 ml",
"draw_cost": 30,
"flags": [ "JAVELIN" ]
}
},
{
"id": "char_purifier",
Expand Down Expand Up @@ -77,7 +78,7 @@
"type": "AMMO",
"name": "rubber slug",
"ammo_type": "pebble",
"damage": { "damage_type": "bullet", "amount": 2 },
"damage": { "damage_type": "stab", "amount": 2 },
"range": 10,
"dispersion": 7,
"extend": { "effects": [ "BEANBAG", "NEVER_MISFIRES", "NON-FOULING", "RECOVER_2" ] }
Expand Down Expand Up @@ -121,7 +122,7 @@
"type": "AMMO",
"name": "limestone",
"ammo_type": "pebble",
"damage": { "damage_type": "bullet", "amount": 2 },
"damage": { "damage_type": "stab", "amount": 2 },
"range": 10,
"dispersion": 14,
"extend": { "effects": [ "NEVER_MISFIRES", "NON-FOULING" ] }
Expand Down
3 changes: 1 addition & 2 deletions MST_Extra/items/tool_armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@
"material_thickness": 2,
"environmental_protection": 1,
"environmental_protection_with_filter": 10,
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "gasfilter_m": 100 } } ],
"max_charges": 100,
"ammo": "gasfilter_m",
"use_action": "GASMASK",
"flags": [ "OUTER", "HELMET_COMPAT", "NO_UNLOAD", "NO_RELOAD" ]
"flags": [ "OUTER", "HELMET_COMPAT" ]
}
]
3 changes: 0 additions & 3 deletions MST_Extra/items/tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@
"price": 800,
"material": [ "clay" ],
"color": "brown",
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "watertight": true, "ammo_restriction": { "lamp_oil": 250 } } ],
"initial_charges": 250,
"max_charges": 250,
"use_action": {
Expand Down Expand Up @@ -226,7 +225,6 @@
"description": "This is a small ceramic fire pot, with a lid and small holes for controlled airflow. It can nurture a smoldering ember for a long time, to start fires without modern tools.",
"material": "clay",
"color": "brown",
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "tinder": 100 } } ],
"use_action": {
"target": "tinderbox_clay_on",
"msg": "You light the tinder.",
Expand Down Expand Up @@ -290,7 +288,6 @@
"symbol": ";",
"color": "light_gray",
"ammo": "pitch_wood",
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "pitch_wood": 100 } } ],
"max_charges": 100,
"charges_per_use": 1,
"qualities": [ [ "CUT", 1 ], [ "BUTCHER", 11 ], [ "SAW_W", 1 ] ],
Expand Down
14 changes: 3 additions & 11 deletions MST_Extra/obsolete.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
},
{
"id": "foil_alum",
"type": "GENERIC",
"category": "container",
"type": "CONTAINER",
"category": "other",
"name": "aluminum foil wrap",
"//": "Dummied out way back when.",
"description": "A half crumpled sheet of aluminum foil, used for cooking and baking.",
Expand All @@ -92,15 +92,7 @@
"material": "aluminum",
"symbol": ",",
"color": "light_gray",
"pocket_data": [
{
"pocket_type": "CONTAINER",
"sealed_data": { "spoil_multiplier": 1.0 },
"max_contains_volume": "2500 ml",
"max_contains_weight": "5 kg",
"moves": 400
}
],
"contains": "2500 ml",
"qualities": [ [ "COOK", 1 ] ]
},
{
Expand Down

0 comments on commit 32d1077

Please sign in to comment.