Skip to content

Commit

Permalink
Overhaul muzzle loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed Aug 17, 2021
1 parent 8d6f659 commit 2ebd2bd
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 37 deletions.
4 changes: 2 additions & 2 deletions data/json/items/ammo/flintlock.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"stack_size": 10,
"ammo_type": "flintlock",
"range": 6,
"damage": { "damage_type": "bullet", "amount": 50 },
"damage": { "damage_type": "bullet", "amount": 30 },
"dispersion": 90,
"recoil": 1500,
"loudness": 70,
Expand All @@ -37,7 +37,7 @@
"stack_size": 10,
"ammo_type": "flintlock",
"range": 4,
"damage": { "damage_type": "bullet", "amount": 45 },
"damage": { "damage_type": "bullet", "amount": 25 },
"dispersion": 20,
"recoil": 1500,
"loudness": 90,
Expand Down
5 changes: 3 additions & 2 deletions data/json/items/gun/blunderbuss.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "GUN",
"reload_noise_volume": 10,
"name": { "str": "blunderbuss", "str_pl": "blunderbusses" },
"description": "A homemade version of a crude precursor to the shotgun. Able to fire just about anything you put down the barrel, but it will degrade pretty quick.",
"description": "A homemade version of a crude precursor to the shotgun.",
"ascii_picture": "blunderbuss",
"weight": "8267 g",
"volume": "3 L",
Expand All @@ -23,7 +23,8 @@
"durability": 3,
"loudness": 200,
"clip_size": 1,
"reload": 300,
"//": "Similar reload process to a musket, which sources place at up to 4 / minute for elite professionals. Nominal 30s will be cut down to 15s at skill 10.",
"reload": 3000,
"valid_mod_locations": [
[ "sling", 1 ],
[ "stock", 1 ],
Expand Down
9 changes: 5 additions & 4 deletions data/json/items/gun/flintlock.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"weight": "3600 g",
"longest_side": "1202 mm",
"relative": { "range": -2, "ranged_damage": { "damage_type": "bullet", "amount": -4 } },
"proportional": { "bashing": 0.6, "dispersion": 1.35, "reload": 0.6 },
"proportional": { "bashing": 0.6, "dispersion": 1.35, "reload": 0.9 },
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "flintlock": 1 } } ]
},
{
Expand Down Expand Up @@ -63,7 +63,7 @@
"durability": 6,
"blackpowder_tolerance": 96,
"clip_size": 1,
"reload": 600,
"reload": 2500,
"valid_mod_locations": [
[ "accessories", 1 ],
[ "grip mount", 1 ],
Expand Down Expand Up @@ -100,7 +100,8 @@
"durability": 6,
"blackpowder_tolerance": 96,
"clip_size": 1,
"reload": 1200,
"//": "Sources place muzzle loader firing rate at at up to 4 / minute for elite professionals. Nominal 30s will be cut down to 15s at skill 10.",
"reload": 3000,
"valid_mod_locations": [
[ "accessories", 1 ],
[ "sling", 1 ],
Expand All @@ -125,6 +126,6 @@
"price": 42000,
"price_postapoc": 2500,
"relative": { "range": 2 },
"proportional": { "dispersion": 0.5, "reload": 2.0 }
"proportional": { "dispersion": 0.5, "reload": 1.1 }
}
]
35 changes: 27 additions & 8 deletions data/json/items/handloaded_bullets.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"description": "A prepared blunderbuss shot of a large hunk of metal. Better for distance.",
"material": [ "paper", "powder" ],
"volume": "100 ml",
"weight": "3 g",
"weight": "26 g",
"bashing": 1,
"ammo_type": "blunderbuss",
"damage": { "damage_type": "stab", "amount": 60, "armor_penetration": 8 },
"damage": { "damage_type": "bullet", "amount": 40, "armor_penetration": 4 },
"range": 12,
"dispersion": 60,
"recoil": 840,
Expand All @@ -24,16 +24,35 @@
"id": "blun_shot",
"price": 4500,
"price_postapoc": 50,
"name": { "str": "blunderbuss scrap shot" },
"symbol": "=",
"color": "red",
"description": "A prepared blunderbuss shot of miscellaneous metal bits.",
"material": [ "paper", "powder" ],
"volume": "100 ml",
"weight": "28 g",
"bashing": 1,
"ammo_type": "blunderbuss",
"damage": { "damage_type": "bullet", "amount": 35 },
"range": 6,
"recoil": 780,
"effects": [ "COOKOFF", "SHOT", "RECYCLED" ]
},
{
"type": "AMMO",
"id": "blun_lead_shot",
"price": 4500,
"price_postapoc": 50,
"name": { "str": "blunderbuss shot" },
"symbol": "=",
"color": "red",
"description": "A prepared blunderbuss shot of marbles, pebbles, bearings, basically whatever is at hand. The homemade pellet spread and number makes up for the shoddy quality.",
"description": "A prepared blunderbuss shot of lead pellets.",
"material": [ "paper", "powder" ],
"volume": "100 ml",
"weight": "2 g",
"weight": "26 g",
"bashing": 1,
"ammo_type": "blunderbuss",
"damage": { "damage_type": "stab", "amount": 60 },
"damage": { "damage_type": "bullet", "amount": 41 },
"range": 6,
"recoil": 780,
"effects": [ "COOKOFF", "SHOT", "RECYCLED" ]
Expand All @@ -46,13 +65,13 @@
"name": { "str": "blunderbuss flechette" },
"symbol": "=",
"color": "red",
"description": "A prepared blunderbuss shot of homemade flechette made out of nails. Shreds armor.",
"description": "A prepared blunderbuss shot of homemade flechette made out of nails.",
"material": [ "plastic", "powder" ],
"volume": "100 ml",
"weight": "3 g",
"weight": "18 g",
"bashing": 1,
"ammo_type": "blunderbuss",
"damage": { "damage_type": "stab", "amount": 53, "armor_penetration": 12 },
"damage": { "damage_type": "bullet", "amount": 35, "armor_penetration": 10 },
"range": 10,
"recoil": 840,
"effects": [ "COOKOFF", "SHOT", "RECYCLED" ]
Expand Down
30 changes: 9 additions & 21 deletions data/json/recipes/recipe_ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@
{
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"result": "blun_shot",
"result": "blun_lead_shot",
"category": "CC_AMMO",
"subcategory": "CSC_AMMO_SHOT",
"skill_used": "fabrication",
Expand All @@ -550,45 +550,33 @@
"book_learn": [ [ "recipe_bullets", 2 ], [ "manual_shotgun", 2 ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"components": [
[ [ "gunpowder", 20 ], [ "chem_black_powder", 20 ] ],
[
[ "bb", 24 ],
[ "clockworks", 1 ],
[ "pebble", 16 ],
[ "pebble_clay", 16 ],
[ "marble", 16 ],
[ "bearing", 16 ],
[ "glass_shard", 1 ]
],
[ [ "paper", 1 ], [ "aluminum_foil", 1 ] ]
]
"components": [ [ [ "gunpowder", 20 ], [ "chem_black_powder", 20 ] ], [ [ "lead", 24 ] ], [ [ "paper", 1 ], [ "aluminum_foil", 1 ] ] ]
},
{
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"result": "blun_shot",
"id_suffix": "using_big_scrap",
"category": "CC_AMMO",
"subcategory": "CSC_AMMO_SHOT",
"skill_used": "fabrication",
"skills_required": [ "gun", 1 ],
"difficulty": 3,
"time": "50 s",
"time": "30 s",
"autolearn": true,
"book_learn": [ [ "recipe_bullets", 2 ], [ "manual_shotgun", 2 ] ],
"qualities": [ { "id": "CUT", "level": 1 }, { "id": "SAW_M", "level": 1 } ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"components": [
[ [ "gunpowder", 20 ], [ "chem_black_powder", 20 ] ],
[ [ "scrap", 1 ], [ "nail", 8 ], [ "copper", 16 ], [ "lead", 16 ] ],
[ [ "bb", 24 ], [ "clockworks", 1 ], [ "pebble", 16 ], [ "bearing", 16 ] ],
[ [ "paper", 1 ], [ "aluminum_foil", 1 ] ]
]
},
{
"type": "recipe",
"activity_level": "MODERATE_EXERCISE",
"result": "blun_slug",
"activity_level": "LIGHT_EXERCISE",
"result": "blun_shot",
"id_suffix": "using_big_scrap",
"category": "CC_AMMO",
"subcategory": "CSC_AMMO_SHOT",
"skill_used": "fabrication",
Expand All @@ -601,7 +589,7 @@
"proficiencies": [ { "proficiency": "prof_handloading" } ],
"components": [
[ [ "gunpowder", 20 ], [ "chem_black_powder", 20 ] ],
[ [ "rebar", 1 ], [ "spear_rebar", 1 ], [ "rebar_rail", 1 ], [ "steel_rail", 1 ], [ "scrap", 1 ] ],
[ [ "scrap", 1 ], [ "nail", 8 ], [ "copper", 16 ] ],
[ [ "paper", 1 ], [ "aluminum_foil", 1 ] ]
]
},
Expand Down
5 changes: 5 additions & 0 deletions data/json/recipes/recipe_obsolete.json
Original file line number Diff line number Diff line change
Expand Up @@ -2947,5 +2947,10 @@
"type": "recipe",
"result": "rope_makeshift_30",
"obsolete": true
},
{
"type": "recipe",
"result": "blun_slug",
"obsolete": true
}
]
1 change: 1 addition & 0 deletions doc/GAME_BALANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ Ammo ID | Description | Energy, J | Dmg | Base Brl |
.50 BMG M33 Ball | 706.7gr bullet | 18013 | 134 | 45in | |
.50 BMG M903 SLAP | 355gr tungsten AP bullet | 17083 | 131 | 45in | Can't be used with M107A1 |
.410 000 shot | 5 000 pellets | 1530 | 39 | 18in | |
.70 blunderbuss shot | 400gr lead ball | 1200 | 41 | 16in | Very generous FPS |

# LIQUIDS:
Multi-charge items are weighed by the charge/use. If you have an item that contains 40 uses, it'll weigh 40x as much (when found in-game) as you entered in the JSON. Liquids are priced by the 250mL unit, but handled in containers. This can cause problems if you create something that comes in (say) a gallon jug (15 charges) and price it at the cost of a jug's worth: it'll be 15x as expensive as intended.
Expand Down

0 comments on commit 2ebd2bd

Please sign in to comment.