Template:CargoDamage/row: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 2: Line 2:
|-
|-
| style="text-align:center;" | [[File:{{{name}}}.png|50px]] <br> [[{{{name}}}]]
| style="text-align:center;" | [[File:{{{name}}}.png|50px]] <br> [[{{{name}}}]]
| {{{afflictions}}}
| {{#if: {{{bluntforcetrauma|}}}|{{Affliction|Blunt Force Trauma|||{{{bluntforcetrauma}}}}} ({{#expr: {{{bluntforcetrauma}}}/{{{attackspeed}}}}} DPS)<br>|}}<!-- <br> are here because 99% of the time stun is last, and there's no <br> after stun here. Sketchy, but haven't found a better way yet.
-->{{#if: {{{lacerations|}}}|{{Affliction|Lacerations|||{{{lacerations}}}}} ({{#expr: {{{lacerations}}}/{{{attackspeed}}}}} DPS)<br>|}}<!-- this means that in the remaining 1% cases, there will be an empty line at the end of the cell (when there's no stun e.g. coilgun ammo etc
-->{{#if: {{{gunshotwound|}}}|{{Affliction|Gunshot Wound|||{{{gunshotwound}}}}} ({{#expr: {{{gunshotwound}}}/{{{attackspeed}}}}} DPS)<br>|}}<!--
-->{{#if: {{{deeptissueinjury|}}}|{{Affliction|Deep Tissue Injury|||{{{deeptissueinjury}}}}} ({{#expr: {{{deeptissueinjury}}}/{{{attackspeed}}}}} DPS)<br>|}}<!--
-->{{#if: {{{organdamage|}}}|{{Affliction|Organ Damage|||{{{organdamage}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{burn|}}}|{{Affliction|Burn|||{{{burn}}}}} ({{#expr: {{{burn}}}/{{{attackspeed}}}}} DPS)<br>|}}<!--
-->{{#if: {{{bleeding|}}}|{{Affliction|Bleeding|||{{{bleeding}}}}} ({{#expr: {{{bleeding}}}/{{{attackspeed}}}}} DPS)<br>|}}<!--
-->{{#if: {{{oxygenlow|}}}|{{Affliction|Oxygen Low|||{{{oxygenlow}}}}} ({{#expr: {{{oxygenlow}}}/{{{attackspeed}}}}} DPS)<br>|}}<!--
-->{{#if: {{{huskinfection|}}}|{{Affliction|Husk Infection|||{{{huskinfection}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{morbusinepoisoning|}}}|{{Affliction|Morbusine Poisoning|||{{{morbusinepoisoning}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{sufforinpoisoning|}}}|{{Affliction|Sufforin Poisoning|||{{{sufforinpoisoning}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{deliriuminepoisoning|}}}|{{Affliction|Deliriumine Poisoning|||{{{deliriuminepoisoning}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{cyanidepoisoning|}}}|{{Affliction|Cyanide Poisoning|||{{{cyanidepoisoning}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{radiationsickness|}}}|{{Affliction|Radiation Sickness|||{{{radiationsickness}}}}} ({{#expr: {{{radiationsickness}}}/{{{attackspeed}}}}} DPS)<br>|}}<!--
-->{{#if: {{{paralysis|}}}|{{Affliction|Paralysis|||{{{paralysis}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{progressivestun|}}}|{{Affliction|Progressive Stun|||{{{progressivestun}}}}}<br>|}}<!-- no dps needed
-->{{#if: {{{stun|}}}|{{Affliction|Stun|||{{{stun}}}s}}|}}
| {{{attackspeed}}}
| {{{attackspeed}}}
| {{#if: {{{penetration|}}}|{{{penetration}}}%|0%}}
| {{#if: {{{penetration|}}}|{{{penetration}}}%|0%}}
</onlyinclude>
</onlyinclude>

Revision as of 19:07, 14 November 2021

|- | style="text-align:center;" | [[File:{{{name}}}.png|50px]]
[[{{{name}}}]] | | {{{attackspeed}}} | 0%