Versions in this module Expand all Collapse all v0 v0.1.2 Oct 31, 2024 v0.1.1 Oct 31, 2024 v0.1.0 Oct 31, 2024 Changes in this version + const ExplosionDistanceScale + const ExplosionSelfDamageScale + var WeaponsWithAmmo = []ID + func FlattenAmmo(m map[ID]int32) (values []int32) + type ID int32 + const GrenadeLauncher + const Minigun + const Pistol + const Rifle + const RocketLauncher + const Saw + const Shotgun + type Weapon struct + AmmoPickUpSize int32 + Damage int32 + ExplosionRadius float64 + HitPush int32 + ID ID + ProjectileSpeed int32 + Range float64 + Rays int32 + Recoil int32 + ReloadTime int32 + Sound sound.ID + Spread int32 + TimeToLive int32 + func ByID(id ID) Weapon + func SpawnAmmoCapture() (map[ID]int32, Weapon) + func SpawnAmmoEffic() (map[ID]int32, Weapon) + func SpawnAmmoFFA() (map[ID]int32, Weapon) + func SpawnAmmoInsta() (map[ID]int32, Weapon) + func SpawnAmmoTactics() (map[ID]int32, Weapon)