Template:WeaponsTable/ranged: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
tables = Items,Ammunition | tables = Items,Ammunition | ||
| join on = Items.name = Ammunition.name | | join on = Items.name = Ammunition.name | ||
| fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.ammomaxstack, Items.talent, Items.afflictions, Items.weapondamagemodifier, Items.attackspeed, Items.penetration, Items.bluntforcetrauma, Items.lacerations, Items.gunshotwound, Items.deeptissueinjury, Items.organdamage, Items.burn, Items.bleeding, Items.progressivestun, Items.stun, Items.projectiles, Items.ammocount, Items.magazine, Items.magazine2, Items.fuelduration, Items.fuelduration2, Items.ammo, Items.explosionrange, Items.explosionradiationsickness, Items.explosiondeeptissueinjury, Items.explosionburn, Items.explosionlacerations, Items.explosionbleeding, Items.explosionstun, Items.explosionstructuredamage, Items.structuredamage, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby, Ammunition.usedbyweapondamagemodifier, | | fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.ammomaxstack, Items.talent, Items.afflictions, Items.weapondamagemodifier, Items.attackspeed, Items.penetration, Items.bluntforcetrauma, Items.lacerations, Items.gunshotwound, Items.deeptissueinjury, Items.organdamage, Items.burn, Items.bleeding, Items.progressivestun, Items.stun, Items.projectiles, Items.ammocount, Items.magazine, Items.magazine2, Items.fuelduration, Items.fuelduration2, Items.ammo, Items.explosionrange, Items.explosionradiationsickness, Items.explosiondeeptissueinjury, Items.explosionburn, Items.explosionlacerations, Items.explosionbleeding, Items.explosionstun, Items.explosionstructuredamage, Items.structuredamage, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby, Ammunition.usedbyweapondamagemodifier, Ammunition.usedby2, Ammunition.usedby2weapondamagemodifier, Ammunition.usedby3, Ammunition.usedby3weapondamagemodifier, | ||
| where = Ammunition.usedby | | where = Ammunition.usedby = "{{{name}}}" {{#ifeq:{{{name}}}|Arc Emitter|OR Items.name = "Arc Emitter"}} | ||
| order by = Items.name | | order by = Items.name | ||
| format = template | | format = template | ||
| template = AmmoTable/ammo | | template = AmmoTable/ammo | ||
| named args = yes | |||
| default = | |||
}} | |||
{{#cargo_query: | |||
tables = Items,Ammunition | |||
| join on = Items.name = Ammunition.name | |||
| fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.ammomaxstack, Items.talent, Items.afflictions, Items.weapondamagemodifier, Items.attackspeed, Items.penetration, Items.bluntforcetrauma, Items.lacerations, Items.gunshotwound, Items.deeptissueinjury, Items.organdamage, Items.burn, Items.bleeding, Items.progressivestun, Items.stun, Items.projectiles, Items.ammocount, Items.magazine, Items.magazine2, Items.fuelduration, Items.fuelduration2, Items.ammo, Items.explosionrange, Items.explosionradiationsickness, Items.explosiondeeptissueinjury, Items.explosionburn, Items.explosionlacerations, Items.explosionbleeding, Items.explosionstun, Items.explosionstructuredamage, Items.structuredamage, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby, Ammunition.usedbyweapondamagemodifier, Ammunition.usedby2, Ammunition.usedby2weapondamagemodifier, Ammunition.usedby3, Ammunition.usedby3weapondamagemodifier, | |||
| where = Ammunition.usedby2 = "{{{name}}}" | |||
| order by = Items.name | |||
| format = template | |||
| template = AmmoTable/ammo2 | |||
| named args = yes | |||
| default = | |||
}} | |||
{{#cargo_query: | |||
tables = Items,Ammunition | |||
| join on = Items.name = Ammunition.name | |||
| fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.ammomaxstack, Items.talent, Items.afflictions, Items.weapondamagemodifier, Items.attackspeed, Items.penetration, Items.bluntforcetrauma, Items.lacerations, Items.gunshotwound, Items.deeptissueinjury, Items.organdamage, Items.burn, Items.bleeding, Items.progressivestun, Items.stun, Items.projectiles, Items.ammocount, Items.magazine, Items.magazine2, Items.fuelduration, Items.fuelduration2, Items.ammo, Items.explosionrange, Items.explosionradiationsickness, Items.explosiondeeptissueinjury, Items.explosionburn, Items.explosionlacerations, Items.explosionbleeding, Items.explosionstun, Items.explosionstructuredamage, Items.structuredamage, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby, Ammunition.usedbyweapondamagemodifier, Ammunition.usedby2, Ammunition.usedby2weapondamagemodifier, Ammunition.usedby3, Ammunition.usedby3weapondamagemodifier, | |||
| where = Ammunition.usedby3 = "{{{name}}}" | |||
| order by = Items.name | |||
| format = template | |||
| template = AmmoTable/ammo3 | |||
| named args = yes | | named args = yes | ||
| default = | | default = | ||
}} | }} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 00:23, 16 March 2023
This template is used by Template:WeaponsTable to display individual rows. It is not meant for direct usage.
Weapon | Fire rate |
Max ammo |
Ammunition | Mag size |
Afflictions | Armor Pen |
Sever Limb |
Supply |
---|---|---|---|---|---|---|---|---|
Advanced Syringe Gun |
1 | 8 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Syringe Gun |
1 | 4 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Stun Gun |
1 | 2 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Machine Pistol |
5.7 | 0.8x | 1 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| ||||
Deadeye Carbine |
3.33 | 1.1x | 1 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| ||||
SMG |
5 | 1.3x | 1 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| ||||
Boom Stick |
1.82 | 2 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Riot Shotgun |
1 | 6 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Autoshotgun |
2.22 | 0.9x | 24 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| ||||
Rifle |
0.5 | 6 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Revolver |
2 | 6 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Scrap Cannon |
0.33 | 8 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
HMG |
10 | 1 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Harpoon Gun |
0.571 | 6 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Harpoon Coil-Rifle |
0.571 | 1.7x | 6 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| ||||
Handcannon |
1 | 6 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Assault Rifle |
4.167 | 1 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Alien Pistol |
1.88 | 1 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Grenade Launcher |
1 | 1 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| |||||
Ancient Weapon |
1 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| ||||||
Arc Emitter |
0.2 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| ||||||
Flamer |
1 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| ||||||
Prototype Steam Cannon |
1 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
| ||||||
Rapid Fissile Accelerator |
0.8 | {{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
|
The above documentation is transcluded from Template:WeaponsTable/ranged/doc. (edit | history)
|-
| style="text-align:center;" rowspan="1" | [[File:{{{name}}}.png|50px]]
[[{{{name}}}]]
| style="text-align:center;" rowspan="1" |{{{attackspeed}}}
| style="text-align:center;" rowspan="1" |
| style="text-align:center;" rowspan="1" |{{{ammocount}}}
| style="text-align:center;" rowspan="1" |{{{magazine}}}-{{{magazine2}}}{{{fuelduration}}}s-{{{fuelduration2}}}s
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".