The following are optional:
- # = 1, 2, 3 or 4.
Weapons can use the Offset keyword in their weapon-exclusive states to adjust the position of the HUD sprite, and may call the A_WeaponReady function to reset the offsets.
Weapons are also subject to the sv_fastweapons console variable and they consume ammo. Weapons need to be assigned weapon slots to be easily selectable in game. Weapons should provide an Inventory.Icon as it is required by some HUDs.