Template:Affliction table/doc: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 42: Line 42:
|-
|-
|effect1
|effect1
|The effects that take place in the first strength range. Do not include visual effects. Displays <code>N/A</code> if not called.
|The effects that take place in the first strength range. Displays <code>N/A</code> if not called.
|-
|-
|range2
|range2
Line 48: Line 48:
|-
|-
|effect2
|effect2
|The effects that take place in the second strength range. Do not include visual effects.
|The effects that take place in the second strength range.
|-
|-
|range3
|range3
Line 54: Line 54:
|-
|-
|effect3
|effect3
|The effects that take place in the third strength range. Do not include visual effects.
|The effects that take place in the third strength range.
|-
|-
|range4
|range4
Line 60: Line 60:
|-
|-
|effect4
|effect4
|The effects that take place in the fourth strength range. Do not include visual effects.
|The effects that take place in the fourth strength range.
|-
|-
|range5
|range5
Line 66: Line 66:
|-
|-
|effect5
|effect5
|The effects that take place in the fifth strength range. Do not include visual effects.
|The effects that take place in the fifth strength range.
|-
|-
|range6
|range6
Line 72: Line 72:
|-
|-
|effect6
|effect6
|The effects that take place in the sixth strength range. Do not include visual effects.
|The effects that take place in the sixth strength range.
|-
|-
|range7
|range7
Line 78: Line 78:
|-
|-
|effect7
|effect7
|The effects that take place in the seventh strength range. Do not include visual effects.
|The effects that take place in the seventh strength range.
|-
|-
|range8
|range8
Line 84: Line 84:
|-
|-
|effect8
|effect8
|The effects that take place in the eighth strength range. Do not include visual effects.
|The effects that take place in the eighth strength range.
|-
|-
|treatments
|treatments

Revision as of 06:32, 28 March 2022

Documentation

Example table for Internal Damage:

Affliction Limb Specific Vitality Scaling Strength Change Strength Range Effects Treatments Caused By

Internal Damage
ID: internaldamage
Type: damage
Yes Yes None 0 - 200 -0 → -2 Vitality Deusizine (-90 | -30)* Desirable Medical Skill72
Fentanyl (-75 | -50)* Desirable Medical Skill72
Morphine (-50 | -25)* Desirable Medical Skill30
Opium (-20 | -10)* Desirable Medical Skill15
Hyperzine (-12 | -6)* Desirable Medical Skill50
Tonic Liquid (-12 | 0)* Desirable Medical Skill5
Pomegrenade Extract (-6 | -3)* Desirable Medical Skill20
N/A
Parameter Description
icon The name of the affliction icon's file. Uses Affliction [Name] if not called.
name The name of the affliction. Required.
identifier The affliction's unique identifier (defined in XML).
type The affliction's type (defined in XML).
limb Is the affliction able to be applied to a specific limb? Displays No if not called.
scaled Will Vitality loss and Affliction gain be multiplied by the afflicted's max vitality? Displays No if not called.
evolution How much does the affliction's strength change per second? Displays None if not called.
range1 The strength range in which the affliction's first set of effects take place. Displays N/A if not called.
effect1 The effects that take place in the first strength range. Displays N/A if not called.
range2 The strength range in which the affliction's second set of effects take place.
effect2 The effects that take place in the second strength range.
range3 The strength range in which the affliction's third set of effects take place.
effect3 The effects that take place in the third strength range.
range4 The strength range in which the affliction's fourth set of effects take place.
effect4 The effects that take place in the fourth strength range.
range5 The strength range in which the affliction's fifth set of effects take place.
effect5 The effects that take place in the fifth strength range.
range6 The strength range in which the affliction's sixth set of effects take place.
effect6 The effects that take place in the sixth strength range.
range7 The strength range in which the affliction's seventh set of effects take place.
effect7 The effects that take place in the seventh strength range.
range8 The strength range in which the affliction's eighth set of effects take place.
effect8 The effects that take place in the eighth strength range.
treatments What Medical Items decrease the affliction's strength? Use Template:Str with this section. Displays N/A if not called.
causes What Medical Items increase the affliction's strength? Use Template:Str with this section. Displays N/A if not called.
sort Used by Cargo.
description Used by Cargo.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.