i give you a working tesla cannon!
{
“id”: “tesla_cannon”,
“type”: “GUN”,
“symbol”: “(”,
“color”: “light_blue”,
“name”: “tesla cannon”,
“description”: “A gun that harnesses the energy of tesla coils and redirects it into a damaging lightning beam.”,
“rarity”: 1,
“price”: 13000,
“material”: “steel”,
“flags”: “MODE_BURST”,
“skill”: “rifle”,
“ammo”: “fusion”,
“weight”: 20,
“volume”: 15,
“bashing”: 12,
“cutting”: 0,
“to_hit”: 1,
“ranged_damage”: 15,
“range”: 20,
“dispersion”: 0,
“recoil”: 0,
“durability”: 10,
“burst”: 5,
“clip_size”: 25,
“reload”: 150
},
though sometimes when using lightning a single shot will fire the whole mag.
Dont forget to add it to itemgroups along with Lightning ammo which is already in game