pf2e.fyi
From Pathfinder #180: The Smoking Gun, which isn't enabled.

Erraticannon

ITEM 9
Price 700 gp
Usage held in 1 hand
Bulk 1
Category simple
Group firearm
Damage 1d6 piercing
Range 30 ft.
Reload 1

This +1 striking Hand Cannon is festooned with so many add-ons and modifications it's barely recognizable as a firearm. A large hopper at the top of the gun allows any type of ammunition (including arrows, bolts, stone bullets, and firearm rounds) to be fed into the machine, which converts the ammunition into blasts of raw, destructive energy. Each time you attack with the weapon, roll 1d8 to determine the damage type of the Strike—all of the erraticannon's weapon damage is converted to that damage type for the Strike. Additionally, roll another d8, and the erraticannon deals 1d6 additional damage of this second damage type.

Effect: Erraticannon

d8Damage Type
1Acid
2Cold
3Electricity
4Fire
5Sonic
6Bludgeoning
7Piercing
8Slashing

Activate
Frequency once per day
Effect You set the erraticannon to maximum power and unleash a blast that deals 1d6 acid, 1d6 cold, 1d6 electricity, 1d6 fire, 1d6 sonic, 1d6 bludgeoning, 1d6 piercing, and 1d6 slashing damage to all creatures in a 30-foot cone (DC 25 basic Reflex save).
Pathfinder #180: The Smoking GunOGL