# Disease (shared)
This file defines some shared types for different diseases and poisons.
## Definitions
### `Resistance`
Depending on the disease, apply Spirit or Toughness as a penalty to the disease roll. It may also happen that the lower of both is applied as a penalty.
- **Type:** Union
- **Cases:** Resistance'0 | Resistance'1 | Resistance'2
---
### `Resistance'0`
- **Constant:** `"Spirit"`
---
### `Resistance'1`
- **Constant:** `"Toughness"`
---
### `Resistance'2`
- **Constant:** `"LowerOfSpiritAndToughness"`
---
### `Cause`
What causes the disease? The GM rolls 1D20 to see if a character gets infected. If the infection check succeeds, the GM makes a disease check to determine the severity of the infection.
- **Type:** Object
Key | Description | Details
:-- | :-- | :--
`chance?` | The chance to get infected by this cause, in percent. | See details
`translations` | All translations for the entry, identified by IETF language tag (BCP47). | See details
#### `chance?`
The chance to get infected by this cause, in percent.
- **Type:** Integer
- **Minimum:** `5`
- **Maximum:** `100`
- **Multiple of:** `5`
#### `translations`
All translations for the entry, identified by IETF language tag (BCP47).
- **Type:** LocaleMap<CauseTranslation>
---
### `CauseTranslation`
- **Type:** Object
Key | Description | Details
:-- | :-- | :--
`name` | The name of the cause. | See details
`chance?` | The chance to get infected by this cause. If present for this language, this overrides the universal `chance` field; they cannot be used at the same time. | See details
`note?` | An additional note about this cause. | See details
#### `name`
The name of the cause.
- **Type:** String
- **Minimum Length:** `1`
#### `chance?`
The chance to get infected by this cause. If present for this language, this overrides the universal `chance` field; they cannot be used at the same time.
- **Type:** NonEmptyString
#### `note?`
An additional note about this cause.
- **Type:** NonEmptyString
---
### `DiseaseTranslation`
- **Type:** Object
Key | Description | Details
:-- | :-- | :--
`name` | The name of the disease. | See details
`alternative_names?` | A list of alternative names. | See details
`progress` | The disease’s progress, in detail. | See details
`incubation_time` | After infection, how much time passes before symptoms appear? | See details
`damage` | The damage caused by the disease. If the disease check fails, apply the lessened effects. | See details
`duration` | The duration of the disease. If the disease check fails, use the lessened duration. | See details
`special?` | Special information about the disease. | See details
`treatment` | Methods known to lessen the disease’s progress or relieve symptoms. | See details
`cure` | Known remedies for the disease. | See details
`errata?` | | See details
#### `name`
The name of the disease.
- **Type:** NonEmptyString
#### `alternative_names?`
A list of alternative names.
- **Type:** List
- **Items:** DiseaseTranslation/alternative_names[]
- **Minimum Items:** `1`
#### `progress`
The disease’s progress, in detail.
- **Type:** NonEmptyMarkdown
#### `incubation_time`
After infection, how much time passes before symptoms appear?
- **Type:** NonEmptyString
#### `damage`
The damage caused by the disease. If the disease check fails, apply the lessened effects.
- **Type:** Reduceable<NonEmptyMarkdown>
#### `duration`
The duration of the disease. If the disease check fails, use the lessened duration.
- **Type:** Reduceable<NonEmptyMarkdown>
#### `special?`
Special information about the disease.
- **Type:** NonEmptyMarkdown
#### `treatment`
Methods known to lessen the disease’s progress or relieve symptoms.
- **Type:** NonEmptyMarkdown
#### `cure`
Known remedies for the disease.
- **Type:** NonEmptyMarkdown
#### `errata?`
- **Type:** Errata
---
### `DiseaseTranslation/alternative_names[]`
- **Type:** AlternativeName
---
### `Reduceable`
An effect or other parameter that may be reduced by a failed disease check for lessening or a degraded poison.
This streamlines the wording for diseases and poison by using a unified wording for *lessened* (disease) and *degraded* (poison).
- **Type:** Object
Key | Description | Details
:-- | :-- | :--
`default` | The default value. In the source, it's the text before the slash. | See details
`reduced?` | The reduced value. In the source, it's the text after the slash. Some entries may not have a reduced value. | See details
#### `default`
The default value. In the source, it's the text before the slash.
- **Type:** Content
#### `reduced?`
The reduced value. In the source, it's the text after the slash. Some entries may not have a reduced value.
- **Type:** Content