I am now actually trying to make my first true weapon mod however from testing it appears that the test gunmod that I am using to try it for some reason will only accept accept the base ammo that the type is based on rather than every ammunition of that type.
Edit: this only seems to be happening with the 9mm right now. I can only geuss it is because the ammo type is the same name as the base ammo.
EDIT AGAIN:So I’m going to have to do a LOT of overrides in order to get this thing to work properly apparently. Basically here is what seems to be the problem at least if I want to go down the path of having a gun that uses exclusively an internal magazine with gun mods that add the chamber and barrel for it. It appears that the ammo_modifier thing works fine with magazines requiring no additional work if I were to go down that path but for internal magazine weapons it seems that if the ammo selected has an ammo that uses the same id as the ammo type the weapon will only use that particular ammo which sucks.
Summary
[
{
“id”: “sshpbase”,
“type”: “GUN”,
“reload_noise_volume”: 10,
“name”: “Handmade Single Shot Pistol Base”,
“name_plural”: “Handmade Single Shot Pistol Bases”,
“//”: “Just as it says this is a base made to be built upon.”,
“description”: “A rough hewn grip with a spring loaded homemade hammer that is operated by bringing the hammer down with your thumb and releasing it to fire a round. While not a great setup it is designed with the intent of using whatever ammunition is on hand”,
“weight”: 50,
“volume”: 1,
“price”: 20,
“to_hit”: -1,
“bashing”: 3,
“material”: [ “steel”, “wood” ],
“symbol”: “(”,
“color”: “brown”,
“ammo”: “nope”,
“skill”: “pistol”,
“ranged_damage”: 0,
“dispersion”: 480,
“durability”: 3,
“clip_size”: 1,
“reload”: 200,
“valid_mod_locations”: [ [ “accessories”, 4 ], [ “grip”, 1 ], [ “sights”, 1 ], [ “underbarrel”, 1 ], [ “barrel and chamber”, 1 ] ],
“flags”: [ “RELOAD_ONE”, “RELOAD_EJECT” ]
},{
“id”: “sshp9x19mmc”,
“type”: “GUNMOD”,
“name”: “Pipe 9x19mm chamber”,
“description”: “A really short piece of plumbing that is the correct size to snugly fit a single 9x19mm pistol round.”,
“weight”: 60,
“volume”: 1,
“price”: 20,
“to_hit”: 0,
“bashing”: 0,
“material”: [ “steel” ],
“symbol”: “:”,
“color”: “light_gray”,
“location”: “barrel and chamber”,
“mod_targets”: [ “rifle”, “pistol” ],
“acceptable_ammo”: [ “nope” ],
“ammo_modifier”: “9mm”,
“damage_modifier”: -2,
“dispersion_modifier”: 0,
“min_skills”: [ [ “mechanics”, 0 ] ]
}
]