Template:TotalDamage

From Official Barotrauma Wiki
Revision as of 02:36, 16 March 2023 by G3jzer (talk | contribs)
Jump to: navigation, search
Documentation
Main article: Boilerplate:Gear


Template calculating total value of choosen afflictions in a magazine or a single round.

By default it calculates total damage afflictions in a mag.

Instructions

Field Note Example Default
1 Name of the item Exploding Ammunition box
2 Calculates damage per round if defined as "round" round
type Used to choose the type of afflictions:
  • damage = blunttrauma, gunshotwound, acidburn, explosiondamage, burn, lacerations.
  • stun = stun
  • bleeding = bleeding
  • all = All of them in the listed order separated by ,
stun damage

Sub Templates


Template in use

Total damage

{{TotalDamage|Exploding Ammunition Box}}
Error: No field named "bluntforcetrauma" found for any of the specified database tables.


Damage per round

{{TotalDamage|Exploding Ammunition Box|round}}
Error: No field named "bluntforcetrauma" found for any of the specified database tables.


Bleeding per round

{{TotalDamage|Exploding Ammunition Box|round|type=bleeding}}
Error: No field named "bluntforcetrauma" found for any of the specified database tables.


Stun per round

{{TotalDamage|Exploding Ammunition Box|round|type=stun}}
Error: No field named "bluntforcetrauma" found for any of the specified database tables.


All affliction types per round

{{TotalDamage|Exploding Ammunition Box|round|type=all}}
Error: No field named "bluntforcetrauma" found for any of the specified database tables.