Template:SubmarineWeaponsTable/turret: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
(removing unused stuff + comments)
Line 6: Line 6:
{{!}} style="text-align:center;" rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}} {{#if:{{{reload|}}}|{{#expr:({{{reload}}})^-1}}}}
{{!}} style="text-align:center;" rowspan="{{#expr:{{#count:{{{ammo}}}|<br>}}+1}}" {{!}} {{#if:{{{reload|}}}|{{#expr:({{{reload}}})^-1}}}}
}}
}}
{{#if:{{{afflictions|}}}|
{{#if:{{{afflictions|}}}|<!-- The following is for weapons that don't use ammo and the afflictions are from the weapon itself -->
{{!}} style="text-align:left;" {{!}}
{{!}} style="text-align:left;" {{!}}
{{!}} style="text-align:left;" {{!}}
{{!}} style="text-align:left;" {{!}}
Line 12: Line 12:
{{!}} style="text-align:left;" {{!}}
{{!}} style="text-align:left;" {{!}}
{{!}} style="text-align:left;" {{!}}
{{!}} style="text-align:left;" {{!}}
{{!}} style="text-align:left;" {{!}}|
{{!}} style="text-align:left;" {{!}}|<!-- The following is for weapons with ammo -->
{{#cargo_query:
{{#cargo_query:
tables = Items,Ammunition
tables = Items,Ammunition
Line 20: Line 20:
Items.bluntforcetrauma, Items.bluntforcetraumachance, Items.bluntforcetrauma2, Items.bluntforcetrauma2chance, Items.bitewounds, Items.bitewoundschance, Items.bitewounds2, Items.bitewounds2chance, Items.gunshotwound, Items.gunshotwoundchance, Items.gunshotwound2, Items.gunshotwound2chance, Items.incrementalstun, Items.incrementalstunchance, Items.incrementalstun2, Items.incrementalstun2chance, Items.progressivestun, Items.progressivestunchance, Items.progressivestun2, Items.progressivestun2chance, Items.deeptissueinjury, Items.deeptissueinjurychance, Items.deeptissueinjury2, Items.deeptissueinjury2chance, Items.explosiondeeptissueinjury, Items.explosiondeeptissueinjurychance, Items.explosiondeeptissueinjury2, Items.explosiondeeptissueinjury2chance, Items.burn, Items.burnchance, Items.burn2, Items.burn2chance, Items.explosionburn, Items.explosionburnchance, Items.explosionburn2, Items.explosionburn2chance, Items.lacerations, Items.lacerationschance, Items.lacerations2, Items.lacerations2chance, Items.explosionlacerations, Items.explosionlacerationschance, Items.explosionlacerations2, Items.explosionlacerations2chance, Items.bleeding, Items.bleedingchance, Items.bleeding2, Items.bleeding2chance, Items.explosionbleeding, Items.explosionbleedingchance, Items.explosionbleeding2, Items.explosionbleeding2chance, Items.stun, Items.stunchance, Items.stun2, Items.stun2chance, Items.explosionstun, Items.explosionstunchance, Items.explosionstun2, Items.explosionstun2chance, Items.radiationsickness, Items.radiationsicknesschance, Items.radiationsickness2, Items.radiationsickness2chance, Items.explosionradiationsickness, Items.explosionradiationsicknesschance, Items.explosionradiationsickness2, Items.explosionradiationsickness2chance,
Items.bluntforcetrauma, Items.bluntforcetraumachance, Items.bluntforcetrauma2, Items.bluntforcetrauma2chance, Items.bitewounds, Items.bitewoundschance, Items.bitewounds2, Items.bitewounds2chance, Items.gunshotwound, Items.gunshotwoundchance, Items.gunshotwound2, Items.gunshotwound2chance, Items.incrementalstun, Items.incrementalstunchance, Items.incrementalstun2, Items.incrementalstun2chance, Items.progressivestun, Items.progressivestunchance, Items.progressivestun2, Items.progressivestun2chance, Items.deeptissueinjury, Items.deeptissueinjurychance, Items.deeptissueinjury2, Items.deeptissueinjury2chance, Items.explosiondeeptissueinjury, Items.explosiondeeptissueinjurychance, Items.explosiondeeptissueinjury2, Items.explosiondeeptissueinjury2chance, Items.burn, Items.burnchance, Items.burn2, Items.burn2chance, Items.explosionburn, Items.explosionburnchance, Items.explosionburn2, Items.explosionburn2chance, Items.lacerations, Items.lacerationschance, Items.lacerations2, Items.lacerations2chance, Items.explosionlacerations, Items.explosionlacerationschance, Items.explosionlacerations2, Items.explosionlacerations2chance, Items.bleeding, Items.bleedingchance, Items.bleeding2, Items.bleeding2chance, Items.explosionbleeding, Items.explosionbleedingchance, Items.explosionbleeding2, Items.explosionbleeding2chance, Items.stun, Items.stunchance, Items.stun2, Items.stun2chance, Items.explosionstun, Items.explosionstunchance, Items.explosionstun2, Items.explosionstun2chance, Items.radiationsickness, Items.radiationsicknesschance, Items.radiationsickness2, Items.radiationsickness2chance, Items.explosionradiationsickness, Items.explosionradiationsicknesschance, Items.explosionradiationsickness2, Items.explosionradiationsickness2chance,
<!-- usedby -->
<!-- usedby -->
Ammunition.usedby, Ammunition.usedbyweapondamagemodifier, Ammunition.usedbymagazine, Ammunition.usedbyfuelduration
Ammunition.usedby, Ammunition.usedbyweapondamagemodifier,
| where = Ammunition.usedby = "{{{name}}}" OR Ammunition.usedby2 = "{{{name}}}" OR Ammunition.usedby3 = "{{{name}}}"
| where = Ammunition.usedby = "{{{name}}}" OR Ammunition.usedby2 = "{{{name}}}" OR Ammunition.usedby3 = "{{{name}}}"
| order by = Items.name
| order by = Items.name
Line 28: Line 28:
| default =  
| default =  
}}}}
}}}}
{{#if:{{{ammo|}}}{{{reload|}}}{{{afflictions}}}||
{{#if:{{{ammo|}}}{{{reload|}}}{{{afflictions}}}||<!-- This is for empty hardpoints -->
{{!}} colspan="7" {{!}}
{{!}} colspan="7" {{!}}
}}
}}
{{#if:{{{ammo|}}}||
{{#if:{{{ammo|}}}||<!-- This is for weapons that don't use ammo -->
{{!}} style="text-align:left;" {{!}} <div style="width:15em">{{#if:{{{note|}}}|{{{note}}}}}</div>
{{!}} style="text-align:left;" {{!}} <div style="width:15em">{{#if:{{{note|}}}|{{{note}}}}}</div>
}}
}}

Revision as of 22:31, 9 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.66666666666667
Error: No field named "bluntforcetrauma" found for the database table "Items".



Coilgun

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



Chaingun

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



Turret Hardpoint

Loader Base
Error: No field named "bluntforcetrauma" found for the database table "Items".
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
Error: No field named "bluntforcetrauma" found for the database table "Items".



Railgun

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


File:Railgun (Legacy).png
Railgun (Legacy)

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



Double Coilgun

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



Large Turret Hardpoint

Loader Base
Error: No field named "bluntforcetrauma" found for the database table "Items".
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
Error: No field named "bluntforcetrauma" found for the database table "Items".



Electrical Discharge Coil
burn = 10;

stun = 5;

Some Creatures are imune to stun, rendering this weapon ineffective against them.

|- | style="text-align:center;" rowspan="1" | [[File:{{{name}}}.png|60px]]
[[{{{name}}}]] | style="text-align:center;" rowspan="1" | | style="text-align:center;" rowspan="1" |

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

| style="text-align:left;" |

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