Template:Missile weapon data store

Revision as of 18:33, 12 September 2021 by Egocarib (talk | contribs) (Define MissileWeaponData table)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template defines the table "MissileWeaponData". View table.

This template should be called exclusively from the Template:Item page. The template has no actual output, it simply stores the data in cargo.

parameter type required? default description
ammo string yes name of the ammo used by this weapon, such as "energy" or "lead slug"
accuracy integer no 0 accuracy value of the missile weapon
shots integer no 1 number of projectiles fired per action
ammoperaction integer no 1 amount of ammo consumed per action
maxammo integer no NULL max ammo that can be loaded into the weapon magazine, only for magazine-loaded firearms
ammodamagetypes string no NULL damage attribute(s) associated with the weapon's projectiles