Template:WeaponsTable/ranged: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(new afflictions)
No edit summary
Line 8: Line 8:
{{!}} style="text-align:center;" rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}}
{{!}} style="text-align:center;" rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}}
{{!}} style="text-align:center;" rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}}
{{!}} style="text-align:center;" rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}}
{{!}}                            rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}} {{#if:{{{afflictions|}}}|{{AfflictionDisplayTest|afflictions={{{afflictions|}}}|explosionafflictions={{{explosionafflictions|}}}|explosionrange={{{explosionrange|}}}|projectiles={{{projectiles|}}}|weapondamagemodifier={{{weapondamagemodifier|}}}}}}}
{{!}}                            rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}} {{#if:{{{afflictions|}}}|{{AfflictionDisplayTest|afflictions={{{afflictions|}}}|explosionafflictions={{{explosionafflictions|}}}|explosionrange={{{explosionrange|}}}|projectiles={{{projectiles|}}}|weapondamagemodifier={{{weapondamagemodifier|}}}|nomargin=yes}}}}
{{!}}                            rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}} {{#if:{{{penetration|}}}|{{{penetration}}}%}}
{{!}}                            rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}} {{#if:{{{penetration|}}}|{{{penetration}}}%}}
{{!}}                            rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}} {{#if:{{{severlimbsprobability|}}}|{{{severlimbsprobability|}}}%}}|<!-- The following is for weapons with ammo -->
{{!}}                            rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}} {{#if:{{{severlimbsprobability|}}}|{{{severlimbsprobability|}}}%}}|<!-- The following is for weapons with ammo -->

Revision as of 14:54, 28 April 2023

Documentation

This template is used by Template:WeaponsTable to display individual rows. It is not meant for direct usage.


Ranged Weapons
Weapon Fire
rate
Max
ammo
Ammunition Mag
size
Afflictions Armor
Pen
Sever
Limb
Supply

Advanced Syringe Gun
1 8 Template:AfflictionDisplayTest

Syringe Gun
1 4 Template:AfflictionDisplayTest

Stun Gun
1 2
Error: No field named "bluntforcetrauma" found for the database table "Items".

Machine Pistol
5.7 1
Error: No field named "bluntforcetrauma" found for the database table "Items".

Deadeye Carbine
3.33 1
Error: No field named "bluntforcetrauma" found for the database table "Items".

SMG
5 1
Error: No field named "bluntforcetrauma" found for the database table "Items".

Boom Stick
1.82 2
Error: No field named "bluntforcetrauma" found for the database table "Items".

Riot Shotgun
1 6
Error: No field named "bluntforcetrauma" found for the database table "Items".

Autoshotgun
2.22 24
Error: No field named "bluntforcetrauma" found for the database table "Items".

Rifle
0.5 6
Error: No field named "bluntforcetrauma" found for the database table "Items".

Revolver
2 6
Error: No field named "bluntforcetrauma" found for the database table "Items".

Scrap Cannon
0.33 Power Supply:
Battery Cell (8 Shots)
Fulgurium Battery Cell (16 Shots)
8
Error: No field named "bluntforcetrauma" found for the database table "Items".

HMG
10 1
Error: No field named "bluntforcetrauma" found for the database table "Items".

Harpoon Gun
0.571 6
Error: No field named "bluntforcetrauma" found for the database table "Items".

Harpoon Coil-Rifle
0.571 Power Supply:
Battery Cell (12 Shots)
Fulgurium Battery Cell (24 Shots)
6
Error: No field named "bluntforcetrauma" found for the database table "Items".

Handcannon
1 6
Error: No field named "bluntforcetrauma" found for the database table "Items".

Assault Rifle
4.167 1
Error: No field named "bluntforcetrauma" found for the database table "Items".

Alien Pistol
1.88 1
Error: No field named "bluntforcetrauma" found for the database table "Items".

Grenade Launcher
1 1
Error: No field named "bluntforcetrauma" found for the database table "Items".

Ancient Weapon
1 Power Supply:
Alien Power Cell (20s)
Template:AfflictionDisplayTest 50% 2.5%

Arc Emitter
0.2 Power Supply:
Battery Cell (4 Shots)
Fulgurium Battery Cell (8 Shots)
Template:AfflictionDisplayTest

Flamer
1 Fuel Supply:
Welding Fuel Tank (16.7s)
Incendium Fuel Tank (40s)
Template:AfflictionDisplayTest

Prototype Steam Cannon
1 Fuel Supply:
Welding Fuel Tank (16.7s)
Incendium Fuel Tank (40s)
Template:AfflictionDisplayTest

Rapid Fissile Accelerator
0.8 Fuel Rod Supply:
Fuel Rod (4 Shots)
Thorium Fuel Rod (8 Shots)
Fulgurium Fuel Rod (12 Shots)
Volatile Fulgurium Fuel Rod (20 Shots)
Template:AfflictionDisplayTest 50%

|- | 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}}}

Error: No field named "bluntforcetrauma" found for the database table "Items".

|- | style="height:0;padding:0;" colspan="8" |