Skip to content

Commit eae3021

Browse files
authored
7 New Melee weapons (#83690)
1 parent c75e4a7 commit eae3021

File tree

10 files changed

+294
-4
lines changed

10 files changed

+294
-4
lines changed

data/json/items/melee/bludgeons.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,17 @@
112112
"melee_damage": { "bash": 22 },
113113
"weapon_category": [ "MACES" ]
114114
},
115+
{
116+
"type": "ITEM",
117+
"id": "bat_metal_bolt",
118+
"copy-from": "bat_metal",
119+
"name": { "str": "bolt studded aluminum bat" },
120+
"description": "An aluminum baseball bat with a selection of bolts threaded through the barrel. Helps to concentrate the force of a blow, without adding much weight.",
121+
"weight": "1138 g",
122+
"price_postapoc": "14 USD",
123+
"material": [ { "type": "aluminum", "portion": 6 }, { "type": "mc_steel", "portion": 1 } ],
124+
"melee_damage": { "bash": 27 }
125+
},
115126
{
116127
"type": "ITEM",
117128
"id": "bat_nerf",
@@ -1119,6 +1130,29 @@
11191130
"price": "40 USD",
11201131
"price_postapoc": "5 USD"
11211132
},
1133+
{
1134+
"id": "crowbar_warhammer",
1135+
"type": "ITEM",
1136+
"symbol": "/",
1137+
"color": "light_gray",
1138+
"name": { "str": "bec de crowbar" },
1139+
"description": "This weapon appears to be a warhammer, but instead of one end of the head being a spike, it's the flats of a crowbar. While not as good of a weapon as a more traditional warhammer, and not as good as prying as a crowbar, it still does both jobs decently well.",
1140+
"weapon_category": [ "HOOKING_WEAPONRY", "POLEARMS", "GREAT_HAMMERS" ],
1141+
"price": "500 USD",
1142+
"material": [ { "type": "wood", "portion": 4 }, { "type": "mc_steel", "portion": 1 } ],
1143+
"flags": [ "DURABLE_MELEE", "REACH_ATTACK", "NONCONDUCTIVE", "POLEARM", "SHEATH_SPEAR", "SPEAR", "ALWAYS_TWOHAND" ],
1144+
"faults": [ { "fault_group": "handle_long" } ],
1145+
"techniques": [ "WBLOCK_1", "WIDE", "SWEEP" ],
1146+
"weight": "3200 g",
1147+
"volume": "3240 ml",
1148+
"longest_side": "180 cm",
1149+
"to_hit": { "grip": "solid", "length": "long", "surface": "any", "balance": "uneven" },
1150+
"price_postapoc": "100 USD",
1151+
"qualities": [ [ "PRY", 2 ], [ "HAMMER", 1 ] ],
1152+
"use_action": [ "CROWBAR" ],
1153+
"category": "weapons",
1154+
"melee_damage": { "bash": 46 }
1155+
},
11221156
{
11231157
"id": "homemade_polehammer",
11241158
"type": "ITEM",

data/json/items/melee/spears_and_polearms.json

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,37 @@
410410
"use_action": [ "HEAT_SOLID_ITEMS" ],
411411
"melee_damage": { "bash": 7, "stab": 24 }
412412
},
413+
{
414+
"type": "ITEM",
415+
"id": "simple_pike_pipe",
416+
"name": { "str": "basic pipe pike" },
417+
"description": "Five pipes threaded together to form a very crude pike. Heavy, slow, and all around cumbersome to carry and fight with.",
418+
"weight": "5 kg",
419+
"price_postapoc": "1 USD",
420+
"color": "light_gray",
421+
"looks_like": "spear_pipe",
422+
"symbol": "/",
423+
"material": [ "steel" ],
424+
"techniques": [ "WBLOCK_1" ],
425+
"volume": "4 L",
426+
"longest_side": "3 meter",
427+
"to_hit": { "grip": "solid", "length": "long", "surface": "point", "balance": "clumsy" },
428+
"flags": [ "FRAGILE_MELEE", "POLEARM", "SPEAR", "REACH_ATTACK", "REACH3" ],
429+
"weapon_category": [ "SPEARS" ],
430+
"price": "120 USD",
431+
"qualities": [ [ "COOK", 1 ] ],
432+
"use_action": [ "HEAT_SOLID_ITEMS" ],
433+
"melee_damage": { "stab": 17 }
434+
},
435+
{
436+
"type": "ITEM",
437+
"id": "pike_pipe",
438+
"copy-from": "simple_pike_pipe",
439+
"name": { "str": "pipe pike" },
440+
"description": "Five pipes welded together to form a very crude pike. Heavy, slow, and all around cumbersome to carry and fight with.",
441+
"price_postapoc": "1 USD 50 cent",
442+
"melee_damage": { "stab": 23 }
443+
},
413444
{
414445
"type": "ITEM",
415446
"id": "pointed_rebar",
@@ -535,6 +566,30 @@
535566
"price": "50 USD",
536567
"price_postapoc": "5 USD"
537568
},
569+
{
570+
"id": "halberd_crude",
571+
"type": "ITEM",
572+
"symbol": "/",
573+
"color": "light_gray",
574+
"name": { "str": "crude halberd" },
575+
"description": "A homemade halberd, made by attaching an axe head to a spear shaft. Not as good as the real thing, but a whole heck of a lot cheaper and easier.",
576+
"price": "40 USD",
577+
"material": [ "wood", "steel" ],
578+
"ascii_picture": "halberd",
579+
"flags": [ "DURABLE_MELEE", "REACH_ATTACK", "NONCONDUCTIVE", "POLEARM", "SHEATH_SPEAR", "ALWAYS_TWOHAND" ],
580+
"weapon_category": [ "POLEARMS" ],
581+
"techniques": [ "WBLOCK_1", "WIDE", "SWEEP" ],
582+
"weight": "2930 g",
583+
"//": "Average weight of wood axe head (2.5lb) and fireaxe head (6lb) + 1kg spear shaft",
584+
"volume": "2 L",
585+
"longest_side": "180 cm",
586+
"to_hit": { "grip": "solid", "length": "long", "surface": "line", "balance": "uneven" },
587+
"faults": [ { "fault_group": "handle_long", "weight_mult": 4 }, { "fault_group": "blade_general" } ],
588+
"price_postapoc": "10 USD",
589+
"qualities": [ [ "BUTCHER", -70 ], [ "AXE", 2 ] ],
590+
"category": "weapons",
591+
"melee_damage": { "bash": 14, "cut": 26 }
592+
},
538593
{
539594
"id": "bill_hook",
540595
"type": "ITEM",
@@ -628,6 +683,39 @@
628683
"price": "80 USD",
629684
"price_postapoc": "5 USD"
630685
},
686+
{
687+
"type": "ITEM",
688+
"id": "naginata_machete",
689+
"name": { "str_sp": "machete naginata" },
690+
"description": "This crude facsimile of a naginata was made by attaching a machete to the end of a spear.",
691+
"weight": "1840 g",
692+
"color": "light_gray",
693+
"symbol": "/",
694+
"material": [ { "type": "wood", "portion": 25 }, { "type": "mc_steel", "portion": 21 } ],
695+
"techniques": [ "WIDE", "WBLOCK_1" ],
696+
"volume": "2040 ml",
697+
"longest_side": "200 cm",
698+
"to_hit": { "grip": "weapon", "length": "long", "surface": "line", "balance": "neutral" },
699+
"qualities": [ [ "CUT", 1 ], [ "BUTCHER", -24 ] ],
700+
"flags": [ "DURABLE_MELEE", "REACH_ATTACK", "NONCONDUCTIVE", "POLEARM", "SHEATH_SPEAR", "ALWAYS_TWOHAND" ],
701+
"faults": [ { "fault_group": "handle_long", "weight_mult": 4 }, { "fault_group": "blade_general" } ],
702+
"weapon_category": [ "POLEARMS" ],
703+
"price": "40 USD",
704+
"price_postapoc": "25 USD",
705+
"category": "weapons",
706+
"melee_damage": { "bash": 3, "cut": 30 }
707+
},
708+
{
709+
"type": "ITEM",
710+
"id": "naginata_machete_temp",
711+
"copy-from": "naginata_machete",
712+
"name": { "str_sp": "tempered machete naginata" },
713+
"description": "This crude facsimile of a naginata was made by attaching a machete to the end of a spear. This one uses a tempered machete, making it a bit more sharp and durable.",
714+
"price": "50 USD",
715+
"price_postapoc": "27 USD",
716+
"material": [ { "type": "wood", "portion": 25 }, { "type": "qt_steel", "portion": 21 } ],
717+
"melee_damage": { "bash": 3, "cut": 35 }
718+
},
631719
{
632720
"type": "ITEM",
633721
"id": "javelin",

data/json/recipes/nested.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7125,8 +7125,8 @@
71257125
"name": "pikes",
71267126
"description": "Recipes related to constructing pikes from various materials.",
71277127
"skill_used": "fabrication",
7128-
"nested_category_data": [ "pike", "pike_bronze", "pike_copper", "pike_wood" ],
7129-
"difficulty": 3
7128+
"nested_category_data": [ "pike", "pike_bronze", "pike_copper", "pike_wood", "simple_pike_pipe", "pike_pipe" ],
7129+
"difficulty": 1
71307130
},
71317131
{
71327132
"id": "nested_throwing_weapons",
@@ -8363,7 +8363,7 @@
83638363
"name": "warhammers",
83648364
"description": "Recipes for making hammers used as weapons instead of tools.",
83658365
"skill_used": "fabrication",
8366-
"nested_category_data": [ "warhammer", "lucern_hammer", "homemade_polehammer" ],
8366+
"nested_category_data": [ "warhammer", "lucern_hammer", "homemade_polehammer", "crowbar_warhammer" ],
83678367
"difficulty": 1
83688368
},
83698369
{
@@ -8375,7 +8375,7 @@
83758375
"name": "bats",
83768376
"description": "Recipes for making baseball bats and improving them with various materials.",
83778377
"skill_used": "fabrication",
8378-
"nested_category_data": [ "bat", "bat_with_lathe", "nailbat", "bwirebat", "nutboltbat" ],
8378+
"nested_category_data": [ "bat", "bat_with_lathe", "nailbat", "bwirebat", "nutboltbat", "bat_metal_bolt" ],
83798379
"difficulty": 1
83808380
},
83818381
{

data/json/recipes/weapon/bashing.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,18 @@
759759
"proficiencies": [ { "proficiency": "prof_carpentry_basic", "skill_penalty": 0 } ],
760760
"components": [ [ [ "bat", 1 ] ], [ [ "nuts_bolts", 20 ] ] ]
761761
},
762+
{
763+
"type": "recipe",
764+
"activity_level": "LIGHT_EXERCISE",
765+
"result": "bat_metal_bolt",
766+
"category": "CC_*",
767+
"subcategory": "CSC_*_NESTED",
768+
"skill_used": "fabrication",
769+
"time": "10 m",
770+
"autolearn": true,
771+
"qualities": [ { "id": "DRILL", "level": 1 }, { "id": "WRENCH", "level": 1 } ],
772+
"components": [ [ [ "bat_metal", 1 ] ], [ [ "nuts_bolts", 20 ] ] ]
773+
},
762774
{
763775
"type": "recipe",
764776
"activity_level": "LIGHT_EXERCISE",
@@ -1558,5 +1570,25 @@
15581570
"copy-from": "knuckle_impact",
15591571
"time": "4h",
15601572
"using": [ [ "blacksmithing_standard", 4 ], [ "steel_standard", 1 ] ]
1573+
},
1574+
{
1575+
"type": "recipe",
1576+
"activity_level": "BRISK_EXERCISE",
1577+
"result": "crowbar_warhammer",
1578+
"category": "CC_*",
1579+
"subcategory": "CSC_*_NESTED",
1580+
"skill_used": "fabrication",
1581+
"difficulty": 7,
1582+
"time": "8 h",
1583+
"autolearn": true,
1584+
"proficiencies": [
1585+
{ "proficiency": "prof_metalworking" },
1586+
{ "proficiency": "prof_blacksmithing" },
1587+
{ "proficiency": "prof_toolsmithing" }
1588+
],
1589+
"using": [ [ "blacksmithing_standard", 12 ], [ "steel_standard", 4 ] ],
1590+
"qualities": [ { "id": "GRIND", "level": 2 } ],
1591+
"tools": [ [ [ "drift", -1 ] ] ],
1592+
"components": [ [ [ "spear_shaft", 1 ] ], [ [ "fur", 2 ], [ "leather", 2 ] ] ]
15611593
}
15621594
]

