Skip to content

Commit 47fbf51

Browse files
authored
460 S&W reloads (CleverRaven#80071)
* 460 reloads * GG obsoletion * GG migration * Add uncrafts
1 parent 8ca1beb commit 47fbf51

File tree

6 files changed

+115
-1
lines changed

6 files changed

+115
-1
lines changed

data/json/items/ammo/460sw.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@
2525
"recoil": 2900,
2626
"effects": [ "COOKOFF" ]
2727
},
28+
{
29+
"id": "reloaded_460sw",
30+
"copy-from": "460sw",
31+
"type": "AMMO",
32+
"name": { "str_sp": ".460 S&W Magnum FTX, reloaded" },
33+
"proportional": { "price": 0.7, "damage": { "damage_type": "bullet", "amount": 0.9 }, "dispersion": 1.1 },
34+
"extend": { "effects": [ "RECYCLED" ] },
35+
"delete": { "flags": [ "IRREPLACEABLE_CONSUMABLE" ] }
36+
},
2837
{
2938
"id": "460sw_jhp",
3039
"//": "Based on https://www.federalpremium.com/handgun/premium-handgun-hunting/swift-a-frame/11-P460SA.html, multiplying the damage by 1.2 to account for the fact it's JHP.",
@@ -50,5 +59,14 @@
5059
"dispersion": 30,
5160
"recoil": 2900,
5261
"effects": [ "COOKOFF" ]
62+
},
63+
{
64+
"id": "reloaded_460sw_jhp",
65+
"copy-from": "460sw_jhp",
66+
"type": "AMMO",
67+
"name": { "str_sp": ".460 S&W Magnum JHP, reloaded" },
68+
"proportional": { "price": 0.7, "damage": { "damage_type": "bullet", "amount": 0.9 }, "dispersion": 1.1 },
69+
"extend": { "effects": [ "RECYCLED" ] },
70+
"delete": { "flags": [ "IRREPLACEABLE_CONSUMABLE" ] }
5371
}
5472
]

