summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--armor_rebalance.pngbin0 -> 4271 bytes
-rw-r--r--json/items/armor/coats.json55
-rw-r--r--json/items/armor/legs_clothes.json4
-rw-r--r--mod_tileset.json24
4 files changed, 80 insertions, 3 deletions
diff --git a/armor_rebalance.png b/armor_rebalance.png
new file mode 100644
index 0000000..5e740da
--- /dev/null
+++ b/armor_rebalance.png
Binary files differ
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."
}
]
diff --git a/mod_tileset.json b/mod_tileset.json
new file mode 100644
index 0000000..7d1f72d
--- /dev/null
+++ b/mod_tileset.json
@@ -0,0 +1,24 @@
+[
+ {
+ "type": "mod_tileset",
+ "compatibility": [
+ "UNDEAD_PEOPLE",
+ "UNDEAD_PEOPLE_BASE",
+ "UNDEAD_PEOPLE_LEGACY"
+ ],
+ "tiles-new": [
+ {
+ "file": "armor_rebalance.png",
+ "tiles": [
+ { "id": "winter_jacket_army_hood", "fg": 0, "rotates": false },
+ { "id": "overlay_wielded_winter_jacket_army_hood", "fg": 0, "rotates": false },
+ { "id": "overlay_worn_winter_jacket_army_hood", "fg": 1, "rotates": false }
+ ],
+ "sprite_width": 32,
+ "sprite_height": 32,
+ "sprite_offset_x": 0,
+ "sprite_offset_y": 0
+ }
+ ]
+ }
+]