Template:BallastFloraDamageTable: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
(Support for new afflictions)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude><onlyinclude>
<noinclude>{{doc}}</noinclude><includeonly><onlyinclude>
{| class="responsive-table sortable mw-collapsible {{#if:{{{collapsed|}}}|mw-collapsed}}" style="width:{{{width|auto}}}%"
{| class="responsive-table sortable mw-collapsible {{#if:{{{collapsed|}}}|mw-collapsed}}" style="width:{{{width|auto}}}%"
|+ '''<big style="white-space:nowrap">{{#switch:{{{tabletype}}}|handheld=Handheld Weapons|submarine=Submarine Weapons}}</big>'''
|+ '''<big style="white-space:nowrap">{{#switch:{{{tabletype}}}|handheld=Handheld Weapons|submarine=Submarine Weapons}}</big>'''
Line 13: Line 13:
{{#cargo_query:
{{#cargo_query:
tables = Items
tables = Items
| fields = name, icon, projectiles, explosionrange, structuredamage, explosionstructuredamage, ballastfloradamage, explosionballastfloradamage, afflictions, note, triggers, firedamage,
| fields = name, icon, projectiles, explosionrange, structuredamage, explosionstructuredamage, ballastfloradamage, explosionballastfloradamage, afflictions, explosionafflictions, note, triggers, firedamage,
<!-- Afflictions -->
<!-- Afflictions -->
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,
Line 23: Line 23:
}}
}}
|}
|}
</onlyinclude>
</onlyinclude></includeonly>

Revision as of 19:20, 20 April 2023

Documentation

Table displaying Ballast Flora Damage for the Ballast Flora page.

Sub Templates

Template in use

Handheld

To show up here items must have:

  • ballastfloradamage, explosionballastfloradamage or firedamage defined (any).
  • ammotype NOT defined as turret, largeturret, or submarineother.
{{BallastFloraDamageTable|tabletype=handheld}}
Error: No field named "bluntforcetrauma" found for the database table "Items".
Handheld Weapons
Item Triggers Ballast Flora Damage Structure Damage Afflictions Notes


Submarine

To show up here items must have:

  • ballastfloradamage, explosionballastfloradamage or firedamage defined (any).
  • ammotype defined as turret, largeturret, or submarineother.
{{BallastFloraDamageTable|tabletype=submarine}}
Error: No field named "bluntforcetrauma" found for the database table "Items".
Submarine Weapons
Item Ballast Flora Damage Structure Damage Afflictions Notes