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.

Difference between revisions of "Cave adaptation"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
 
(35 intermediate revisions by 22 users not shown)
Line 1: Line 1:
{{quality|unrated}}{{av}}
+
{{Quality|Exceptional}}
 +
{{av}}
 +
'''Cave adaptation''' is a mechanic that causes [[Dwarf|dwarves]] who spend too much time underground to grow sick when finally exposed to sunlight. It is controlled by the {{token|CAVE_ADAPT}} [[creature token|token]].
  
'''Cave adaptation''' is caused by dwarves spending too much time underground with insufficient exposure to outdoor sunlight.
+
Exposure of cave-adapted dwarves to outdoor sunlight can cause one of two negative [[thought]]s: "irritated by the sun" and "nauseated by the sun". The latter results from more severe cave adaptation and triggers profuse [[vomit]]ing, which can leave an otherwise capable soldier momentarily defenseless. Cave adaptation causes no problems if the affected dwarves simply remain [[Tile attributes|underground]].
  
Exposure of cave-adapted dwarves to outdoor sunlight can cause two negative [[thought]]s: "irritated by the sun" and "nauseated by the sun". The latter results from more severe cave adaptation and triggers profuse [[vomit]]ing, which can leave an otherwise capable soldier momentarily defenseless. Cave adaptation causes no problems if the affected dwarves simply remain [[Tile attributes|underground]].
+
== Prevention and treatment==
 +
First and foremost, be aware that cave adaptation requires much more effort to fully eradicate than it's worth. Most dwarves can spend their entire lives lurking in the dark with no negative consequences. Cave adaptation is only a major concern for your military dwarves, as they are the only ones who really need to be functioning at full capacity when outside. Menial labor dwarves sent out to build roads or structures can endure the unpleasant aspects of cave adaptation just fine, while dwarves you regularly send out to fish or gather plants will never become adapted enough to suffer more than mere irritation. Also, note that only dwarves suffer from cave adaptation. If this process sounds like too much effort, you might just want to recruit a few non-dwarven [[mercenary|mercenaries]] for outdoor combat.
  
