Template:SubmarineWeaponsTable/ammo: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
(Support for new afflictions)
Line 2: Line 2:
| [[File:{{#replace:{{{name}}}|&amp;#39;|'}}.png|x30px]] <br> [[{{#replace:{{{name}}}|&amp;#39;|'}}]]
| [[File:{{#replace:{{{name}}}|&amp;#39;|'}}.png|x30px]] <br> [[{{#replace:{{{name}}}|&amp;#39;|'}}]]
| {{#if:{{{magazine|}}}|{{{magazine}}}}}
| {{#if:{{{magazine|}}}|{{{magazine}}}}}
| {{#if:{{{usedby|}}}|{{#if:{{{usedbyweapondamagemodifier|}}}|{{#vardefine:weapondamagemodifier|{{{usedbyweapondamagemodifier}}}}}|{{#vardefine:weapondamagemodifier|1}}}}|{{#vardefine:weapondamagemodifier|1}}}}<!--
| {{#if:{{{afflictions|}}}|{{AfflictionDisplayTest|afflictions={{{afflictions|}}}|explosionafflictions={{{explosionafflictions|}}}|explosionrange={{{explosionrange|}}}|projectiles={{{projectiles|}}}}}}}<!--
 
-->{{#if:{{#ifeq:{{{afflictions|}}}||1}}{{#ifeq:{{{afflictions|}}}|yes|1}}|<!--
 
-->{{#if:{{{usedby|}}}|{{#if:{{{usedbyweapondamagemodifier|}}}|{{#vardefine:weapondamagemodifier|{{{usedbyweapondamagemodifier}}}}}|{{#vardefine:weapondamagemodifier|1}}}}|{{#vardefine:weapondamagemodifier|1}}}}<!--


-->{{#if:{{{bluntforcetrauma|}}}|{{AfflictionDisplay|Blunt Force Trauma|{{{bluntforcetrauma}}}|{{{bluntforcetraumachance}}}|{{{projectiles|}}}|{{#var:weapondamagemodifier}}}}}}<!--
-->{{#if:{{{bluntforcetrauma|}}}|{{AfflictionDisplay|Blunt Force Trauma|{{{bluntforcetrauma}}}|{{{bluntforcetraumachance}}}|{{{projectiles|}}}|{{#var:weapondamagemodifier}}}}}}<!--
Line 44: Line 48:
-->{{#if:{{{explosionacidburn|}}}|{{AfflictionDisplay|Acid Burn|{{{explosionacidburn}}}|{{{explosionacidburnchance}}}|{{{projectiles|}}}|{{#var:weapondamagemodifier}}}}}}<!--
-->{{#if:{{{explosionacidburn|}}}|{{AfflictionDisplay|Acid Burn|{{{explosionacidburn}}}|{{{explosionacidburnchance}}}|{{{projectiles|}}}|{{#var:weapondamagemodifier}}}}}}<!--
-->{{#if:{{{explosionacidburn2|}}}|{{AfflictionDisplay|Acid Burn|{{{explosionacidburn2}}}|{{{explosionacidburn2chance}}}|{{{projectiles|}}}|{{#var:weapondamagemodifier}}}}}}<!--
-->{{#if:{{{explosionacidburn2|}}}|{{AfflictionDisplay|Acid Burn|{{{explosionacidburn2}}}|{{{explosionacidburn2chance}}}|{{{projectiles|}}}|{{#var:weapondamagemodifier}}}}}}<!--
-->|}}
-->|}}<!--
-->}}
| {{#if: {{{penetration|}}}|{{{penetration}}}%}}
| {{#if: {{{penetration|}}}|{{{penetration}}}%}}
| {{#if:{{{severlimbsprobability|}}}|{{{severlimbsprobability|}}}%}}
| {{#if:{{{severlimbsprobability|}}}|{{{severlimbsprobability|}}}%}}

Revision as of 19:15, 20 April 2023

Documentation

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

Turret

{{SubmarineWeaponsTable|tabletype=turret}}
Turrets
Weapon Loader Firerate Ammunition Magazine Size Afflictions Penetration Severance
Chance
Structure Damage Notes

Pulse Laser

Pulse Laser Loader
0.67
Pulse Laser Fuel Box
45 Template:AfflictionDisplayTest 50% 100%
Impact: Expression error: Unexpected * operator.

(5 x weapon damage modifier)
Explosion (1.5m): Expression error: Unexpected * operator.

(10 x weapon damage modifier)

Pulse Tri-Laser Fuel Box
29 Template:AfflictionDisplayTest 40% 100%
Impact: Expression error: Unexpected < operator.
(3 projectiles x 5 x weapon damage modifier)
Explosion (1m): Expression error: Unexpected < operator.
(3 projectiles x 5 x weapon damage modifier)
Fires 3 lasers in a fixed spread.

Coilgun

Coilgun Loader
3.5
Coilgun Ammunition Box
200 Template:AfflictionDisplayTest 10% 25%
Impact: Expression error: Unexpected * operator.

(20 x weapon damage modifier)
File:Coilgun Ammunition Box (Blanks).png
Coilgun Ammunition Box (Blanks)
200 Template:AfflictionDisplayTest

Depleted Fuel Coilgun Ammunition Box
200 Template:AfflictionDisplayTest 40% 25%
Impact: Expression error: Unexpected * operator.

(20 x weapon damage modifier)

Exploding Ammunition Box
100 Template:AfflictionDisplayTest 10% 25%
Impact: Expression error: Unexpected * operator.

(10 x weapon damage modifier)
Explosion (3m): Expression error: Unexpected * operator.

(5 x weapon damage modifier)

Physicorium Ammunition Box
200 Template:AfflictionDisplayTest 20% 50%
Impact: Expression error: Unexpected * operator.

(30 x weapon damage modifier)

Piercing Ammunition Box
150 Template:AfflictionDisplayTest 50% 10%
Impact: Expression error: Unexpected * operator.

(35 x weapon damage modifier)
Bolts can pierce through a limb and hit a second limb or a second target, effectively doing double damage.

Chaingun

Chaingun Loader
7.5
Chaingun Ammunition Box
500 Template:AfflictionDisplayTest 10% 10%
Impact: Expression error: Unexpected * operator.

(8 x weapon damage modifier)

Physicorium Chaingun Ammunition Box
500 Template:AfflictionDisplayTest 20% 20%
Impact: Expression error: Unexpected * operator.

(20 x weapon damage modifier)

Shredder Chaingun Ammunition Box
400 Template:AfflictionDisplayTest 40% 30%
Impact: Expression error: Unexpected * operator.

(25 x weapon damage modifier)

Turret Hardpoint

Loader Base


Can be replaced by other turrets

Large Turret

{{SubmarineWeaponsTable|tabletype=largeturret}}
Large Turrets
Weapon Loader Firerate Ammunition Magazine Size Afflictions Penetration Severance
Chance
Structure Damage Notes

Flak Cannon

Flak Cannon Loader
0.5
Explosive Flak Shells Box
40 Template:AfflictionDisplayTest 50%
Impact: Expression error: Unexpected * operator.

(20 x weapon damage modifier)
Explosion (0.3m): Expression error: Unexpected * operator.

(25 x weapon damage modifier)
Fires 1 bolt which explodes into 8 shrapnels in a 270° cone.

Focused Flak Shells Box
40 Template:AfflictionDisplayTest 10% 100%
Impact: Expression error: Unexpected * operator.

(30 x weapon damage modifier)
Explosion (0.3m): Expression error: Unexpected * operator.

(20 x weapon damage modifier)
Fires 1 bolt which explodes into 5 shrapnels in a 50° cone.

Physicorium Flak Shells Box
40 Template:AfflictionDisplayTest 50%
Impact: Expression error: Unexpected * operator.

(30 x weapon damage modifier)
Explosion (0.3m): Expression error: Unexpected * operator.

(20 x weapon damage modifier)
Fires 1 bolt which explodes into 12 shrapnels in a 120° cone.

Spreader Flak Shells Box
40 Template:AfflictionDisplayTest 40%
Impact: Expression error: Unexpected * operator.

(30 x weapon damage modifier)
Explosion (0.3m): Expression error: Unexpected * operator.

(20 x weapon damage modifier)
Fires 1 bolt which explodes into 22 shrapnels in a 240° cone.

Railgun

Railgun Loader
0.2
Canister Shell
Template:AfflictionDisplayTest 30% 300%
Impact: Expression error: Unexpected < operator.
(11 projectiles x 10 x weapon damage modifier)
Can be reloaded at a Fabricator.

Nuclear Shell
Template:AfflictionDisplayTest 60% 500%
Impact: Expression error: Unexpected * operator.

(100 x weapon damage modifier)
Explosion (15m): Expression error: Unexpected * operator.

(600 x weapon damage modifier)
Can contain 1 small item that is used upon impact.
Explosion emits a 20m EMP wave & causes sonar interference.

Physicorium Shell
Template:AfflictionDisplayTest 80% 500%
Impact: Expression error: Unexpected * operator.

(200 x weapon damage modifier)
Explosion (3.5m): Expression error: Unexpected * operator.

(50 x weapon damage modifier)
Can contain 1 small item that is used upon impact.

Railgun Shell
Template:AfflictionDisplayTest 60% 500%
Impact: Expression error: Unexpected * operator.

(100 x weapon damage modifier)
Explosion (2.5m): Expression error: Unexpected * operator.

(50 x weapon damage modifier)
Can contain 1 small item that is used upon impact.
File:Railgun (Legacy).png
Railgun (Legacy)

Railgun Loader
0.2



Double Coilgun

Coilgun Loader
5
Coilgun Ammunition Box
200 Template:AfflictionDisplayTest 10% 25%
Impact: Expression error: Unexpected * operator.

(20 x weapon damage modifier)
File:Coilgun Ammunition Box (Blanks).png
Coilgun Ammunition Box (Blanks)
200 Template:AfflictionDisplayTest

Depleted Fuel Coilgun Ammunition Box
200 Template:AfflictionDisplayTest 40% 25%
Impact: Expression error: Unexpected * operator.

(20 x weapon damage modifier)

Exploding Ammunition Box
100 Template:AfflictionDisplayTest 10% 25%
Impact: Expression error: Unexpected * operator.

(10 x weapon damage modifier)
Explosion (3m): Expression error: Unexpected * operator.

(5 x weapon damage modifier)

Physicorium Ammunition Box
200 Template:AfflictionDisplayTest 20% 50%
Impact: Expression error: Unexpected * operator.

(30 x weapon damage modifier)

Piercing Ammunition Box
150 Template:AfflictionDisplayTest 50% 10%
Impact: Expression error: Unexpected * operator.

(35 x weapon damage modifier)
Bolts can pierce through a limb and hit a second limb or a second target, effectively doing double damage.

Large Turret Hardpoint

Loader Base


Can be replaced by other turrets

Other

{{SubmarineWeaponsTable|tabletype=other}}
Other Submarine Weapons
Weapon Loader Firerate Ammunition Magazine Size Afflictions Penetration Severance
Chance
Structure Damage Notes

Depth Charge Tube

Depth Charge Loader

Depth Charge Shell
Template:AfflictionDisplayTest 50% 50%
Explosion (7m): Expression error: Unexpected * operator.

(175 x weapon damage modifier)
Can contain 1 small item that is used upon impact

Depth Decoy Shell
Can contain 1 small item that is used upon impact
Attracts creatures

Nuclear Depth Charge
Template:AfflictionDisplayTest 50% 200%
Explosion (15m): 600
Can contain 1 small item that is used upon impact.
Explosion emits a 20m EMP wave & causes sonar interference.

Nuclear Depth Decoy
Template:AfflictionDisplayTest 50% 200%
Explosion (15m): 600
Can contain 1 small item that is used upon impact.
Explosion emits a 20m EMP wave & causes sonar interference.
Attracts creatures.

Electrical Discharge Coil
 Burn (10)*
 Stun (5)*
Some Creatures are imune to stun, rendering this weapon ineffective against them.

| [[File:{{{name}}}.png|x30px]]
[[{{{name}}}]] | | | | |

|

|-