Added a holographic ammo display, that provides the number of bullets left as a number next to the sprite.
Added the HAD to the devices and tools uplink, as well as to cargo under Zavodskoi.
Fixes a bug with gunshot residue when certain gloves are worn.
Converts reagents to use typepaths instead of IDs.
Centralises reagent spawning in a lot of places to use reagents_to_add instead of a variety of custom methods or initialise overrides.
You can now pump a shotgun or work a rifle's bolt without wielding it, but it takes two seconds to do so.
Using the double-barreled shotgun in-hand now ejects its ammunition instead of changing the firing mode. Changing the firing mode has been put on alt click.
This PR is pretty decent in size. The contents of changes are:
Modular guns rebalance:
Capacitors reliability was buffed: reinforced 80 -> 100, uranium 50 -> 60, teranium 45 -> 55, phoron 40 -> 50, bluespace 30 -> 45.
Added nano reinforced barrel which has 10 more reliability than reinforced barrel.
Added enhanced grip MK2, which has improved fire delay by 0.2 compared to MK1 grip.
Added stablity stock, which improves fire delay by 0.2 and accuracy by 0.5 compared to regular stock.
Added animations to lots of modular components like all capacitors, almost all modulators, lenses, etc.
Modular guns now have to be assembled inside of weapons analyzers. You cannot assemble them in hands anymore
Weapons analyzer:
Added machinery called Weapons analyzer. Main purpose of it is to display stats of any weapon or item. You can accepts anything that is an item, even trash(probably). For modular guns it will also display table of components and their statistics.
Modular guns now need to be assembled inside of weapons analyzer.
Added circuit board and ability to construct weapons analyzer in RND. Circuit board required tech: engineering = 3, data = 2, combat = 2.
Misc changes:
recharger and wall recharger now visually display on their icon how much charge is inside of weapon/gun that is being charged.
Plasma cutters can now have their power cells removed with screwdrivers, and replaced by using the power cells on them.
Plasma cutters now do 20 damage, up from 15.
More things can now be disassembled with the plasma cutter. Non-reinforced walls, non-reinforced tables, grills, machine frames.
Tweaked how gunjamming works. You now have to spam the Z button, or keep clicking the gun sprite if you don't have hotkeys, to unjam it.
Added sounds to jamming and unjamming guns.
-adds the harpoon gun, to the merchant list and as a raider weapon
-adds the foldable shotgun, to merchant list and as a raider weapon
-adds a new sprite and firing sound for the silenced pistol, giving it to the dpra consular as well
-makes harpoons better as a throwing weapon
-tweaks some guns' names