data/json/recipes/ammo/pistol.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,44 @@
14931493
"//": "278 mg gunpowder rounded to 3 100 mg 'pieces'",
14941494
"components": [ [ [ "gunpowder_pistol", 3 ], [ "gunpowder_shotgun", 3 ] ], [ [ "copper", 1 ] ] ]
14951495
},
1496+
{
1497+
"result": "reloaded_460sw",
1498+
"type": "recipe",
1499+
"activity_level": "LIGHT_EXERCISE",
1500+
"category": "CC_AMMO",
1501+
"subcategory": "CSC_AMMO_PISTOL",
1502+
"skill_used": "fabrication",
1503+
"difficulty": 5,
1504+
"skills_required": [ "gun", 1 ],
1505+
"time": "2 m",
1506+
"batch_time_factors": [ 60, 5 ],
1507+
"book_learn": [ [ "recipe_bullets", 3 ] ],
1508+
"charges": 1,
1509+
"reversible": { "time": "5 s" },
1510+
"using": [ [ "bullet_forming", 2 ], [ "ammo_bullet", 3 ], [ "ammo_460sw", 1 ] ],
1511+
"proficiencies": [ { "proficiency": "prof_handloading" } ],
1512+
"//": "2683 mg gunpowder rounded to 27 100 mg 'pieces'",
1513+
"components": [ [ [ "gunpowder_magnum_pistol", 27 ] ], [ [ "copper", 1 ] ] ]
1514+
},
1515+
{
1516+
"result": "reloaded_460sw_jhp",
1517+
"type": "recipe",
1518+
"activity_level": "LIGHT_EXERCISE",
1519+
"category": "CC_AMMO",
1520+
"subcategory": "CSC_AMMO_PISTOL",
1521+
"skill_used": "fabrication",
1522+
"difficulty": 5,
1523+
"skills_required": [ "gun", 1 ],
1524+
"time": "2 m",
1525+
"batch_time_factors": [ 60, 5 ],
1526+
"book_learn": [ [ "recipe_bullets", 3 ] ],
1527+
"charges": 1,
1528+
"reversible": { "time": "5 s" },
1529+
"using": [ [ "bullet_forming", 2 ], [ "ammo_bullet", 4 ], [ "ammo_460sw", 1 ] ],
1530+
"proficiencies": [ { "proficiency": "prof_handloading" } ],
1531+
"//": "2624 mg gunpowder rounded to 26 100 mg 'pieces'",
1532+
"components": [ [ [ "gunpowder_magnum_pistol", 26 ] ], [ [ "copper", 1 ] ] ]
1533+
},
14961534
{
14971535
"result": "matchhead_9mm",
14981536
"type": "recipe",

data/json/requirements/ammo.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@
124124
"//": "Components required for .300 AAC Blackout ammo",
125125
"components": [ [ [ "300blk_casing", 1 ] ], [ [ "smrifle_primer", 1 ] ] ]
126126
},
127+
{
128+
"id": "ammo_460sw",
129+
"type": "requirement",
130+
"//": "Components required for .460 S&W ammo",
131+
"components": [ [ [ "460sw_casing", 1 ] ], [ [ "lgrifle_primer", 1 ] ] ]
132+
},
127133
{
128134
"id": "22_casehead",
129135
"type": "requirement",

data/json/uncraft/ammo/460sw.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[
2+
{
3+
"result": "460sw",
4+
"type": "uncraft",
5+
"activity_level": "MODERATE_EXERCISE",
6+
"skill_used": "gun",
7+
"time": "5 s",
8+
"qualities": [ { "id": "PULL", "level": 1 } ],
9+
"components": [
10+
[ [ "lead", 3 ] ],
11+
[ [ "460sw_casing", 1 ] ],
12+
[ [ "lgrifle_primer", 1 ] ],
13+
[ [ "gunpowder_magnum_pistol", 27 ] ],
14+
[ [ "copper", 1 ] ]
15+
]
16+
},
17+
{
18+
"result": "460sw_jhp",
19+
"type": "uncraft",
20+
"activity_level": "MODERATE_EXERCISE",
21+
"skill_used": "gun",
22+
"time": "5 s",
23+
"qualities": [ { "id": "PULL", "level": 1 } ],
24+
"components": [
25+
[ [ "lead", 4 ] ],
26+
[ [ "460sw_casing", 1 ] ],
27+
[ [ "lgrifle_primer", 1 ] ],
28+
[ [ "gunpowder_magnum_pistol", 26 ] ],
29+
[ [ "copper", 1 ] ]
30+
]
31+
}
32+
]

data/mods/Generic_Guns/ammo/gg_ammo_migration.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,17 @@
228228
"replace": "bp_pistol_magnum_ball"
229229
},
230230
{
231-
"id": [ "357mag_jhp", "44magnum", "454_Casull", "500_Magnum", "50ae_jhp", "460sw", "460sw_jhp" ],
231+
"id": [
232+
"357mag_jhp",
233+
"44magnum",
234+
"454_Casull",
235+
"500_Magnum",
236+
"50ae_jhp",
237+
"460sw",
238+
"460sw_jhp",
239+
"reloaded_460sw",
240+
"reloaded_460sw_jhp"
241+
],
232242
"type": "MIGRATION",
233243
"replace": "pistol_magnum_jhp"
234244
},

data/mods/Generic_Guns/recipes/recipe_obsolete.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,5 +1138,15 @@
11381138
"type": "recipe",
11391139
"result": "ruger_charger_auto",
11401140
"obsolete": true
1141+
},
1142+
{
1143+
"type": "recipe",
1144+
"result": "reloaded_460sw",
1145+
"obsolete": true
1146+
},
1147+
{
1148+
"type": "recipe",
1149+
"result": "reloaded_460sw_jhp",
1150+
"obsolete": true
11411151
}
11421152
]

0 commit comments

Comments
 (0)