Skip to content

Commit

Permalink
Add more wearable gear
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicFox556 committed Jan 8, 2023
1 parent 5e9e7b2 commit fdb6831
Show file tree
Hide file tree
Showing 10 changed files with 207 additions and 22 deletions.
20 changes: 20 additions & 0 deletions data/json/EraOfDecay/items/armor/hats.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"id": "paper_hat",
"type": "ARMOR",
"category": "armor",
"name": { "str": "paper hat" },
"description": "A simple hat folded from paper. You can wear it but it's not particularly useful for anything.",
"weight": "18 g",
"volume": "36 ml",
"price": 0,
"price_postapoc": 0,
"material": [ "paper" ],
"symbol": "[",
"warmth": 2,
"looks_like": "tinfoil_hat",
"material_thickness": 0.1,
"color": "white",
"armor": [ { "encumbrance_modifiers": [ "NONE" ], "coverage": 40, "covers": [ "head" ] } ]
}
]
12 changes: 11 additions & 1 deletion data/json/EraOfDecay/items/armor/hoods.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
[

{
"id": "hood_rain_plastic",
"copy-from": "hood_rain",
"type": "ARMOR",
"name": { "str": "plastic rain hood" },
"description": "A cheap plastic hood, meant to be used together with a rain coat to provide protection from rain.",
"material": [ "plastic" ],
"warmth": 2,
"material_thickness": 0.1,
"proportional": { "weight": 0.8, "volume": 0.8, "price": 0.8 }
}
]
87 changes: 87 additions & 0 deletions data/json/EraOfDecay/items/armor/storage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
[
{
"id": "jerrypack_big",
"type": "ARMOR",
"name": { "str": "steel jerrypack" },
"description": "A big steel jerrycan with two straps attached, for wearing it on back.",
"weight": "4732 g",
"volume": "27470 ml",
"longest_side": "47 cm",
"price": 5720,
"price_postapoc": 120,
"to_hit": -3,
"bashing": 4,
"material": [ "steel" ],
"symbol": "[",
"looks_like": "jerrypack",
"color": "green",
"material_thickness": 2,
"pocket_data": [
{
"max_contains_volume": "20 L",
"max_contains_weight": "25 kg",
"max_item_volume": "32 ml",
"watertight": true,
"rigid": true
}
],
"qualities": [ [ "BOIL", 1 ] ],
"flags": [ "OVERSIZE", "BELTED", "WATER_FRIENDLY" ],
"armor": [ { "encumbrance": 32, "coverage": 85, "covers": [ "torso" ], "specifically_covers": [ "torso_hanging_back" ] } ]
},
{
"id": "jerrypack_clay",
"type": "ARMOR",
"name": { "str": "clay hydria with straps", "str_pl": "clay hydriai with straps" },
"description": "A 15-liter clay pot with two straps attached, for wearing it on back. Can carry solid items as well as liquids, but it's fragile.",
"weight": "2387 g",
"volume": "18132 ml",
"price": 2720,
"price_postapoc": 70,
"to_hit": -1,
"bashing": 1,
"material": [ "clay" ],
"symbol": "[",
"looks_like": "jerrypack",
"color": "green",
"material_thickness": 2,
"pocket_data": [
{
"max_contains_volume": "15 L",
"max_contains_weight": "25 kg",
"watertight": true,
"rigid": true
}
],
"qualities": [ [ "BOIL", 2 ], [ "CONTAIN", 1 ] ],
"flags": [ "OVERSIZE", "BELTED", "WATER_FRIENDLY", "FRAGILE" ],
"armor": [ { "encumbrance": 24, "coverage": 70, "covers": [ "torso" ], "specifically_covers": [ "torso_hanging_back" ] } ]
},
{
"id": "jerrypack_gallon",
"type": "ARMOR",
"name": { "str": "gallon jug with strap", "str_pl": "gallon jugs with straps" },
"description": "A standard plastic jug used for milk and household cleaning chemicals with a strap attached, for wearing it on back.",
"weight": "226 g",
"volume": "3885 ml",
"price": 60,
"price_postapoc": 20,
"to_hit": 1,
"material": [ "plastic" ],
"symbol": "[",
"looks_like": "jerrypack",
"color": "green",
"material_thickness": 1,
"pocket_data": [
{
"max_contains_volume": "3750 ml",
"max_contains_weight": "8 kg",
"max_item_volume": "32 ml",
"watertight": true,
"rigid": true
}
],
"flags": [ "OVERSIZE", "BELTED", "WATER_FRIENDLY" ],
"armor": [ { "encumbrance": 6, "coverage": 40, "covers": [ "torso" ], "specifically_covers": [ "torso_hanging_back" ] } ]
}
]
30 changes: 30 additions & 0 deletions data/json/EraOfDecay/recipes/armor/head.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[
{
"result": "hood_rain_plastic",
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_HEAD",
"skill_used": "tailor",
"difficulty": 1,
"time": "10 m",
"autolearn": true,
"proficiencies": [ { "proficiency": "prof_closures_waterproofing" } ],
"using": [ [ "waterproofing_plastic_sheets", 2 ] ],
"qualities": [ { "id": "SEW", "level": 1 } ],
"components": [ [ [ "filament", 1, "LIST" ] ] ]
},
{
"result": "paper_hat",
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_STORAGE",
"skill_used": "fabrication",
"time": "1 m 30 s",
"autolearn": true,
"reversible": true,
"components": [ [ [ "paper", 6 ] ] ],
"flags": [ "BLIND_HARD" ]
}
]
41 changes: 41 additions & 0 deletions data/json/EraOfDecay/recipes/armor/storage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[
{
"result": "jerrypack_big",
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_STORAGE",
"skill_used": "fabrication",
"time": "1 m 30 s",
"autolearn": true,
"reversible": true,
"components": [ [ [ "jerrycan_big", 1 ] ], [ [ "rope_natural_short", 2, "LIST" ] ] ],
"flags": [ "BLIND_HARD" ]
},
{
"result": "jerrypack_clay",
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_STORAGE",
"skill_used": "fabrication",
"time": "1 m 30 s",
"autolearn": true,
"reversible": true,
"components": [ [ [ "clay_hydria", 1 ] ], [ [ "rope_natural_short", 2, "LIST" ] ] ],
"flags": [ "BLIND_HARD" ]
},
{
"result": "jerrypack_gallon",
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_STORAGE",
"skill_used": "fabrication",
"time": "1 m 30 s",
"autolearn": true,
"reversible": true,
"components": [ [ [ "jug_plastic", 1 ] ], [ [ "cordage", 1, "LIST" ] ] ],
"flags": [ "BLIND_HARD" ]
}
]
4 changes: 2 additions & 2 deletions data/json/items/armor/hoods.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@
"symbol": "[",
"looks_like": "hat_cotton",
"color": "yellow",
"warmth": 8,
"material_thickness": 0.3,
"warmth": 10,
"material_thickness": 0.2,
"environmental_protection": 2,
"flags": [ "WATERPROOF", "OUTER", "SOFT" ],
"armor": [ { "encumbrance_modifiers": [ "NONE" ], "coverage": 100, "covers": [ "head" ] } ]
Expand Down
22 changes: 11 additions & 11 deletions data/json/items/armor/storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1047,14 +1047,14 @@
{
"id": "jerrypack",
"type": "ARMOR",
"name": { "str": "jerrypack" },
"description": "A jerrycan modified to be worn in a similar manner to a backpack.",
"weight": "1763 g",
"volume": "10500 ml",
"price": 1450,
"price_postapoc": 250,
"to_hit": -1,
"material": [ "plastic", "cotton" ],
"name": { "str": "plastic jerrypack" },
"description": "A plastic jerrycan with two straps attached, for wearing it on back.",
"weight": "2019 g",
"volume": "11220 ml",
"price": 2000,
"price_postapoc": 80,
"to_hit": -2,
"material": [ "plastic" ],
"symbol": "[",
"looks_like": "backpack",
"color": "green",
Expand All @@ -1063,14 +1063,14 @@
"pocket_data": [
{
"max_contains_volume": "10 L",
"max_contains_weight": "10 kg",
"max_item_volume": "65 ml",
"max_contains_weight": "15 kg",
"max_item_volume": "32 ml",
"watertight": true,
"rigid": true
}
],
"flags": [ "OVERSIZE", "BELTED", "WATER_FRIENDLY" ],
"armor": [ { "encumbrance": 30, "coverage": 80, "covers": [ "torso" ], "specifically_covers": [ "torso_hanging_back" ] } ]
"armor": [ { "encumbrance": 18, "coverage": 60, "covers": [ "torso" ], "specifically_covers": [ "torso_hanging_back" ] } ]
},
{
"id": "leather_pouch",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/containers.json
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@
"id": "clay_hydria",
"type": "GENERIC",
"category": "container",
"name": { "str": "clay hydria" },
"name": { "str": "clay hydria", "str_pl": "clay hydriai" },
"looks_like": "bowl_clay",
"description": "A 15-liter clay pot with three handles for carrying and for pouring.",
"weight": "1955 g",
Expand Down
3 changes: 1 addition & 2 deletions data/json/recipes/armor/head.json
Original file line number Diff line number Diff line change
Expand Up @@ -1255,8 +1255,7 @@
"difficulty": 1,
"time": "20 m",
"autolearn": true,
"using": [ [ "waterproofing_plastic_sheets", 2 ] ],
"components": [ [ [ "cotton_patchwork", 2 ] ] ],
"using": [ [ "tailoring_cotton_patchwork", 2 ], [ "waterproofing_plastic_sheets", 2 ] ],
"proficiencies": [ { "proficiency": "prof_closures_waterproofing" } ]
},
{
Expand Down
8 changes: 3 additions & 5 deletions data/json/recipes/armor/storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -889,13 +889,11 @@
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_STORAGE",
"skill_used": "fabrication",
"difficulty": 2,
"time": "1 m 30 s",
"autolearn": true,
"reversible": true,
"using": [ [ "adhesive", 3 ] ],
"qualities": [ { "id": "HAMMER", "level": 3 } ],
"components": [ [ [ "strap_small", 3, "LIST" ] ], [ [ "jerrycan", 1 ] ] ]
"components": [ [ [ "jerrycan", 1 ] ], [ [ "rope_natural_short", 2, "LIST" ] ] ],
"flags": [ "BLIND_HARD" ]
},
{
"result": "boxpack",
Expand All @@ -909,7 +907,7 @@
"autolearn": true,
"qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "SAW_W", "level": 2 } ],
"proficiencies": [ { "proficiency": "prof_carpentry_basic" } ],
"components": [ [ [ "2x4", 3 ] ], [ [ "wood_panel", 1 ] ], [ [ "nail", 20 ] ], [ [ "rope_natural", 1, "LIST" ] ] ]
"components": [ [ [ "2x4", 3 ] ], [ [ "wood_panel", 1 ] ], [ [ "nail", 20 ] ], [ [ "rope_natural_short", 2, "LIST" ] ] ]
},
{
"result": "leather_belt",
Expand Down

0 comments on commit fdb6831

Please sign in to comment.