I had a great idea the other day and decided to put it right into my game by pasting the code into the bottoms of the recipes, weapons, and ammo json files of my game. You guys can take a look at it and if you want, put it in your game too. I really like the idea and I have had some fun with it myself. The reason I made it was because I wanted a reasonable firearm that increased my marksmanship skill without tearing through my already scarce ammunition. The result of my frustration: the musket, craftable, along with easy-to-craft ammunition. It just seemed logical to me that once you got good enough with weapons, you should be able to build one yourself and have a renewable source of ammunition. I tried to make it feasible for actual combat without making it too OP, but feel free to give me feedback or criticize.
{
“id”: “musket”,
“type”: “GUN”,
“symbol”: “(”,
“color”: “brown”,
“name”: “musket”,
“description”: “A revolutionary-era firearm that is the historical predecessor of the modern-day muzzleloader. While it is a fairly cheap handmade version of the classic weapon, it still packs a punch. Notably low durability, clip size, and accuracy, but still holds up against zombies and oppressive imperialists alike.”,
“price”: 500,
“material”: [“iron”, “wood”],
“skill”: “rifle”,
“ammo”: “cartridge”,
“weight”: 4200,
“volume”: 8,
“bashing”: 15,
“cutting”: 0,
“to_hit”: 2,
“ranged_damage”: 10,
“range”: 4,
“dispersion”: 7,
“recoil”: 4,
“durability”: 2,
“burst”: 0,
“clip_size”: 1,
“reload”: 200
}
{
“type” : “recipe”,
“result”: “musket”,
“category”: “CC_WEAPON”,
“skill_used”: “mechanics”,
“skills_required”: [ “gun”, 3 ], [ “fabrication”, 3], [ “rifle” 1],
“difficulty”: 3,
“time”: 12000,
“reversible”: true,
“autolearn”: true,
“qualities” : [
{“id”:“CUT”,“level”:1,“amount”:1}
],
“tools”: [
[
[ “hammer”, -1 ],
[ “toolset”, -1 ]
],
[
[ “screwdriver”, -1 ],
[ “toolset”, -1 ]
]
],
“components”:
[
[
[ “pipe”, 1 ]
],
[
[ “2x4”, 1 ]
],
[
[ “spring”, 1]
],
[
[ “stick”, 2]
],
[
[ “nail”, 5]
],
[
[ “leather”, 2],
[ “fur”, 2]
],
[
[ “scrap”, 4]
]
]
}
{ “type” : “AMMO”,
“id” : “cartridge”,
“price” : 100,
“name” : “cartridge”,
“symbol” : “=”,
“color” : “light_gray”,
“description” : “A makeshift revolutionary-era bullet, made to be used in muskets. Essentially just a ball-bearing wrapped with a rag and filled with some firing powder. These rounds inflict reasonable damage against unarmored targets and have a moderate range.”,
“material” : [“steel”, “cotton”],
“volume” : 1,
“weight” : 1,
“bashing” : -1,
“cutting” : 0,
“to_hit” : 0,
“ammo_type” : “cartridge”,
“casing” : “NULL”,
“damage” : 30,
“pierce” : 7,
“range” : 17,
“dispersion” : 3,
“recoil” : 7,
“count” : 10,
“effects” : [“COOKOFF”, “SHOT”]
}
{
“type” : “recipe”,
“result”: “cartridge”,
“category”: “CC_AMMO”,
“skill_used”: “fabrication”,
“skills_required”: [ “gun”, 3 ],
“difficulty”: 1,
“time”: 2500,
“reversible”: false,
“autolearn”: true,
“qualities” : [
{“id”:“CUT”,“level”:1,“amount”:1}
],
“components”: [
[
[ “rag”, 1 ]
],
[
[ “gunpowder”, 50 ],
[ “smpistol_primer”, 50],
[ “shotgun_primer”, 50],
[ “lgpistol_primer”, 50],
[ “smrifle_primer”, 50],
[ “lgrifle_primer”, 50]
],
[
[ “bearing”, 10 ]
]
]
}
{ “type” : “AMMO”,
“id” : “fire_cartridge”,
“price” : 100,
“name” : “incendiary cartridge”,
“symbol” : “=”,
“color” : “light_gray”,
“description” : “A makeshift revolutionary-era bullet, made to be used in muskets. Essentially just a ball-bearing wrapped with a rag and filled with some firing powder. These rounds have been modified to deal extra incendiary damage to targets.”,
“material” : [“steel”, “cotton”],
“volume” : 1,
“weight” : 2,
“bashing” : -1,
“cutting” : 0,
“to_hit” : 0,
“ammo_type” : “cartridge”,
“casing” : “NULL”,
“damage” : 25,
“pierce” : 7,
“range” : 15,
“dispersion” : 5,
“recoil” : 11,
“count” : 10,
“effects” : [“COOKOFF”, “SHOT”, “INCENDIARY”]
}
{
“type” : “recipe”,
“result”: “fire_cartridge”,
“category”: “CC_AMMO”,
“skill_used”: “fabrication”,
“skills_required”: [ “gun”, 4 ],
“difficulty”: 2,
“time”: 2500,
“reversible”: false,
“autolearn”: true,
“qualities” : [
{“id”:“CUT”,“level”:1,“amount”:1}
],
“components”: [
[
[ “rag”, 2 ]
],
[
[ “gunpowder”, 50 ],
[ “smpistol_primer”, 50],
[ “shotgun_primer”, 50],
[ “lgpistol_primer”, 50],
[ “smrifle_primer”, 50],
[ “lgrifle_primer”, 50]
],
[
[ “bearing”, 10 ]
],
[
[ “incendiary”, 50 ]
]
]
}
{ “type” : “AMMO”,
“id” : “packed_cartridge”,
“price” : 100,
“name” : “flechette cartridge”,
“symbol” : “=”,
“color” : “light_gray”,
“description” : “A makeshift revolutionary-era bullet, made to be used in muskets. Essentially just a ball-bearing wrapped with a rag and filled with some firing powder. These rounds have been packed with scrap metal and extra powder, resulting in considerably more stopping power at the cost of extra weight and significantly lower accuracy and range.”,
“material” : [“steel”, “cotton”],
“volume” : 2,
“weight” : 2,
“bashing” : -1,
“cutting” : 0,
“to_hit” : 0,
“ammo_type” : “cartridge”,
“casing” : “NULL”,
“damage” : 37,
“pierce” : 25,
“range” : 5,
“dispersion” : 10,
“recoil” : 24,
“count” : 10,
“effects” : [“COOKOFF”, “SHOT”]
}
{
“type” : “recipe”,
“result”: “packed_cartridge”,
“category”: “CC_AMMO”,
“skill_used”: “fabrication”,
“skills_required”: [ “gun”, 5 ],
“difficulty”: 3,
“time”: 2500,
“reversible”: false,
“autolearn”: true,
“qualities” : [
{“id”:“CUT”,“level”:1,“amount”:1}
],
“components”: [
[
[ “rag”, 1 ]
],
[
[ “gunpowder”, 100 ],
[ “smpistol_primer”, 100],
[ “shotgun_primer”, 100],
[ “lgpistol_primer”, 100],
[ “smrifle_primer”, 100],
[ “lgrifle_primer”, 100]
],
[
[ “bearing”, 10 ]
],
[
[ “scrap”, 5]
]
]
}