Submachine Gun

Submachine Gun is a one-handed procedurally generated ranged weapon model. It can be common, uncommon, and rare. Common Submachine Guns will shoot bullets, while uncommon and rare ones will shoot elemental plasma shots.

Base Statistics

 * Base DPS: 8.0-9.0 health/s (Common), 8.5-9.5 health/s (Uncommon/Rare)
 * Fire Time: 0.08(Uncommon/Rare)/0.09(Common)-0.15 seconds between singly-fired shots (~6.7-11.1(Common)/12.5(Uncommon/Rare) shots/s)
 * Energy Usage: 24.0-27.0 energy/s (Common), 25.5-28.5 energy/s (Uncommon/Rare)
 * Fire Mode: Automatic, Burst
 * Bullets per Burst: 2-4
 * Burst Spacing: 0.075 seconds between consecutive bullets
 * Knockback: 4-8 (extremely weak to weak knockback)
 * Crit Chance: 1%
 * Base Crit Damage Bonus: +3 damage (Common), +4 damage (Uncommon), +5 damage (Rare)

Elemental Damage
Uncommon and rare Submachine Guns are assigned one of seven elements (non-physical damage types) on generation. Though both uncommon and rare Submachine Guns exhibit elemental visuals, only rare Submachine Guns inflict status effects.


 * [[File:Fire (Attack).png]]Fire: Inflicts Burning
 * [[File:Frost (Attack).png]]Ice: Inflicts Frost
 * [[File:Poison (Attack).png]]Poison: Inflicts Poisoned
 * [[File:Electric (Attack).png]]Electric: Inflicts Electrified
 * [[File:Radioactive (Attack).png]]Radiation: Inflicts Radiation Burn
 * [[File:Shadow (Attack).png]]Shadow: Inflicts Shadow Gas
 * [[File:Cosmic (Attack).png]]Cosmic: Inflicts -Armor

Special Attacks
Submachine Guns, like most one-handed weapon types, cannot generate with any special attacks.

Name Pool
https://github.com/sayterdarkwynd/FrackinUniverse/blob/master/items/active/weapons/ranged/machinepistol/swtjc_ewg_smgnames.config

Craftable Variants
Currently, Submachine Guns are only procedurally generated, meaning they can only be encountered through chests.

Data
itemName: swtjc_ewg_commonsubmachinegun, swtjc_ewg_uncommonsubmachinegun, swtjc_ewg_raresubmachinegun