Template:Damage table: Difference between revisions
From Official Barotrauma Wiki
BTGamepedia>QuaternionMark No edit summary |
m (Expand Sever Limbs hovertext) |
||
(73 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{| class=" | {| class="responsive-table" | ||
! | ! Item{{#if: {{{targettype|}}} |<br> | ||
! | ! Target Type|}}{{#if: {{{context|}}} |<br> | ||
! | ! Context|}}{{#if: {{{range|}}} |<br> | ||
! | ! Range|}}{{#if: {{{ammocount|}}} |<br> | ||
! | ! Shots|}}{{#if: {{{attackdamage|}}} |<br> | ||
! | ! Attack Damage|}}{{#if: {{{afflictions|}}} |<br> | ||
! | ! Afflictions on Hit|}}{{#if: {{{penetration|}}} |<br> | ||
! | ! Armor Penetration|}}{{#if: {{{aoe|}}} |<br> | ||
! Afflictions from Explosion|}}{{#if: {{{aoeinside|}}} |<br> | |||
! <abbr title="Only affects targets that are inside the submarine">AOE Inside</abbr>|}}{{#if: {{{aoerange|}}} |<br> | |||
| | ! Explosion Range|}}{{#if: {{{bleedingdamage|}}} |<br> | ||
| | ! [[Afflictions#Bleeding|Bleeding]] Damage|}}{{#if: {{{structuredamage|}}} |<br> | ||
| | ! Structure Damage|}}{{#if: {{{itemdamage|}}} |<br> | ||
! Item Damage|}}{{#if: {{{stundamage|}}} |<br> | |||
| | ! [[Stun]] <abbr title="in seconds">Duration</abbr>|}}{{#if: {{{force|}}} |<br> | ||
! Kinetic Force|}}{{#if: {{{explosionrange|}}} |<br> | |||
! Explosion Radius (m)|}}{{#if: {{{explosionforce|}}} |<br> | |||
! Explosion Force|}}{{#if: {{{severlimbs|}}} |<br> | |||
! <abbr title="Chance that the attack causes target limbs to be severed.">Sever Limbs</abbr>|}}{{#if: {{{damagetype|}}} |<br> | |||
! Damage Type|}}{{#if: {{{stick|}}} |<br> | |||
! Stick to Entities?|}}{{#if: {{{duration|}}} |<br> | |||
! Attack Duration|}}{{#if: {{{cost|}}} |<br> | |||
! Price|}}{{#if: {{{crafting|}}} |<br> | |||
! [[Crafting Materials]]|}}{{#if: {{{deconstruction|}}} |<br> | |||
! Deconstruction Yield|}}{{#if: {{{raw|}}} |<br> | |||
! Source|}}{{#if: {{{cooldown|}}} |<br> | |||
! Cooldown|}}{{#if: {{{notes|}}} |<br> | |||
! Notes|}} | |||
{{!}}- | {{!}}- | ||
{{!}} | {{!}}{{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagewidth|90}}}px|center]]|}}{{{item}}}{{#if: {{{targettype|}}} |<br> | ||
{{!}} | {{!}}{{{targettype}}}|}}{{#if: {{{context|}}} |<br> | ||
{{!}} | {{!}}{{{context}}}|}}{{#if: {{{range|}}} |<br> | ||
{{!}} | {{!}}{{{range}}}|}}{{#if: {{{ammocount|}}} |<br> | ||
{{!}} | {{!}}{{{ammocount}}}|}}{{#if: {{{attackdamage|}}} |<br> | ||
{{!}} | {{!}}{{{attackdamage}}}|}}{{#if: {{{afflictions|}}} |<br> | ||
{{!}} | {{!}}{{{afflictions}}}|}}{{#if: {{{penetration|}}} |<br> | ||
{{!}} | {{!}}{{{penetration}}}|}}{{#if: {{{aoe|}}} |<br> | ||
{{!}}{{{aoe}}}|}}{{#if: {{{aoeinside|}}} |<br> | |||
{{!}}{{{aoeinside}}}|}}{{#if: {{{aoerange|}}} |<br> | |||
{{!}}{{{aoerange}}}m|}}{{#if: {{{bleedingdamage|}}} |<br> | |||
{{!}}{{{bleedingdamage}}}|}}{{#if: {{{structuredamage|}}} |<br> | |||
{{!}}{{{structuredamage}}}|}}{{#if: {{{itemdamage|}}} |<br> | |||
{{!}}{{{itemdamage}}}|}}{{#if: {{{stundamage|}}} |<br> | |||
{{!}}{{{stundamage}}}|}}{{#if: {{{force|}}} |<br> | |||
{{!}}{{{force}}}|}}{{#if: {{{explosionrange|}}} |<br> | |||
{{!}}{{{explosionrange}}}|}}{{#if: {{{explosionforce|}}} |<br> | |||
{{!}}{{{explosionforce}}}|}}{{#if: {{{severlimbs|}}} |<br> | |||
{{!}}{{{severlimbs}}}|}}{{#if: {{{damagetype|}}} |<br> | |||
{{!}}{{{damagetype}}}|}}{{#if: {{{stick|}}} |<br> | |||
{{!}}{{{stick}}}|}}{{#if: {{{duration|}}} |<br> | |||
{{!}}{{{duration}}}|}}{{#if: {{{cost|}}} |<br> | |||
{{!}}{{{cost}}} Marks|}}{{#if: {{{crafting|}}} |<br> | |||
{{!}}{{{crafting}}}|}}{{#if: {{{deconstruction|}}} |<br> | |||
{{!}}{{{deconstruction}}}|}}{{#if: {{{raw|}}} |<br> | |||
{{!}}{{{raw}}}|}}{{#if: {{{cooldown|}}} |<br> | |||
{{!}}{{{cooldown}}}|}}{{#if: {{{notes|}}} |<br> | |||
{{!}}{{{notes}}} | |||
|}}<!-- | |||
-->{{#if: {{{item2|}}} |<br> | |||
{{!}}- | |||
{{!}}{{#if: {{{image2|}}} | [[File:{{{image2}}}|{{{imagewidth2|90}}}px|center]]|}}{{{item2}}}{{#if: {{{targettype2|}}} |<br> | |||
{{!}}{{{targettype2}}}|}}{{#if: {{{context2|}}} |<br> | |||
{{!}}{{{context2}}}|}}{{#if: {{{range2|}}} |<br> | |||
{{!}}{{{range2}}}|}}{{#if: {{{ammocount2|}}} |<br> | |||
{{!}}{{{ammocount2}}}|}}{{#if: {{{attackdamage2|}}} |<br> | |||
{{!}}{{{attackdamage2}}}|}}{{#if: {{{afflictions2|}}} |<br> | |||
{{!}}{{{afflictions2}}}|}}{{#if: {{{penetration2|}}} |<br> | |||
{{!}}{{{penetration2}}}|}}{{#if: {{{aoe2|}}} |<br> | |||
{{!}}{{{aoe2}}}|}}{{#if: {{{aoeinside2|}}} |<br> | |||
{{!}}{{{aoeinside2}}}|}}{{#if: {{{aoerange2|}}} |<br> | |||
{{!}}{{{aoerange2}}}m|}}{{#if: {{{bleedingdamage2|}}} |<br> | |||
{{!}}{{{bleedingdamage2}}}|}}{{#if: {{{structuredamage2|}}} |<br> | |||
{{!}}{{{structuredamage2}}}|}}{{#if: {{{itemdamage2|}}} |<br> | |||
{{!}}{{{itemdamage2}}}|}}{{#if: {{{stundamage2|}}} |<br> | |||
{{!}}{{{stundamage2}}}|}}{{#if: {{{force2|}}} |<br> | |||
{{!}}{{{force2}}}|}}{{#if: {{{explosionrange2|}}} |<br> | |||
{{!}}{{{explosionrange2}}}|}}{{#if: {{{explosionforce2|}}} |<br> | |||
{{!}}{{{explosionforce2}}}|}}{{#if: {{{severlimbs2|}}} |<br> | |||
{{!}}{{{severlimbs2}}}|}}{{#if: {{{damagetype2|}}} |<br> | |||
{{!}}{{{damagetype2}}}|}}{{#if: {{{stick2|}}} |<br> | |||
{{!}}{{{stick2}}}|}}{{#if: {{{duration2|}}} |<br> | |||
{{!}}{{{duration2}}}|}}{{#if: {{{cost2|}}} |<br> | |||
{{!}}{{{cost2}}} Marks|}}{{#if: {{{crafting2|}}} |<br> | |||
{{!}}{{{crafting2}}}|}}{{#if: {{{deconstruction2|}}} |<br> | |||
{{!}}{{{deconstruction2}}}|}}{{#if: {{{raw2|}}} |<br> | |||
{{!}}{{{raw2}}}|}}{{#if: {{{cooldown2|}}} |<br> | |||
{{!}}{{{cooldown2}}}|}}{{#if: {{{notes2|}}} |<br> | |||
{{!}}{{{notes2}}}|}} | |||
|}}<!-- | |||
-->{{#if: {{{item3|}}} |<br> | |||
{{!}}- | |||
{{!}}{{#if: {{{image3|}}} | [[File:{{{image3}}}|{{{imagewidth3|90}}}px|center]]|}}{{{item3}}}{{#if: {{{targettype3|}}} |<br> | |||
{{!}}{{{targettype3}}}|}}{{#if: {{{context3|}}} |<br> | |||
{{!}}{{{context3}}}|}}{{#if: {{{range3|}}} |<br> | |||
{{!}}{{{range3}}}|}}{{#if: {{{ammocount3|}}} |<br> | |||
{{!}}{{{ammocount3}}}|}}{{#if: {{{attackdamage3|}}} |<br> | |||
{{!}}{{{attackdamage3}}}|}}{{#if: {{{afflictions3|}}} |<br> | |||
{{!}}{{{afflictions3}}}|}}{{#if: {{{penetration3|}}} |<br> | |||
{{!}}{{{penetration3}}}|}}{{#if: {{{aoe3|}}} |<br> | |||
{{!}}{{{aoe3}}}|}}{{#if: {{{aoeinside3|}}} |<br> | |||
{{!}}{{{aoeinside3}}}|}}{{#if: {{{aoerange3|}}} |<br> | |||
{{!}}{{{aoerange3}}}m|}}{{#if: {{{bleedingdamage3|}}} |<br> | |||
{{!}}{{{bleedingdamage3}}}|}}{{#if: {{{structuredamage3|}}} |<br> | |||
{{!}}{{{structuredamage3}}}|}}{{#if: {{{itemdamage3|}}} |<br> | |||
{{!}}{{{itemdamage3}}}|}}{{#if: {{{stundamage3|}}} |<br> | |||
{{!}}{{{stundamage3}}}|}}{{#if: {{{force3|}}} |<br> | |||
{{!}}{{{force3}}}|}}{{#if: {{{explosionrange3|}}} |<br> | |||
{{!}}{{{explosionrange3}}}|}}{{#if: {{{explosionforce3|}}} |<br> | |||
{{!}}{{{explosionforce3}}}|}}{{#if: {{{severlimbs3|}}} |<br> | |||
{{!}}{{{severlimbs3}}}|}}{{#if: {{{damagetype3|}}} |<br> | |||
{{!}}{{{damagetype3}}}|}}{{#if: {{{stick3|}}} |<br> | |||
{{!}}{{{stick3}}}|}}{{#if: {{{duration3|}}} |<br> | |||
{{!}}{{{duration3}}}|}}{{#if: {{{cost3|}}} |<br> | |||
{{!}}{{{cost3}}} Marks|}}{{#if: {{{crafting3|}}} |<br> | |||
{{!}}{{{crafting3}}}|}}{{#if: {{{deconstruction3|}}} |<br> | |||
{{!}}{{{deconstruction3}}}|}}{{#if: {{{raw3|}}} |<br> | |||
{{!}}{{{raw3}}}|}}{{#if: {{{cooldown3|}}} |<br> | |||
{{!}}{{{cooldown3}}}|}}{{#if: {{{notes3|}}} |<br> | |||
{{!}}{{{notes3}}}|}} | |||
|}}<!-- | |||
-->{{#if: {{{item4|}}} |<br> | |||
{{!}}- | |||
{{!}}{{#if: {{{image4|}}} | [[File:{{{image4}}}|{{{imagewidth4|90}}}px|center]]|}}{{{item4}}}{{#if: {{{targettype4|}}} |<br> | |||
{{!}}{{{targettype4}}}|}}{{#if: {{{context4|}}} |<br> | |||
{{!}}{{{context4}}}|}}{{#if: {{{range4|}}} |<br> | |||
{{!}}{{{range4}}}|}}{{#if: {{{ammocount4|}}} |<br> | |||
{{!}}{{{ammocount4}}}|}}{{#if: {{{attackdamage4|}}} |<br> | |||
{{!}}{{{attackdamage4}}}|}}{{#if: {{{afflictions4|}}} |<br> | |||
{{!}}{{{afflictions4}}}|}}{{#if: {{{penetration4|}}} |<br> | |||
{{!}}{{{penetration4}}}|}}{{#if: {{{aoe4|}}} |<br> | |||
{{!}}{{{aoe4}}}|}}{{#if: {{{aoeinside4|}}} |<br> | |||
{{!}}{{{aoeinside4}}}|}}{{#if: {{{aoerange4|}}} |<br> | |||
{{!}}{{{aoerange4}}}m|}}{{#if: {{{bleedingdamage4|}}} |<br> | |||
{{!}}{{{bleedingdamage4}}}|}}{{#if: {{{structuredamage4|}}} |<br> | |||
{{!}}{{{structuredamage4}}}|}}{{#if: {{{itemdamage4|}}} |<br> | |||
{{!}}{{{itemdamage4}}}|}}{{#if: {{{stundamage4|}}} |<br> | |||
{{!}}{{{stundamage4}}}|}}{{#if: {{{force4|}}} |<br> | |||
{{!}}{{{force4}}}|}}{{#if: {{{explosionrange4|}}} |<br> | |||
{{!}}{{{explosionrange4}}}|}}{{#if: {{{explosionforce4|}}} |<br> | |||
{{!}}{{{explosionforce4}}}|}}{{#if: {{{severlimbs4|}}} |<br> | |||
{{!}}{{{severlimbs4}}}|}}{{#if: {{{damagetype4|}}} |<br> | |||
{{!}}{{{damagetype4}}}|}}{{#if: {{{stick4|}}} |<br> | |||
{{!}}{{{stick4}}}|}}{{#if: {{{duration4|}}} |<br> | |||
{{!}}{{{duration4}}}|}}{{#if: {{{cost4|}}} |<br> | |||
{{!}}{{{cost4}}} Marks|}}{{#if: {{{crafting4|}}} |<br> | |||
{{!}}{{{crafting4}}}|}}{{#if: {{{deconstruction4|}}} |<br> | |||
{{!}}{{{deconstruction4}}}|}}{{#if: {{{raw4|}}} |<br> | |||
{{!}}{{{raw4}}}|}}{{#if: {{{cooldown4|}}} |<br> | |||
{{!}}{{{cooldown4}}}|}}{{#if: {{{notes4|}}} |<br> | |||
{{!}}{{{notes4}}}|}} | |||
|}}<!-- | |||
-->{{#if: {{{item5|}}} |<br> | |||
{{!}}- | |||
{{!}}{{#if: {{{image5|}}} | [[File:{{{image5}}}|{{{imagewidth5|90}}}px|center]]|}}{{{item5}}}{{#if: {{{targettype5|}}} |<br> | |||
{{!}}{{{targettype5}}}|}}{{#if: {{{context5|}}} |<br> | |||
{{!}}{{{context4}}}|}}{{#if: {{{range5|}}} |<br> | |||
{{!}}{{{range5}}}|}}{{#if: {{{ammocount5|}}} |<br> | |||
{{!}}{{{ammocount5}}}|}}{{#if: {{{attackdamage5|}}} |<br> | |||
{{!}}{{{attackdamage5}}}|}}{{#if: {{{afflictions5|}}} |<br> | |||
{{!}}{{{afflictions5}}}|}}{{#if: {{{penetration5|}}} |<br> | |||
{{!}}{{{penetration5}}}|}}{{#if: {{{aoe5|}}} |<br> | |||
{{!}}{{{aoe5}}}|}}{{#if: {{{aoeinside5|}}} |<br> | |||
{{!}}{{{aoeinside5}}}|}}{{#if: {{{aoerange5|}}} |<br> | |||
{{!}}{{{aoerange5}}}m|}}{{#if: {{{bleedingdamage5|}}} |<br> | |||
{{!}}{{{bleedingdamage5}}}|}}{{#if: {{{structuredamage5|}}} |<br> | |||
{{!}}{{{structuredamage5}}}|}}{{#if: {{{itemdamage5|}}} |<br> | |||
{{!}}{{{itemdamage5}}}|}}{{#if: {{{stundamage5|}}} |<br> | |||
{{!}}{{{stundamage5}}}|}}{{#if: {{{force5|}}} |<br> | |||
{{!}}{{{force5}}}|}}{{#if: {{{explosionrange5|}}} |<br> | |||
{{!}}{{{explosionrange5}}}|}}{{#if: {{{explosionforce5|}}} |<br> | |||
{{!}}{{{explosionforce5}}}|}}{{#if: {{{severlimbs5|}}} |<br> | |||
{{!}}{{{severlimbs5}}}|}}{{#if: {{{damagetype5|}}} |<br> | |||
{{!}}{{{damagetype5}}}|}}{{#if: {{{stick5|}}} |<br> | |||
{{!}}{{{stick5}}}|}}{{#if: {{{duration5|}}} |<br> | |||
{{!}}{{{duration5}}}|}}{{#if: {{{cost5|}}} |<br> | |||
{{!}}{{{cost5}}} Marks|}}{{#if: {{{crafting5|}}} |<br> | |||
{{!}}{{{crafting5}}}|}}{{#if: {{{deconstruction5|}}} |<br> | |||
{{!}}{{{deconstruction5}}}|}}{{#if: {{{raw5|}}} |<br> | |||
{{!}}{{{raw5}}}|}}{{#if: {{{cooldown5|}}} |<br> | |||
{{!}}{{{cooldown5}}}|}}{{#if: {{{notes5|}}} |<br> | |||
{{!}}{{{notes5}}}|}} | |||
|}} | |}} | ||
|} | |} | ||
<noinclude>{{doc}}[[Category:Data tables]]</noinclude> | |||
<noinclude>[[Category:Data tables]]</noinclude> |
Latest revision as of 19:12, 9 June 2022
Item |
---|
{{{item}}} |
Used paramaters will be displayed in that order, from left to right.
XML data details may vary, there are exceptions etc.
Deprecated parameters are kept functional to not break any pages that still use them, but they shouldn't be used anymore.
Parameter | Description | Relevant tag in xml |
---|---|---|
item | Name of the attack (usually limb name for creatures, ammo type for weapons) | Creatures: <limb>name</limb> Weapons: name of ammo type |
targettype | Structure or Character (for creature attacks only) | <limb><attack>targettype</attack></limb> |
context | Water, Ground, or Any (for creature attacks only) | <limb><attack>context</attack></limb> |
range | Range in meters (for creature attacks only). In xml files, the value is given in centimeters, so "300" in the xml = "3" in here. | <limb><attack>range</attack></limb> |
ammocount | Ammunition count that the weapon can store at a time. | TODO |
attackdamage | Deprecated, do not use | - |
afflictions | Direct Hit Afflictions, as opposed to explosion afflictions. Use the Affliction template. Use <br> between each affliction (which makes for a shorter newline than a double newline). Example: {{Affliction|Burn|||40}}<br>{{Affliction|Stun|||0.4 sec}} |
TODO |
penetration | Armor penetration in % | TODO |
aoe | Area of effect afflictions, same format as afflictions | TODO |
aoeinside | Area of effect afflictions that only affects targets inside the submarine, such as molochs ram ("Core") attack which stuns only inside. Identified by onlyinside="true" , in <explosion> , in <attack> . |
TODO |
aoerange | Area of Effect in meters. In xml files, the value is given in centimeters, so "300" in the xml = "3" in here. | TODO |
bleedingdamage | Deprecated, use "afflictions " instead |
- |
structuredamage | Structure Damage. In the case of explosions, add the explosion damage after a newline, e.g. "30 (direct hit) <br> 50 (explosion)" | Creatures: <limb><attack>structuredamage</attack></limb> Weapons: TODO |
itemdamage | Item Damage | Creatures: <limb><attack>itemdamage</attack></limb> Weapons: TODO |
stundamage | Deprecated, use "afflictions " instead |
- |
force | Direct hit kinematic force (not explosion force) | Creatures: <limb><attack>force</attack></limb> Hand weapons ammo: <Item><Projectile><Attack>targetforce</Attack></Projectile></Item> |
explosionrange | Explosion Radius (m) | Creatures: <limb><attack><Explosion>range</Explosion></attack></limb> Explosives: <Item><Throwable><StatusEffect><Explosion>range</Explosion></StatusEffect></Throwable></Item> Hand weapons ammo: <Item><Projectile><Explosion>range</Explosion></Projectile></Item> Sub weapons ammo: <Item><StatusEffect><Explosion>range</Explosion></StatusEffect></Item> |
explosionforce | Explosion kinematic force (not direct hit force) | Creatures: <limb><attack><Explosion>force</Explosion></attack></limb> Explosives: <Item><Throwable><StatusEffect><Explosion>force</Explosion></StatusEffect></Throwable></Item> Hand weapons ammo: <Item><Projectile><Explosion>force</Explosion></Projectile></Item> Sub weapons ammo: <Item><StatusEffect><Explosion>force</Explosion></StatusEffect></Item> |
severlimbs | Percent chance to sever target's limbs (cut off creatures' limbs that can be cut off) float: "0.1" = 10% |
<Item><Projectile><Attack>severlimbsprobability</Attack></Projectile></Item> (0 if absent) |
damagetype | Deprecated, use "afflictions " instead |
- |
stick | Does the ammo stick to entities. At the time of writing, only applies to spineling projectiles and harpoons (afaik) | <Item><Projectile>sticktocharacters</Projectile></Item> (false if absent) |
duration | Attack Duration. Mostly useful when some entries have long durations, such as the watcher's acid mist Can probably be omitted if all entries are below 1 second |
<limb><attack>duration</attack></limb> |
cost | Ammo/magazine/ammo box store price. Use min-max base prices from outpost types that sell the item Can probably be omitted when all ammo has their own page |
<Item><Price>baseprice</Price></Item> multiplied by lowest and highest price multipliers, excluding locations that don't sell it |
crafting | Crafting Materials Can probably be omitted when all ammo has their own page |
<Item><Fabricate><RequiredItem/></Fabricate></Item> (can't be crafted if absent) |
deconstruction | Deconstruction Yield Can probably be omitted when all ammo has their own page |
<Item><Deconstruct><Item/></Deconstruct></Item> (can't be deconstructed if absent) |
raw | Deprecated, do not use | - |
cooldown | Attack cooldown in seconds (for creature attacks only) | <limb><attack>cooldown</attack></limb> |
notes | Additional notes for exceptions or things that aren't covered by other fields |
The above documentation is transcluded from Template:Damage table/doc. (edit | history)