Template:Missile weapon data store: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(add penetratingammo) |
||
Line 8: | Line 8: | ||
|MaxAmmo=Integer | |MaxAmmo=Integer | ||
|AmmoDamageTypes=String | |AmmoDamageTypes=String | ||
|PenetratingAmmo=Boolean | |||
|JoinKey=String | |JoinKey=String | ||
}} | }} | ||
Line 49: | Line 50: | ||
| NULL | | NULL | ||
| damage attribute(s) associated with the weapon's projectiles | | damage attribute(s) associated with the weapon's projectiles | ||
|- | |||
| penetratingammo | |||
| boolean | |||
| NULL | |||
| true if the weapon's projectiles pierce through targets (ex: Eigenrifle) | |||
|} | |} | ||
</noinclude><includeonly>{{#cargo_store:_table=MissileWeaponData | </noinclude><includeonly>{{#cargo_store:_table=MissileWeaponData | ||
Line 58: | Line 64: | ||
|MaxAmmo={{{maxammo|}}} | |MaxAmmo={{{maxammo|}}} | ||
|AmmoDamageTypes={{{ammodamagetypes|}}} | |AmmoDamageTypes={{{ammodamagetypes|}}} | ||
|PenetratingAmmo={{{penetratingammo|}}} | |||
|JoinKey={{FULLPAGENAME}} | |JoinKey={{FULLPAGENAME}} | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 20:00, 5 October 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 |
penetratingammo | boolean | NULL | true if the weapon's projectiles pierce through targets (ex: Eigenrifle) |