Skip to content

WeaponSettings

Defined in: packages/engine/src/gameplay/weapons/traits.ts:16

What a weapon does, which the room holds every shot to.

Property Type Description
damage number Health one hit takes.
kind WeaponKind -
model? string The registered model a projectile is drawn as; none draws nothing.
range number Metres a shot reaches.
shotsPerSecond number The most shots a second a player fires with it.
speed? number Metres a second a projectile flies: defaultProjectileSpeed when left out. An instant shot has none.