data/json/recipes/weapon/cutting.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2538,5 +2538,60 @@
25382538
"qualities": [ { "id": "GRIND", "level": 2 } ],
25392539
"tools": [ [ [ "hotcut_any", 1, "LIST" ] ], [ [ "metal_tank", -1 ] ], [ [ "water", -120 ], [ "water_clean", -120 ] ] ],
25402540
"components": [ [ [ "scrap_kevlar", 4 ], [ "plastic_chunk", 2 ] ] ]
2541+
},
2542+
{
2543+
"type": "recipe",
2544+
"activity_level": "LIGHT_EXERCISE",
2545+
"result": "halberd_crude",
2546+
"category": "CC_WEAPON",
2547+
"subcategory": "CSC_WEAPON_CUTTING",
2548+
"skill_used": "fabrication",
2549+
"difficulty": 2,
2550+
"time": "45 m",
2551+
"autolearn": true,
2552+
"qualities": [ { "id": "CUT", "level": 2 }, { "id": "HAMMER", "level": 1 }, { "id": "SAW_W", "level": 2 } ],
2553+
"proficiencies": [ { "proficiency": "prof_carving", "time_multiplier": 1.5, "skill_penalty": 0.15 } ],
2554+
"using": [ [ "glue_strong", 10 ] ],
2555+
"components": [ [ [ "spear_shaft", 1 ] ], [ [ "fire_ax", 1 ], [ "ax", 1 ] ], [ [ "nails", 3, "LIST" ] ] ]
2556+
},
2557+
{
2558+
"type": "recipe",
2559+
"activity_level": "LIGHT_EXERCISE",
2560+
"result": "naginata_machete",
2561+
"category": "CC_WEAPON",
2562+
"subcategory": "CSC_WEAPON_CUTTING",
2563+
"skill_used": "fabrication",
2564+
"difficulty": 2,
2565+
"time": "45 m",
2566+
"autolearn": true,
2567+
"qualities": [
2568+
{ "id": "CUT", "level": 2 },
2569+
{ "id": "HAMMER", "level": 1 },
2570+
{ "id": "SAW_W", "level": 2 },
2571+
{ "id": "DRILL", "level": 2 }
2572+
],
2573+
"proficiencies": [ { "proficiency": "prof_carving", "time_multiplier": 1.5, "skill_penalty": 0.15 } ],
2574+
"using": [ [ "glue_strong", 10 ] ],
2575+
"components": [ [ [ "spear_shaft", 1 ] ], [ [ "machete", 1 ] ], [ [ "nails", 2, "LIST" ], [ "nuts_bolts", 2 ] ] ]
2576+
},
2577+
{
2578+
"type": "recipe",
2579+
"activity_level": "LIGHT_EXERCISE",
2580+
"result": "naginata_machete_temp",
2581+
"category": "CC_WEAPON",
2582+
"subcategory": "CSC_WEAPON_CUTTING",
2583+
"skill_used": "fabrication",
2584+
"difficulty": 2,
2585+
"time": "45 m",
2586+
"autolearn": true,
2587+
"qualities": [
2588+
{ "id": "CUT", "level": 2 },
2589+
{ "id": "HAMMER", "level": 1 },
2590+
{ "id": "SAW_W", "level": 2 },
2591+
{ "id": "DRILL", "level": 2 }
2592+
],
2593+
"proficiencies": [ { "proficiency": "prof_carving", "time_multiplier": 1.5, "skill_penalty": 0.15 } ],
2594+
"using": [ [ "glue_strong", 10 ] ],
2595+
"components": [ [ [ "spear_shaft", 1 ] ], [ [ "survivor_machete_qt", 1 ] ], [ [ "nails", 2, "LIST" ], [ "nuts_bolts", 2 ] ] ]
25412596
}
25422597
]

