Template:Missile weapon data store

From Caves of Qud Wiki
Jump to navigation Jump to search

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 default description
ammo string NULL name of the ammo used by this weapon, such as "energy" or "lead slug"
accuracy integer 0 accuracy value of the missile weapon
shots integer 1 number of projectiles fired per action
ammoperaction integer 1 amount of ammo consumed per action
maxammo integer NULL max ammo that can be loaded into the weapon magazine, only for magazine-loaded firearms
ammodamagetypes string NULL damage attribute(s) associated with the weapon's projectiles
penetratingammo boolean NULL true if the weapon's projectiles pierce through targets (ex: Eigenrifle)