Template:ExplosivesTable: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
| fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.penetration, Items.projectiles, Items.severlimbsprobability, Items.explosionrange, Items.afflictions, Items.structuredamage, Items.explosionstructuredamage, Items.note, Items.triggers, Items.throwable, | | fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.penetration, Items.projectiles, Items.severlimbsprobability, Items.explosionrange, Items.afflictions, Items.structuredamage, Items.explosionstructuredamage, Items.note, Items.triggers, Items.throwable, | ||
<!-- 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.explosionnausea | 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.explosionnausea, Items.acidburn, Items.acidburnchance, Items.acidburn2, Items.acidburn2chance, Items.explosionacidburn, Items.explosionacidburnchance, Items.explosionacidburn2, Items.explosionacidburn2chance, | ||
| where = {{#switch:{{{tabletype}}}|explosive=Items.weapontype IN ("explosive")|throwable=Items.weapontype IN ("throwable")|ammo=Items.ammotype IN ("ranged")|subammo=Items.ammotype IN ("turret","largeturret","submarineother")|other=(Items.type NOT IN ("ammo","weapon") OR Items.type IS NULL)}} AND Items.explosionrange IS NOT NULL | | where = {{#switch:{{{tabletype}}}|explosive=Items.weapontype IN ("explosive")|throwable=Items.weapontype IN ("throwable")|ammo=Items.ammotype IN ("ranged")|subammo=Items.ammotype IN ("turret","largeturret","submarineother")|other=(Items.type NOT IN ("ammo","weapon") OR Items.type IS NULL)}} AND Items.explosionrange IS NOT NULL | ||
| order by = {{#switch:{{{tabletype}}}|other=Items.type DESC,}} Items.triggers, Items.explosiondeeptissueinjury, Items.explosionburn, Items.explosionlacerations, Items.explosionbleeding, Items.explosionradiationsickness | | order by = {{#switch:{{{tabletype}}}|other=Items.type DESC,}} Items.triggers, Items.explosiondeeptissueinjury, Items.explosionburn, Items.explosionlacerations, Items.explosionbleeding, Items.explosionradiationsickness |
Revision as of 18:21, 20 March 2023
Table displaying Explosives for the Explosives page.
Sub Templates
- Template:ExplosivesTable/explosive - Used for explosive and throwable
- Template:ExplosivesTable/ammo - Used for ammo and subammo
- Template:ExplosivesTable/other
Template in use
Explosive
To show up here items must have:
explosionrange
defined (any).weapontype
defined asexplosive
.
{{ExplosivesTable|tabletype=explosive}}
Item | Triggers | Afflictions | Penetration | Severance Chance |
Structure Damage | Notes
Error: No field named "type" found for the database table "Items".
|
---|
Throwable
To show up here items must have:
explosionrange
defined (any).weapontype
defined asthrowable
.
{{ExplosivesTable|tabletype=throwable}}
Item | Triggers | Afflictions | Penetration | Severance Chance |
Structure Damage | Notes
Error: No field named "type" found for the database table "Items".
|
---|
Ammo
To show up here items must have:
explosionrange
defined (any).ammotype
defined asranged
.
{{ExplosivesTable|tabletype=ammo}}
Item | Afflictions | Penetration | Severance Chance |
Structure Damage | Notes
Error: No field named "type" found for the database table "Items".
|
---|
Submarine Ammo
To show up here items must have:
explosionrange
defined (any).ammotype
defined asturret
,largeturret
orsubmarineother
.
{{ExplosivesTable|tabletype=subammo}}
Item | Afflictions | Penetration | Severance Chance |
Structure Damage | Notes
Error: No field named "type" found for the database table "Items".
|
---|
Other
To show up here items must have:
explosionrange
defined (any).weapontype
NOT defined.ammotype
NOT defined.
{{ExplosivesTable|tabletype=other}}
Item | Triggers | Afflictions | Structure Damage | Notes
Error: No field named "type" found for the database table "Items".
|
---|
The above documentation is transcluded from Template:ExplosivesTable/doc. (edit | history)