Skip to content

Commit c4b4cf0

Browse files
authored
Modified Hard Hat (#82169)
* modified hard hat * add uncraft
1 parent 009e6b8 commit c4b4cf0

File tree

3 files changed

+127
-1
lines changed

3 files changed

+127
-1
lines changed

data/json/items/armor/hats.json

Lines changed: 102 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,12 +655,12 @@
655655
"looks_like": "hat_ball",
656656
"color": "yellow",
657657
"warmth": 5,
658-
"material_thickness": 4,
659658
"environmental_protection": 1,
660659
"techniques": [ "WBLOCK_1" ],
661660
"flags": [ "WATERPROOF", "PADDED" ],
662661
"armor": [
663662
{
663+
"material": [ { "type": "plastic", "covered_by_mat": 100, "thickness": 4 } ],
664664
"encumbrance_modifiers": [ "NONE" ],
665665
"coverage": 100,
666666
"cover_vitals": 90,
@@ -1047,6 +1047,107 @@
10471047
],
10481048
"melee_damage": { "bash": 6 }
10491049
},
1050+
{
1051+
"id": "hat_hard_modified",
1052+
"type": "ITEM",
1053+
"subtypes": [ "ARMOR" ],
1054+
"copy-from": "hat_hard",
1055+
"name": { "str": "modified hard hat" },
1056+
"description": "A hard hat that has been modified with a metal trim along the forehead and covering the ears, allowing the wearer to affix aventails.",
1057+
"weight": "862 g",
1058+
"price_postapoc": "5 USD",
1059+
"material": [ "plastic", "lc_steel" ],
1060+
"armor": [
1061+
{
1062+
"material": [ { "type": "plastic", "covered_by_mat": 100, "thickness": 4 } ],
1063+
"encumbrance_modifiers": [ "NONE" ],
1064+
"coverage": 100,
1065+
"cover_vitals": 90,
1066+
"covers": [ "head" ],
1067+
"specifically_covers": [ "head_crown" ]
1068+
},
1069+
{
1070+
"material": [
1071+
{ "type": "lc_steel", "covered_by_mat": 10, "thickness": 1.5 },
1072+
{ "type": "plastic", "covered_by_mat": 100, "thickness": 4 }
1073+
],
1074+
"encumbrance_modifiers": [ "NONE" ],
1075+
"coverage": 100,
1076+
"cover_vitals": 90,
1077+
"covers": [ "head" ],
1078+
"specifically_covers": [ "head_forehead" ]
1079+
},
1080+
{
1081+
"material": [ { "type": "lc_steel", "covered_by_mat": 100, "thickness": 1.5 } ],
1082+
"encumbrance_modifiers": [ "NONE" ],
1083+
"coverage": 100,
1084+
"covers": [ "head" ],
1085+
"specifically_covers": [ "head_ear_r", "head_ear_l" ]
1086+
}
1087+
],
1088+
"pocket_data": [
1089+
{
1090+
"pocket_type": "CONTAINER",
1091+
"ablative": true,
1092+
"volume_encumber_modifier": 0,
1093+
"max_contains_volume": "500 ml",
1094+
"max_contains_weight": "500 g",
1095+
"moves": 250,
1096+
"description": "Pocket for a face shield or a shield visor.",
1097+
"flag_restriction": [ "HELMET_FACE_SHIELD" ]
1098+
},
1099+
{
1100+
"pocket_type": "CONTAINER",
1101+
"ablative": true,
1102+
"volume_encumber_modifier": 0,
1103+
"max_contains_volume": "500 ml",
1104+
"max_contains_weight": "250 g",
1105+
"moves": 250,
1106+
"description": "Pocket for a nape protector.",
1107+
"flag_restriction": [ "HELMET_NAPE_PROTECTOR" ]
1108+
},
1109+
{
1110+
"pocket_type": "CONTAINER",
1111+
"ablative": true,
1112+
"volume_encumber_modifier": 0,
1113+
"max_contains_volume": "500 ml",
1114+
"max_contains_weight": "400 g",
1115+
"moves": 250,
1116+
"description": "Pocket for a strapped mandible guard.",
1117+
"flag_restriction": [ "HELMET_MANDIBLE_GUARD_STRAPPED" ]
1118+
},
1119+
{
1120+
"pocket_type": "CONTAINER",
1121+
"volume_encumber_modifier": 0,
1122+
"max_contains_volume": "400 ml",
1123+
"max_contains_weight": "400 g",
1124+
"moves": 250,
1125+
"description": "Pocket for a counterweight pouch.",
1126+
"flag_restriction": [ "HELMET_BACK_POUCH" ]
1127+
},
1128+
{
1129+
"pocket_type": "CONTAINER",
1130+
"volume_encumber_modifier": 0,
1131+
"max_contains_volume": "300 ml",
1132+
"max_contains_weight": "500 g",
1133+
"max_item_length": "14 cm",
1134+
"moves": 100,
1135+
"description": "Pocket for a flashlight attachment.",
1136+
"flag_restriction": [ "HELMET_HEAD_ATTACHMENT" ],
1137+
"transparent": true
1138+
},
1139+
{
1140+
"pocket_type": "CONTAINER",
1141+
"ablative": true,
1142+
"volume_encumber_modifier": 0,
1143+
"max_contains_volume": "600 ml",
1144+
"max_contains_weight": "2000 g",
1145+
"moves": 250,
1146+
"description": "attachment for a partial or full aventail.",
1147+
"flag_restriction": [ "HELMET_AVENTAIL" ]
1148+
}
1149+
]
1150+
},
10501151
{
10511152
"id": "hat_hunting",
10521153
"type": "ITEM",

data/json/recipes/armor/head.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4260,5 +4260,20 @@
42604260
"autolearn": true,
42614261
"reversible": { "time": "10 m" },
42624262
"using": [ [ "tailoring_cotton_patchwork", 2 ] ]
4263+
},
4264+
{
4265+
"result": "hat_hard_modified",
4266+
"type": "recipe",
4267+
"activity_level": "BRISK_EXERCISE",
4268+
"category": "CC_ARMOR",
4269+
"subcategory": "CSC_ARMOR_HEAD",
4270+
"skill_used": "fabrication",
4271+
"difficulty": 2,
4272+
"time": "1 h",
4273+
"autolearn": true,
4274+
"using": [ [ "welding_standard", 20 ] ],
4275+
"components": [ [ [ "sheet_metal_small", 2 ] ], [ [ "nuts_bolts", 12 ] ], [ [ "hat_hard", 1 ], [ "hat_hard_hooded", 1 ] ] ],
4276+
"proficiencies": [ { "proficiency": "prof_metalworking" } ],
4277+
"qualities": [ { "id": "DRILL", "level": 2 }, { "id": "SAW_M", "level": 2 }, { "id": "WRENCH", "level": 2 } ]
42634278
}
42644279
]

data/json/uncraft/armor/headwear.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,15 @@
88
"time": "4 m",
99
"qualities": [ { "id": "CUT_FINE", "level": 1 }, { "id": "CUT", "level": 2 } ],
1010
"components": [ [ [ "leather", 14 ] ], [ [ "thread", 40 ] ] ]
11+
},
12+
{
13+
"result": "hat_hard_modified",
14+
"type": "uncraft",
15+
"activity_level": "LIGHT_EXERCISE",
16+
"skill_used": "fabrication",
17+
"difficulty": 1,
18+
"time": "30 m",
19+
"qualities": [ { "id": "SAW_M", "level": 2 }, { "id": "WRENCH", "level": 2 } ],
20+
"components": [ [ [ "scrap", 8 ] ], [ [ "hat_hard", 1 ] ], [ [ "nuts_bolts", 12 ] ] ]
1121
}
1222
]

0 commit comments

Comments
 (0)