summaryrefslogtreecommitdiff
path: root/json/items/armor
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2024-06-18 03:56:28 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2024-06-18 03:56:28 -0700
commit9ec06ced03e323e355d3e60ecc795f8a2e0c9a87 (patch)
treee2ca64c42be341cdec37ebaa1b465cbb4d99966a /json/items/armor
parentRename and rephrase hand grenade pouch to be more clear what it is. (diff)
downloadcataclysm-bn-mod_armor-rebalance-9ec06ced03e323e355d3e60ecc795f8a2e0c9a87.tar.xz
Fix the army winter pants lacking WATERPROOF.
Modify the army winter jacket with an activate to raise the hood. Added a mod tileset for the army winter jacket with hood.
Diffstat (limited to 'json/items/armor')
-rw-r--r--json/items/armor/coats.json55
-rw-r--r--json/items/armor/legs_clothes.json4
2 files changed, 56 insertions, 3 deletions
diff --git a/json/items/armor/coats.json b/json/items/armor/coats.json
index d59199b..14f23b1 100644
--- a/json/items/armor/coats.json
+++ b/json/items/armor/coats.json
@@ -324,13 +324,64 @@
},
{
"id": "winter_jacket_army",
- "copy-from": "winter_jacket_army",
+ "repairs_like": "trenchcoat",
"type": "ARMOR",
"name": { "str": "army winter jacket" },
+ "description": "A tough hooded jacket with lots of pockets, thickly padded for warmth. Favored by the military.",
+ "weight": "1000 g",
+ "volume": "3 L",
+ "price": "4375 cent",
+ "price_postapoc": "750 cent",
+ "material": [ "cotton", "plastic" ],
+ "symbol": "[",
+ "looks_like": "coat_winter",
+ "color": "white",
"armor_portion_data": [
{ "covers": [ "torso" ], "coverage": 100, "encumbrance": [ 10, 20 ] },
{ "covers": [ "arms" ], "coverage": 100, "encumbrance": [ 10, 10 ] }
],
- "storage": "4800 ml"
+ "storage": "4800 ml",
+ "warmth": 50,
+ "material_thickness": 3,
+ "valid_mods": [ "steel_padded", "alloy_padded" ],
+ "flags": [ "VARSIZE", "POCKETS", "HOOD", "OUTER", "WATERPROOF" ],
+ "use_action": {
+ "type": "transform",
+ "msg": "You unpack the %s hood.",
+ "target": "winter_jacket_army_hood",
+ "menu_text": "Unpack hood"
+ }
+ },
+ {
+ "id": "winter_jacket_army_hood",
+ "repairs_like": "trenchcoat",
+ "type": "ARMOR",
+ "name": { "str": "army winter jacket (with hood)" },
+ "description": "A tough hooded jacket with lots of pockets, thickly padded for warmth. Favored by the military.",
+ "weight": "1000 g",
+ "volume": "3 L",
+ "price": "4375 cent",
+ "price_postapoc": "750 cent",
+ "material": [ "cotton", "plastic" ],
+ "symbol": "[",
+ "looks_like": "winter_jacket_army",
+ "color": "white",
+ "armor_portion_data": [
+ { "covers": [ "head" ], "coverage": 100, "encumbrance": [ 10, 10 ] },
+ { "covers": [ "torso" ], "coverage": 100, "encumbrance": [ 10, 20 ] },
+ { "covers": [ "arms" ], "coverage": 100, "encumbrance": [ 10, 10 ] }
+ ],
+ "storage": "4800 ml",
+ "warmth": 50,
+ "material_thickness": 3,
+ "valid_mods": [ "steel_padded", "alloy_padded" ],
+ "flags": [ "VARSIZE", "POCKETS", "OUTER", "WATERPROOF" ],
+ "use_action": {
+ "type": "transform",
+ "msg": "You pack the %s hood.",
+ "target": "winter_jacket_army",
+ "menu_text": "Pack hood"
+ },
+ "//": "Entirely overwrite to allow a transformation. Workaround as armor_portion_data cannot be modified in a copy_from."
}
]
diff --git a/json/items/armor/legs_clothes.json b/json/items/armor/legs_clothes.json
index 5bb8cae..9b85b63 100644
--- a/json/items/armor/legs_clothes.json
+++ b/json/items/armor/legs_clothes.json
@@ -118,6 +118,8 @@
"name": { "str_sp": "army winter pants" },
"encumbrance": 11,
"max_encumbrance": 22,
- "storage": "7160 ml"
+ "storage": "7160 ml",
+ "extend": { "flags": [ "WATERPROOF" ] },
+ "//": "Add the missing WATERPROOF flag."
}
]