Bitfighter  021
The Bitfighter Lua Documentation - Robots, Levelgens, and Plugins
Weapon

The Weapon enum can be used to represent a weapon in some functions. It can also be used with the WeaponInfo table to provide data about a weapon's statistics:

-- Get information like this:
print(WeaponInfo[Weapon.Phaser].damage)
-- This will print all info for all weapons
for i = Weapon.Phaser, Weapon.Railgun do
print()
for k, v in pairs(WeaponInfo[i]) do
print(k .. ": " .. tostring(v))
end
end

The elements of this table are tables with the following keys:

Weapon