v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing v0.31:Syndrome
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.31"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{ | + | {{av}} |
+ | A '''syndrome''' is a disease or effect that a poor hapless creature might get through encountering certain creatures, extracts or vindictive modders. They generally cause unpleasant and frequently fatal {{L|symptoms}} over a short to long period of time, but some will clear up over time or with the assistance of a {{L|doctor}}. A {{L|Hospital}} is required to diagnose and potentially treat the syndrome. [[File:Snakebite.png|200px|thumb|right|An example of a syndrome in effect. This hippo did not ultimately survive the encounter despite one bite being the only injury sustained.]] | ||
− | + | ==List of syndromes in Vanilla== | |
− | |||
− | ==List of syndromes== | ||
{| {{prettytable}} | {| {{prettytable}} | ||
− | |- bgcolor="# | + | |- bgcolor="#ddd" |
− | ! Syndrome | + | ! | Syndrome |
− | ! | + | ! | Accquired |
− | + | ! | Short-term Symptoms | |
− | ! Short-term Symptoms | + | ! | Long-term Symptoms |
− | ! Long-term Symptoms | + | ! | Chronic Symptoms |
− | ! Chronic Symptoms | ||
|- | |- | ||
| Blob blisters | | Blob blisters | ||
− | | | + | | Direct skin contact with a {{L|cave blob}} |
− | | | ||
| Mild pain<br/>Mild blisters | | Mild pain<br/>Mild blisters | ||
| None | | None | ||
Line 21: | Line 18: | ||
|- | |- | ||
| Cave floater sickness | | Cave floater sickness | ||
− | + | | Expelled from a {{L|cave floater}}. | |
− | | Expelled from | ||
| Mild nausea | | Mild nausea | ||
| Fever<br/>Strong drowsiness (delayed)<br/>Strong dizziness (delayed) | | Fever<br/>Strong drowsiness (delayed)<br/>Strong dizziness (delayed) | ||
Line 28: | Line 24: | ||
|- | |- | ||
| Cave spider bite | | Cave spider bite | ||
− | + | | Being bitten by a {{L|cave spider}} | |
− | | Being bitten by a | ||
| None | | None | ||
| None | | None | ||
| Very mild dizziness | | Very mild dizziness | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| Giant cave spider bite | | Giant cave spider bite | ||
− | + | | Being bitten by a {{L|giant cave spider}} | |
− | | Being bitten by a | + | | Complete paralysis<br/>'''Being eaten by the GCS''' |
− | | Complete paralysis | ||
| None, not that it really matters. | | None, not that it really matters. | ||
| None | | None | ||
|- | |- | ||
| Gnomeblight | | Gnomeblight | ||
− | | | + | | Touching, breathing or injecting {{L|gnomeblight}}<br/>Gnomes only. |
− | |||
| None | | None | ||
− | | Severe systemic necrosis< | + | | Severe systemic necrosis<br/>Death |
| None | | None | ||
|- | |- | ||
| Giant desert scorpion sting | | Giant desert scorpion sting | ||
− | + | | Being stung by a {{L|giant desert scorpion}} | |
− | | Being stung by a | ||
| None | | None | ||
− | | Necrosis of the brain and nervous system< | + | | Necrosis of the brain and nervous system<br/>Permanent paralysis, likely followed by death |
| None | | None | ||
|- | |- | ||
| Helmet snake bite | | Helmet snake bite | ||
− | + | | Being bitten by a {{L|helmet snake}}. | |
− | | Being bitten by a | ||
| Minor bleeding | | Minor bleeding | ||
| Fever<br/>Nausea<br/>Dizziness<br/>Localized swelling<br/>Localized oozing<br/>Localized bruising<br/>Strong pain<br/>Intense localized necrosis<br/>Possible loss of limb | | Fever<br/>Nausea<br/>Dizziness<br/>Localized swelling<br/>Localized oozing<br/>Localized bruising<br/>Strong pain<br/>Intense localized necrosis<br/>Possible loss of limb | ||
| None | | None | ||
|- | |- | ||
− | | Iron | + | | Iron Man Cough |
− | | iron man | + | | Expelled by {{L|iron man}} |
− | + | | Severe cough<br/>Bleeding (from the cough) | |
− | |||
− | |||
| None | | None | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| None | | None | ||
|- | |- | ||
| Serpent man bite | | Serpent man bite | ||
− | + | | Being bitten by a {{L|serpent man}} | |
− | | Being bitten by a | + | | Complete paralysis |
− | | Complete paralysis | ||
| None | | None | ||
| None | | None | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
==The anatomy of a syndrome== | ==The anatomy of a syndrome== | ||
− | Mechanically, syndromes are bundles of tokens | + | Mechanically, syndromes are bundles of tokens attatched to a material - they're confined to creature materials in vanilla DF, but it's a simple matter to add them to inorganic materials. When the material is injected, touched or inhaled (depending on the syndrome), the creature suffers the predations of a nasty disease or poison. Here's an example syndrome, taken from the Giant Cave Spider raws. |
− | |||
− | |||
[USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE] | [USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE] | ||
Line 138: | Line 87: | ||
The first line, USE_MATERIAL_TEMPLATE, is creating a new material, called POISON, using the CREATURE_EXTRACT_TEMPLATE as the basis. After this, the STATE_NAME and STATE_ADJ tokens are used to define the names and adjectives assigned to different states of the material - GAS, LIQUID and ALL_SOLID, in this case, though ALL is also a valid token. At this stage, you can use any material tags like MAT_FIXED_TEMP or similar to set further material properties, though this usually isn't necessary. | The first line, USE_MATERIAL_TEMPLATE, is creating a new material, called POISON, using the CREATURE_EXTRACT_TEMPLATE as the basis. After this, the STATE_NAME and STATE_ADJ tokens are used to define the names and adjectives assigned to different states of the material - GAS, LIQUID and ALL_SOLID, in this case, though ALL is also a valid token. At this stage, you can use any material tags like MAT_FIXED_TEMP or similar to set further material properties, though this usually isn't necessary. | ||
− | + | The purpose of ENTERS_BLOOD is currently unclear pending further testing, but is assumed to represent the contagion entering the bloodstream and circulating around the body. | |
− | + | ||
SYNDROME | SYNDROME | ||
This tag ends the material details and begins the definition of the actual syndrome. | This tag ends the material details and begins the definition of the actual syndrome. | ||
Line 146: | Line 95: | ||
SYN_AFFECTED_CLASS | SYN_AFFECTED_CLASS | ||
This token defines what CREATURE_CLASS will be affected by the syndrome. Most creatures are classed under GENERAL_POISON. Multiple tokens can be used in a single syndrome. | This token defines what CREATURE_CLASS will be affected by the syndrome. Most creatures are classed under GENERAL_POISON. Multiple tokens can be used in a single syndrome. | ||
− | |||
− | |||
SYN_IMMUNE_CREATURE | SYN_IMMUNE_CREATURE | ||
− | + | As above, this token defines which creatures CANNOT be affected by the syndrome - useful for addressing specific instances within a population, such as a specific caste or an individual creature that falls under GENERAL_POISON. | |
− | |||
− | |||
− | |||
SYN_INJECTED, SYN_CONTACT, SYN_INHALED | SYN_INJECTED, SYN_CONTACT, SYN_INHALED | ||
This token determines the method of infection - injected syndromes must be injected via a creature attack, while contact syndromes result from any contamination of a creature by material splatter (such as blood) and inhaled syndromes must be inhaled in gaseous form, such as from boiling or a creature breath attack. Any combination of these tags can be used. A fun variation on the usual creature injection routine is to create a material with a SYN_CONTACT syndrome and have a creature use it for blood - this tends to end poorly for any predator that chooses to attack them. | This token determines the method of infection - injected syndromes must be injected via a creature attack, while contact syndromes result from any contamination of a creature by material splatter (such as blood) and inhaled syndromes must be inhaled in gaseous form, such as from boiling or a creature breath attack. Any combination of these tags can be used. A fun variation on the usual creature injection routine is to create a material with a SYN_CONTACT syndrome and have a creature use it for blood - this tends to end poorly for any predator that chooses to attack them. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
CE_X, or creature effect tokens, are the real meat and bones of your syndrome. They're detailed below. | CE_X, or creature effect tokens, are the real meat and bones of your syndrome. They're detailed below. | ||
Line 169: | Line 108: | ||
− | In this example, we have an effect that will always cause severe necrosis in whichever bodypart it touches, so long as that bodypart is vascular and that the creature is not able to resist it in some manner. The effect begins shortly after the syndrome is contracted, peaks 1000 | + | In this example, we have an effect that will always cause severe necrosis in whichever bodypart it touches, so long as that bodypart is vascular and that the creature is not able to resist it in some manner. The effect begins shortly after the syndrome is contracted, peaks 1000 time units afterwards, and finally ceases another 1000 time units later. |
As a general rule of thumb, so long as CE_X starts the string and START/PEAK/END end it, the order of the intervening tokens isn't important. | As a general rule of thumb, so long as CE_X starts the string and START/PEAK/END end it, the order of the intervening tokens isn't important. | ||
− | + | CE_X | |
The effect type. This can be a number of different tokens, as detailed in the table below this list. | The effect type. This can be a number of different tokens, as detailed in the table below this list. | ||
− | + | SEV:X | |
− | The severity of the effect. Higher values appear to be worse, with SEV: | + | The severity of the effect. Higher values appear to be worse, with SEV:100 CE_NECROSIS causing a creature to rot to death instantly. |
− | + | PROB:X | |
The probability of the effect actually manifesting in the victim, as a percentage. 100 means always, 1 means a 1 in 100 chance. | The probability of the effect actually manifesting in the victim, as a percentage. 100 means always, 1 means a 1 in 100 chance. | ||
− | + | LOCALIZED (Optional if the BP:BY_CATEGORY/BY_TYPE token is present) | |
− | This tag causes | + | This tag causes the effect to be restricted to the limb that came into contact with the contagion - ie. the part that was bitten by the creature injecting the syndrome material, or the one that was splattered by a contact contagion. It's unclear how this tag functions in syndromes contracted by inhalation. |
− | + | BP:BY_CATEGORY/BY_TYPE:BODYPART:TISSUE (Optional if the LOCALIZED token is present) | |
− | Specifies | + | Specifies a target or range of targets for the effect to manifest in. For example, if you wanted to target the lungs of a creature, you would use BP:BY_CATEGORY:LUNG:ALL. The syndrome would act on all bodyparts within the creature with the CATEGORY tag LUNG and affect all tissue layers. For another example, say you wanted to cause the skin to rot off a creature - you could use BP:BY_CATEGORY:ALL:SKIN, targetting the SKIN tissue on all bodyparts. This is one of the most powerful and useful aspects of the syndrome system, as it allows you to selectively target bodyparts relevant to the contagion, like lungs for coal dust inhalation, or the eyes for exposure to an acid gas. |
− | + | VASCULAR_ONLY (Optional) | |
This syndrome only affects tissue layers with the VASCULAR token. | This syndrome only affects tissue layers with the VASCULAR token. | ||
− | + | MUSCULAR_ONLY (Optional) | |
This syndrome only affects tissue layers with the MUSCULAR token. Are you seeing a trend here? | This syndrome only affects tissue layers with the MUSCULAR token. Are you seeing a trend here? | ||
− | + | SIZE_DILUTES (Optional) | |
− | This token presumably causes the effects of the syndrome to scale with the size of the creature compared to the size of the dose of contagion they | + | This token presumably causes the effects of the syndrome to scale with the size of the creature compared to the size of the dose of contagion they recieved, but has yet to be extensively tested. |
− | + | SIZE_DELAYS (Optional) | |
− | As above, this token has yet to be tested | + | As above, this token has yet to be tested by presumably delays the onset of a syndrome according to the size of the victim. |
The details of this table are still being thrashed out by modders, so if you have anything to add, please don't hesitate to hit the edit button! | The details of this table are still being thrashed out by modders, so if you have anything to add, please don't hesitate to hit the edit button! | ||
− | |||
− | |||
{| {{prettytable}} | {| {{prettytable}} | ||
− | |- bgcolor=" | + | |- bgcolor="#ddd" |
− | ! Token | + | ! | Token |
− | ! | + | ! | Description |
− | |||
|- | |- | ||
− | | | + | | CE_FEVER |
− | + | | Causes the Fever condition. | |
− | | Causes the | ||
|- | |- | ||
− | | | + | | CE_NAUSEA |
− | | | + | | Causes the Nausea condition, and heavy vomitting. |
− | |||
|- | |- | ||
− | | | + | | CE_DIZZINESS |
− | | | + | | Inflicts the Dizziness condition, occasional fainting and a general slowdown in movement and work speed. |
− | |||
|- | |- | ||
− | | | + | | CE_SWELLING |
− | + | | Causes the targetted bodypart to swell up. | |
− | |||
− | |||
− | |||
− | |||
− | | Causes the | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| CE_OOZING | | CE_OOZING | ||
− | |||
| Causes pus to ooze from the afflicted bodypart. | | Causes pus to ooze from the afflicted bodypart. | ||
|- | |- | ||
− | | | + | | CE_BRUISING |
− | | | + | | Causes the targetted bodypart to undergo bruising. |
− | |||
|- | |- | ||
− | | | + | | CE_BLEEDING |
− | + | | Causes the targetted bodypart to start bleeding, with heavy enough bleeding resulting in the death of the sufferer. | |
− | | Causes | ||
|- | |- | ||
− | | | + | | CE_NECROSIS |
− | + | | Causes the targetted bodypart to rot, with associated tissue damage and miasma. Badly necrotic limbs will require amputation and heavy rot will eventually result in bleeding. | |
− | | Causes the | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| CE_DROWSINESS | | CE_DROWSINESS | ||
− | |||
| Causes the Drowsiness condition. | | Causes the Drowsiness condition. | ||
|- | |- | ||
− | | | + | | CE_PAIN |
− | | | + | | Afflicts the targetted bodypart with intense pain. |
− | |||
|- | |- | ||
− | | | + | | CE_BLISTERS |
− | | | + | | Covers the targetted bodypart with blisters. |
− | |||
|- | |- | ||
− | | | + | | CE_COUGH_BLOOD |
− | | | + | | This effect results in the sufferer periodically coughing blood, which stains the tile they're on and requires cleanup. It doesn't appear to be lethal, but may cause minor bleeding damage. |
− | |||
|- | |- | ||
− | | | + | | CE_IMPAIR_FUNCTION |
− | | | + | | An organ afflicted with this CE is rendered inoperable - for example, if both lungs are impaired the creature can't breathe and will suffocate. This token only affects organs, not limbs. |
− | |||
|} | |} | ||
Line 275: | Line 182: | ||
The easiest way to accomplish this is to assign the material a low boiling point, usually just under room temperature, and make sure its temperature is fixed to a point above it. | The easiest way to accomplish this is to assign the material a low boiling point, usually just under room temperature, and make sure its temperature is fixed to a point above it. | ||
[MAT_FIXED_TEMP:9001] | [MAT_FIXED_TEMP:9001] | ||
− | [ | + | [BOILING POINT:9000] |
− | Now, as soon as this substance hits the open air - by being mined, smelted or reaction-produced at a custom workshop - it will EXPLOSIVELY BOIL, flooding a small area with delicious syndrome-rich gas. Creatures who inhale the gas will be immediately hit with the syndrome you thoughtfully | + | Now, as soon as this substance hits the open air - by being mined, smelted or reaction-produced at a custom workshop - it will EXPLOSIVELY BOIL, flooding a small area with delicious syndrome-rich gas. Creatures who inhale the gas will be immediately hit with the syndrome you thoughtfully attatched to the material definition earlier! |
There are a number of other tokens you can use to control the colour and naming conventions of your syndrome material, referred to as MATERIAL tokens. | There are a number of other tokens you can use to control the colour and naming conventions of your syndrome material, referred to as MATERIAL tokens. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |