Template:Missile weapon data store: Difference between revisions

add penetratingammo
mNo edit summary
(add penetratingammo)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
|MaxAmmo=Integer
|MaxAmmo=Integer
|AmmoDamageTypes=String
|AmmoDamageTypes=String
|PenetratingAmmo=Boolean
|JoinKey=String
|JoinKey=String
}}
}}
Line 17: Line 18:
! parameter
! parameter
! type
! type
! required?
! default
! default
! description
! description
Line 23: Line 23:
| ammo
| ammo
| string
| string
| yes
| 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
| no
| 0
| 0
| accuracy value of the missile weapon
| accuracy value of the missile weapon
Line 35: Line 33:
| shots
| shots
| integer
| integer
| no
| 1
| 1
| number of projectiles fired per action
| number of projectiles fired per action
Line 41: Line 38:
| ammoperaction
| ammoperaction
| integer
| integer
| no
| 1
| 1
| amount of ammo consumed per action
| amount of ammo consumed per action
Line 47: Line 43:
| maxammo
| maxammo
| integer
| integer
| no
| 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 48:
| ammodamagetypes
| ammodamagetypes
| string
| string
| no
| 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 65: Line 64:
|MaxAmmo={{{maxammo|}}}
|MaxAmmo={{{maxammo|}}}
|AmmoDamageTypes={{{ammodamagetypes|}}}
|AmmoDamageTypes={{{ammodamagetypes|}}}
|PenetratingAmmo={{{penetratingammo|}}}
|JoinKey={{FULLPAGENAME}}
|JoinKey={{FULLPAGENAME}}
}}</includeonly>
}}</includeonly>