Template:Missile weapon data store: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
! parameter | ! parameter | ||
! type | ! type | ||
! default | ! default | ||
! description | ! description | ||
Line 23: | Line 22: | ||
| ammo | | ammo | ||
| string | | string | ||
| | | NULL | ||
| name of the ammo used by this weapon, such as "energy" or "lead slug" | | name of the ammo used by this weapon, such as "energy" or "lead slug" | ||
|- | |- | ||
| accuracy | | accuracy | ||
| integer | | integer | ||
| 0 | | 0 | ||
| accuracy value of the missile weapon | | accuracy value of the missile weapon | ||
Line 35: | Line 32: | ||
| shots | | shots | ||
| integer | | integer | ||
| 1 | | 1 | ||
| number of projectiles fired per action | | number of projectiles fired per action | ||
Line 41: | Line 37: | ||
| ammoperaction | | ammoperaction | ||
| integer | | integer | ||
| 1 | | 1 | ||
| amount of ammo consumed per action | | amount of ammo consumed per action | ||
Line 47: | Line 42: | ||
| maxammo | | maxammo | ||
| integer | | integer | ||
| NULL | | NULL | ||
| max ammo that can be loaded into the weapon magazine, only for magazine-loaded firearms | | max ammo that can be loaded into the weapon magazine, only for magazine-loaded firearms | ||
Line 53: | Line 47: | ||
| ammodamagetypes | | ammodamagetypes | ||
| string | | string | ||
| NULL | | NULL | ||
| damage attribute(s) associated with the weapon's projectiles | | damage attribute(s) associated with the weapon's projectiles |
Revision as of 19:32, 12 September 2021
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 |