== Prevention ==
+
The only way to be cured of cave adaptation is to suffer its effects - once a dwarf has spent enough time to become adapted, stepping outside and being irritated or nauseated by the sun will instantly cure them. Any tile with the {{DFtext|Outside|3:1}} trait will suffice (as long as it isn't raining).
Cave adaptation can be prevented by regular exposure to outdoor sunlight, which can be achieved by having an outdoor [[Activity zone#Meeting Area|meeting area]] or high-traffic areas above ground. Roofing over these outdoor areas will protect your dwarves from [[weather]] while still preventing cave adaptation. In other words, any tiles that have ''ever'' been exposed to sunlight remain sunlit; actual vertical access to the sun is not necessary.
 
  
* If a dwarf is in a "Dark" tile, cave adaptation increases by 1 every tick to a maximum of 800,000 (403,200 ticks is one year, so the maximum is just short of 2 years).
+
Cave adaptation can be ''prevented'' by keeping your dwarves out of {{DFtext|Dark|0:1}} tiles. Every moment spent in the dark slightly increases your dwarves' cave adaptation, but fortunately these tiles can be converted to harmless {{DFtext|Light|6:1}} tiles with nothing more expensive than time, effort, and a large supply of rock [[block]]s. Any tile that has had all its roofing removed becomes an {{DFtext|Outside|3:1}} {{DFtext|Light|6:1}} tile, the sort which is useful for treating cave adaptation. Building a roof over these tiles replaces the {{DFtext|Outside|3:1}} trait with {{DFtext|Inside|6:0}}, but leaves the {{DFtext|Light|6:1}} trait untouched. These sunlit indoor tiles neither cure nor cause cave adaptation, making them perfect for housing those dwarves who will be heading to the surface often. Once you have a sizable workforce and some well-trained miners, it shouldn't take too long to channel away the top few floors of your fortress and reconstruct them with blocks. Doing this for your entire fortress, however, is almost certainly more work than it's worth. If you have a dedicated squad of soldiers for surface threats and convert their training and living areas to {{DFtext|Light|6:1}} tiles, they should be safe from cave adaptation going forward, especially if you are regularly treating them to wildlife hunts and [[mission]]s abroad.
* If a dwarf is in an "Outside" tile, cave adaptation decreases by 10 every tick.
 
* If a dwarf is in an "Outside" tile while the sun is out (i.e. not raining or snowing), the following happens:
 
** If cave adaptation is at 604,800 or higher (1.5 years), the dwarf will experience Nausea, Dizziness, Pain, and Fatigue. The dwarf will also receive the unhappy thought "was nauseated by the sun recently".
 
** If cave adaptation is between 403,200 and 604,800 (between 1 and 1.5 years), the dwarf will become Dizzy and experience reduced amounts of Pain and Fatigue. The dwarf will also receive the unhappy thought "was irritated by the sun recently".
 
** Otherwise, nothing bad happens.  
 
  
== Treatment ==
+
=== Cave adaptation mechanics ===
Cave adaptation can be treated by exposing dwarves to outdoor tiles. However, due to the negative thoughts brought about by exposure to light in cave-adaptated dwarves, these outdoor areas should be well decorated with [[statue]]s or the like. This should provide enough positive thoughts to negate those caused by cave adaptation. The progress of treating severe cave adaptation can be observed through '''Thoughts and Preferences''', as limited exposure to sunlight will first convert severe cave adaptation into mild cave adaptation; see [[Personality trait#Personality-Trait-Like Characteristics|Personality traits]] for details.
+
* If a dwarf is in a {{DFtext|Dark|0:1}} tile, cave adaptation increases by 1 every [[Time|tick]] to a maximum of 800,000 (403,200 ticks is one year, so the maximum is just short of 2 years).
 +
* If a dwarf is in an {{DFtext|Outside|3:1}} tile while the sun is out (i.e. not [[Weather|raining or snowing]]) and their adaptation is at least 403,200 (1 year), there is a 1/1000 chance of the following happening every tick:
 +
** If cave adaptation is between 403,200 and 604,800 (between 1 and 1.5 years), the dwarf will become dizzy and experience minor pain and fatigue. They will also receive the unhappy thought "was irritated by the sun recently", and their cave adaptation will be reduced to zero.
 +
** If cave adaptation is at 604,800 or higher (1.5 years), the dwarf will experience [[Symptom#Nausea|nausea]], [[Symptom#Dizziness|dizziness]], [[Symptom#Pain|pain]], and fatigue. They will start vomiting profusely and will also receive the unhappy thought "was nauseated by the sun recently", and their cave adaptation will be reduced to zero.
 +
** Otherwise, nothing happens.
  
A dwarf who is completely adapted to life underground can be cured in a little over nine weeks of constant exposure to outdoors light.
+
== Bugs ==
 +
* Babies might be born cave adapted.{{bug|8431}}{{verify|there's two saves on the issue report that could be checked}}
  
 
== Explanation ==
 
== Explanation ==
Line 26: Line 28:
 
Underground has low levels of light and very little air circulation.
 
Underground has low levels of light and very little air circulation.
  
Dwarves develop low-light vision (plump helmets are packed with beta carotene!) and their facial follicles become sensitive to the motions that a breeze produces against their beards, which allows them to tell where tunnels turn.
+
Dwarves develop low-light vision (plump helmets are ''packed'' with beta carotene!) and their facial follicles become sensitive to the motions that a breeze produces against their beards, which allows them to tell where tunnels turn.
  
As they go deeper, their eyes become less relied upon, and they adapt further to rely on their whisker-based folli-cation.
+
As they go deeper, their eyes become less relied upon, and they adapt further to rely on their whisker-based follication.
  
These eventually become so sensitive that, should a dwarf venture outside, the wind is the equivalent of multicolored and varying strobe lights. This is as aggravating to a dwarf's folli-cation as a Pink Floyd show seen while sober is to our sight, up to the point of causing nausea.
+
These eventually become so sensitive that, should a dwarf venture outside, the wind is the equivalent of multicolored and varying strobe lights. This is as aggravating to a dwarf's follication as a Pink Floyd show seen while sober is to our sight, up to the point of causing nausea.
  
While some have proposed beard shaving as a method of treating hyper-folli-cation, these people are believed to be elf spies, and drafted to cavern exploring instead.
+
While some have proposed beard shaving as a method of treating hyperfollication, these people are believed to be elf spies, and drafted to cavern exploring instead.
 
{{Category|Dwarves}}
 
{{Category|Dwarves}}
 +
[[ru:Cave adaptation]]

Latest revision as of 19:09, 25 April 2024

This article is about the current version of DF.
Note that some content may still need to be updated.

Cave adaptation is a mechanic that causes dwarves who spend too much time underground to grow sick when finally exposed to sunlight. It is controlled by the [CAVE_ADAPT] token.

Exposure of cave-adapted dwarves to outdoor sunlight can cause one of two negative thoughts: "irritated by the sun" and "nauseated by the sun". The latter results from more severe cave adaptation and triggers profuse vomiting, which can leave an otherwise capable soldier momentarily defenseless. Cave adaptation causes no problems if the affected dwarves simply remain underground.

Prevention and treatment[edit]

First and foremost, be aware that cave adaptation requires much more effort to fully eradicate than it's worth. Most dwarves can spend their entire lives lurking in the dark with no negative consequences. Cave adaptation is only a major concern for your military dwarves, as they are the only ones who really need to be functioning at full capacity when outside. Menial labor dwarves sent out to build roads or structures can endure the unpleasant aspects of cave adaptation just fine, while dwarves you regularly send out to fish or gather plants will never become adapted enough to suffer more than mere irritation. Also, note that only dwarves suffer from cave adaptation. If this process sounds like too much effort, you might just want to recruit a few non-dwarven mercenaries for outdoor combat.

The only way to be cured of cave adaptation is to suffer its effects - once a dwarf has spent enough time to become adapted, stepping outside and being irritated or nauseated by the sun will instantly cure them. Any tile with the Outside trait will suffice (as long as it isn't raining).

Cave adaptation can be prevented by keeping your dwarves out of Dark tiles. Every moment spent in the dark slightly increases your dwarves' cave adaptation, but fortunately these tiles can be converted to harmless Light tiles with nothing more expensive than time, effort, and a large supply of rock blocks. Any tile that has had all its roofing removed becomes an Outside Light tile, the sort which is useful for treating cave adaptation. Building a roof over these tiles replaces the Outside trait with Inside, but leaves the Light trait untouched. These sunlit indoor tiles neither cure nor cause cave adaptation, making them perfect for housing those dwarves who will be heading to the surface often. Once you have a sizable workforce and some well-trained miners, it shouldn't take too long to channel away the top few floors of your fortress and reconstruct them with blocks. Doing this for your entire fortress, however, is almost certainly more work than it's worth. If you have a dedicated squad of soldiers for surface threats and convert their training and living areas to Light tiles, they should be safe from cave adaptation going forward, especially if you are regularly treating them to wildlife hunts and missions abroad.

Cave adaptation mechanics[edit]

  • If a dwarf is in a Dark tile, cave adaptation increases by 1 every tick to a maximum of 800,000 (403,200 ticks is one year, so the maximum is just short of 2 years).
  • If a dwarf is in an Outside tile while the sun is out (i.e. not raining or snowing) and their adaptation is at least 403,200 (1 year), there is a 1/1000 chance of the following happening every tick:
    • If cave adaptation is between 403,200 and 604,800 (between 1 and 1.5 years), the dwarf will become dizzy and experience minor pain and fatigue. They will also receive the unhappy thought "was irritated by the sun recently", and their cave adaptation will be reduced to zero.
    • If cave adaptation is at 604,800 or higher (1.5 years), the dwarf will experience nausea, dizziness, pain, and fatigue. They will start vomiting profusely and will also receive the unhappy thought "was nauseated by the sun recently", and their cave adaptation will be reduced to zero.
    • Otherwise, nothing happens.

Bugs[edit]

Explanation[edit]

D4Dwarf.png This article or section has been rated D for Dwarf. It may include witty humour, not-so-witty humour, bad humour, in-jokes, pop culture references, and references to the Bay12 forums. Don't believe everything you read, and if you miss some of the references, don't worry. It was inevitable.


A scientific explanation of cave adaptation by Deus Machina.

Underground has low levels of light and very little air circulation.

Dwarves develop low-light vision (plump helmets are packed with beta carotene!) and their facial follicles become sensitive to the motions that a breeze produces against their beards, which allows them to tell where tunnels turn.

As they go deeper, their eyes become less relied upon, and they adapt further to rely on their whisker-based follication.

These eventually become so sensitive that, should a dwarf venture outside, the wind is the equivalent of multicolored and varying strobe lights. This is as aggravating to a dwarf's follication as a Pink Floyd show seen while sober is to our sight, up to the point of causing nausea.

While some have proposed beard shaving as a method of treating hyperfollication, these people are believed to be elf spies, and drafted to cavern exploring instead.