Template:Affliction table/doc: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
m (minor wording fix) |
||
Line 18: | Line 18: | ||
|- | |- | ||
|noicon | |noicon | ||
|Prevents the affliction icon from showing if | |Prevents the affliction icon from showing if set to <code>Yes</code>. | ||
|- | |- | ||
|icon | |icon | ||
|The name of the affliction icon's file. Uses <code>Affliction [Name]</code> if not | |The name of the affliction icon's file. Uses <code>Affliction [Name]</code> if not defined. Does not do anything if <code>noicon</code> is defined. | ||
|- | |- | ||
|name | |name | ||
Line 27: | Line 27: | ||
|- | |- | ||
|identifier | |identifier | ||
|The affliction's unique identifier ( | |The affliction's unique identifier (found in XML). | ||
|- | |- | ||
|type | |type | ||
|The affliction's type ( | |The affliction's type (found in XML). | ||
|- | |- | ||
|limb | |limb | ||
|Is the affliction able to be applied to a specific limb? Displays <code>No</code> if not | |Is the affliction able to be applied to a specific limb? Displays <code>No</code> if not defined. | ||
|- | |- | ||
|scaled | |scaled | ||
|Will Vitality loss and Affliction gain be multiplied by the afflicted's max vitality? Displays <code>No</code> if not | |Will Vitality loss and Affliction gain be multiplied by the afflicted's max vitality? Displays <code>No</code> if not defined. | ||
|- | |- | ||
|evolution | |evolution | ||
|How much does the affliction's strength change per second? Displays <code>None</code> if not | |How much does the affliction's strength change per second? Displays <code>None</code> if not defined. | ||
|- | |- | ||
|range1 | |range1 | ||
|The strength range in which the affliction's first set of effects take place. Displays <code>N/A</code> if not | |The strength range in which the affliction's first set of effects take place. Displays <code>N/A</code> if not defined. | ||
|- | |- | ||
|effect1 | |effect1 | ||
|The effects that take place in the first strength range. Displays <code>N/A</code> if not | |The effects that take place in the first strength range. Displays <code>N/A</code> if not defined. | ||
|- | |- | ||
|range2 | |range2 | ||
Line 90: | Line 90: | ||
|- | |- | ||
|treatments | |treatments | ||
|What [[Medical Items]] decrease the affliction's strength? Use [[Template:Str]] with this section. Displays <code>N/A</code> if not | |What [[Medical Items]] decrease the affliction's strength? Use [[Template:Str]] with this section. Displays <code>N/A</code> if not defined. | ||
|- | |- | ||
|causes | |causes | ||
|What [[Medical Items]] increase the affliction's strength? Use [[Template:Str]] with this section. Displays <code>N/A</code> if not | |What [[Medical Items]] increase the affliction's strength? Use [[Template:Str]] with this section. Displays <code>N/A</code> if not defined. | ||
|- | |- | ||
|sort | |sort |
Revision as of 13:07, 30 March 2022
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 | Fentanyl (-75 | -50)* 72 Deusizine (-60 | -40)* 72 Morphine (-50 | 25)* 30 Opium (-20 | -10)* 15 Hyperzine (-12 | -6)* 50 Tonic Liquid (-12 | 0)* 5 Pomegrenade Extract (-6.25 | -3.125)* 20 |
N/A |
Parameter | Description |
---|---|
noicon | Prevents the affliction icon from showing if set to Yes .
|
icon | The name of the affliction icon's file. Uses Affliction [Name] if not defined. Does not do anything if noicon is defined.
|
name | The name of the affliction. Required. |
identifier | The affliction's unique identifier (found in XML). |
type | The affliction's type (found in XML). |
limb | Is the affliction able to be applied to a specific limb? Displays No if not defined.
|
scaled | Will Vitality loss and Affliction gain be multiplied by the afflicted's max vitality? Displays No if not defined.
|
evolution | How much does the affliction's strength change per second? Displays None if not defined.
|
range1 | The strength range in which the affliction's first set of effects take place. Displays N/A if not defined.
|
effect1 | The effects that take place in the first strength range. Displays N/A if not defined.
|
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 defined.
|
causes | What Medical Items increase the affliction's strength? Use Template:Str with this section. Displays N/A if not defined.
|
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.