Skip to content

Commit

Permalink
Add a proficiency for handloading, and a new profession (#47244)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaVeyanFiend authored and ZhilkinSerg committed Mar 25, 2021
1 parent 8c39905 commit 1d9d7f6
Show file tree
Hide file tree
Showing 13 changed files with 243 additions and 1 deletion.
1 change: 1 addition & 0 deletions data/json/items/book/fabrication.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
"skill": "fabrication",
"required_level": 3,
"max_level": 6,
"proficiencies": [ { "proficiency": "prof_handloading", "time_factor": 0.8, "fail_factor": 0.5 } ],
"intelligence": 9,
"time": "30 m"
},
Expand Down
43 changes: 43 additions & 0 deletions data/json/professions.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,15 @@
{ "item": "38_speedloader", "ammo-item": "357mag_fmj", "charges": 7 }
]
},
{
"type": "item_group",
"subtype": "collection",
"id": "m1911_10_magazines_reloaded",
"entries": [
{ "item": "m1911_10mag", "ammo-item": "reloaded_10mm_fmj", "charges": 8 },
{ "item": "m1911_10mag", "ammo-item": "reloaded_10mm_fmj", "charges": 8 }
]
},
{
"type": "item_group",
"subtype": "collection",
Expand Down Expand Up @@ -3912,5 +3921,39 @@
"male": [ "boxer_shorts" ],
"female": [ "bra", "panties" ]
}
},
{
"type": "profession",
"id": "handloader",
"name": "Hobby Handloader",
"description": "Out of financial concerns and an appreciation for power, you took up handloading for your mighty handgun. Now that the gunstores are closed, your skills ensure you won't be running out of ammo anytime soon.",
"points": 5,
"proficiencies": [ "prof_handloading" ],
"items": {
"both": {
"items": [
"pants",
"dress_shirt",
"wristwatch",
"socks",
"boots",
"jacket_light",
"gloves_fingerless",
"press",
"puller",
"slingpack",
"hat_ball"
],
"entries": [
{ "group": "charged_cell_phone" },
{ "group": "m1911_10_magazines_reloaded" },
{ "item": "ear_plugs", "custom-flags": [ "no_auto_equip" ] },
{ "item": "m1911_10", "ammo-item": "reloaded_10mm_fmj", "charges": 8, "container-item": "holster" }
]
},
"male": [ "briefs" ],
"female": [ "bra", "panties" ]
},
"skills": [ { "level": 3, "name": "fabrication" }, { "level": 3, "name": "gun" }, { "level": 3, "name": "pistol" } ]
}
]
10 changes: 10 additions & 0 deletions data/json/proficiencies/misc.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,15 @@
"default_fail_multiplier": 2,
"time_to_learn": "10 h",
"required_proficiencies": [ "prof_fine_metalsmithing", "prof_redsmithing" ]
},
{
"type": "proficiency",
"id": "prof_handloading",
"name": { "str": "Handloading" },
"description": "You know how to accurately measure powder and projectile weights for reloading firearm cartridges.",
"can_learn": true,
"default_time_multiplier": 1.5,
"default_fail_multiplier": 5,
"time_to_learn": "8 h"
}
]
12 changes: 12 additions & 0 deletions data/json/recipes/ammo/40x46mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"reversible": true,
"//": "186 mg gunpowder rounded to 2 100 mg 'pieces', same as factory M576 load.",
"using": [ [ "shot_forming", 1 ], [ "ammo_bullet", 8 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [
Expand All @@ -40,6 +41,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "shot_forming", 1 ], [ "ammo_bullet", 8 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"//": "186 mg gunpowder rounded to 2 100 mg 'pieces', same as factory M576 load.",
Expand All @@ -66,6 +68,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "bullet_forming", 1 ], [ "ammo_bullet", 8 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"//": "186 mg gunpowder rounded to 2 100 mg 'pieces', same as factory M576 load.",
Expand All @@ -92,6 +95,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "bullet_forming", 1 ], [ "ammo_bullet", 8 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"//": "186 mg gunpowder rounded to 2 100 mg 'pieces', same as factory M576 load.",
Expand Down Expand Up @@ -120,6 +124,7 @@
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"//": "186 mg gunpowder rounded to 2 100 mg 'pieces', same as factory M576 load.",
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"components": [
[ [ "sheet_metal_small", 1 ] ],
[ [ "paper", 1 ], [ "wax", 1 ] ],
Expand All @@ -146,6 +151,7 @@
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"//": "186 mg gunpowder rounded to 2 100 mg 'pieces', same as factory M576 load.",
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"components": [
[ [ "sheet_metal_small", 1 ] ],
[ [ "paper", 1 ], [ "wax", 1 ] ],
Expand All @@ -170,6 +176,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "shot_forming", 1 ], [ "ammo_bullet", 8 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [
Expand All @@ -195,6 +202,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "shot_forming", 1 ], [ "ammo_bullet", 8 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [
Expand All @@ -220,6 +228,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "bullet_forming", 1 ], [ "ammo_bullet", 8 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [
Expand All @@ -245,6 +254,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "bullet_forming", 1 ], [ "ammo_bullet", 8 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [
Expand All @@ -271,6 +281,7 @@
"reversible": true,
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"components": [
[ [ "sheet_metal_small", 1 ] ],
[ [ "paper", 1 ], [ "wax", 1 ] ],
Expand All @@ -296,6 +307,7 @@
"reversible": true,
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"components": [
[ [ "sheet_metal_small", 1 ] ],
[ [ "paper", 1 ], [ "wax", 1 ] ],
Expand Down
6 changes: 6 additions & 0 deletions data/json/recipes/ammo/40x53mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "shot_forming", 12 ], [ "ammo_bullet", 126 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"//": "11.5x the propellant and 11.5x the payload of 12 gauge 00 shot load. 13409 mg gunpowder rounded to 134 100 mg 'pieces'",
Expand All @@ -40,6 +41,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "bullet_forming", 12 ], [ "ammo_bullet", 115 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"//": "11.5x the propellant and 11.5x the payload of 12 gauge slug load. 19366 mg gunpowder rounded to 194 100 mg 'pieces'",
Expand Down Expand Up @@ -68,6 +70,7 @@
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"//": "11.5x the propellant and 11.5x the payload of 12 gauge flechette load. 8625 mg gunpowder rounded to 86 100 mg 'pieces'",
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"components": [
[ [ "sheet_metal_small", 1 ] ],
[ [ "paper", 1 ], [ "wax", 1 ] ],
Expand All @@ -92,6 +95,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "shot_forming", 12 ], [ "ammo_bullet", 126 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [
Expand All @@ -117,6 +121,7 @@
"charges": 1,
"reversible": true,
"using": [ [ "bullet_forming", 12 ], [ "ammo_bullet", 115 ] ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [
Expand All @@ -143,6 +148,7 @@
"reversible": true,
"tools": [ [ [ "press", -1 ] ], [ [ "swage", -1 ] ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"components": [
[ [ "sheet_metal_small", 1 ] ],
[ [ "paper", 1 ], [ "wax", 1 ] ],
Expand Down
Loading

0 comments on commit 1d9d7f6

Please sign in to comment.