data/json/recipes/weapon/piercing.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,37 @@
305305
"qualities": [ { "id": "HAMMER", "level": 3 }, { "id": "SAW_M", "level": 1 } ],
306306
"components": [ [ [ "simple_spear_pipe", 1 ] ] ]
307307
},
308+
{
309+
"result": "simple_pike_pipe",
310+
"type": "recipe",
311+
"activity_level": "MODERATE_EXERCISE",
312+
"category": "CC_*",
313+
"subcategory": "CSC_*_NESTED",
314+
"skill_used": "fabrication",
315+
"difficulty": 1,
316+
"skills_required": [ "melee", 1 ],
317+
"time": "10 m",
318+
"autolearn": true,
319+
"qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "SAW_M", "level": 2 } ],
320+
"components": [ [ [ "pipe", 5 ] ], [ [ "pipe_fittings", 4 ] ] ]
321+
},
322+
{
323+
"result": "pike_pipe",
324+
"type": "recipe",
325+
"activity_level": "MODERATE_EXERCISE",
326+
"category": "CC_*",
327+
"subcategory": "CSC_*_NESTED",
328+
"skill_used": "fabrication",
329+
"difficulty": 3,
330+
"skills_required": [ "melee", 1 ],
331+
"time": "100 m",
332+
"autolearn": true,
333+
"//": "60cm weld",
334+
"using": [ [ "welding_standard", 60 ], [ "steel_chunk_any", 1 ], [ "cordage_superior", 2 ] ],
335+
"proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_welding_basic" } ],
336+
"qualities": [ { "id": "HAMMER", "level": 3 }, { "id": "SAW_M", "level": 2 } ],
337+
"components": [ [ [ "pipe", 5 ] ], [ [ "pipe_fittings", 4 ] ] ]
338+
},
308339
{
309340
"result": "grip_hook",
310341
"type": "recipe",

data/json/uncraft/weapon/bashing.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,13 @@
66
"time": "2 m",
77
"qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "CUT", "level": 1 } ],
88
"components": [ [ [ "scrap", 4 ] ], [ [ "cotton_patchwork", 4 ] ] ]
9+
},
10+
{
11+
"result": "bat_metal_bolt",
12+
"type": "uncraft",
13+
"activity_level": "MODERATE_EXERCISE",
14+
"time": "2 m",
15+
"qualities": [ { "id": "WRENCH", "level": 1 } ],
16+
"components": [ [ [ "material_aluminium_ingot", 3 ] ], [ [ "nuts_bolts", 20 ] ] ]
917
}
1018
]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[
2+
{
3+
"result": "halberd_crude",
4+
"type": "uncraft",
5+
"activity_level": "MODERATE_EXERCISE",
6+
"time": "2 m",
7+
"qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "SAW_W", "level": 1 } ],
8+
"components": [ [ [ "spear_shaft", 1 ] ], [ [ "mc_steel_lump", 2 ] ] ]
9+
},
10+
{
11+
"result": "naginata_machete",
12+
"type": "uncraft",
13+
"activity_level": "MODERATE_EXERCISE",
14+
"time": "2 m",
15+
"qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "SAW_W", "level": 1 } ],
16+
"components": [ [ [ "spear_shaft", 1 ] ], [ [ "blade", 1 ] ], [ [ "nuts_bolts", 2 ] ], [ [ "splinter", 1 ] ], [ [ "scrap", 2 ] ] ]
17+
},
18+
{
19+
"result": "naginata_machete_temp",
20+
"type": "uncraft",
21+
"activity_level": "MODERATE_EXERCISE",
22+
"time": "2 m",
23+
"qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "SAW_W", "level": 1 } ],
24+
"components": [ [ [ "spear_shaft", 1 ] ], [ [ "blade", 1 ] ], [ [ "nuts_bolts", 2 ] ], [ [ "splinter", 1 ] ], [ [ "scrap", 2 ] ] ]
25+
}
26+
]

data/json/uncraft/weapon/piercing.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,20 @@
3030
"time": "10 m",
3131
"qualities": [ { "id": "CUT", "level": 1 }, { "id": "PRYING_NAIL", "level": 1 } ],
3232
"components": [ [ [ "spear_shaft", 1 ] ], [ [ "knife_huge", 1 ] ], [ [ "nail", 2 ] ], [ [ "string_36", 2 ] ] ]
33+
},
34+
{
35+
"result": "simple_pike_pipe",
36+
"type": "uncraft",
37+
"activity_level": "MODERATE_EXERCISE",
38+
"time": "10 m",
39+
"components": [ [ [ "pipe", 4 ] ], [ [ "pipe_fittings", 4 ] ], [ [ "scrap", 12 ] ] ]
40+
},
41+
{
42+
"result": "pike_pipe",
43+
"type": "uncraft",
44+
"activity_level": "MODERATE_EXERCISE",
45+
"time": "25 m",
46+
"qualities": [ { "id": "SAW_M", "level": 2 } ],
47+
"components": [ [ [ "pipe", 4 ] ], [ [ "scrap", 12 ] ], [ [ "lump_cast_iron", 2 ] ] ]
3348
}
3449
]

data/mods/TEST_DATA/expected_dps_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"makeshift_scythe_war": 24.5,
7777
"bill_hook": 32.4,
7878
"spear_dory": 28.0,
79+
"naginata_machete_temp": 28.6,
7980
"qiang": 30.68,
8081
"lucern_hammer": 31.5,
8182
"glaive": 33.12,

0 commit comments

Comments
 (0)