Dwarf Fortress Bug Tracker - Dwarf Fortress | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0011901 | Dwarf Fortress | Creatures | public | 2022-08-16 14:09 | 2022-08-25 11:41 |
Reporter | Quietust | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | amd64 | OS | Windows | OS Version | 8.1 |
Product Version | 0.47.05 | ||||
Target Version | Fixed in Version | ||||
Summary | 0011901: Cave Adaptation completely resets when dwarves step outside | ||||
Description | Whenever a dwarf spends time underground, its CAVE_ADAPT counter increases by 1 every game tick to a maximum amount of 800000. If a sufficiently-adapted dwarf steps outside while the weather is clear (i.e. the sun is out), there is a 1/1000 chance per game tick that the dwarf will experience negative effects (i.e. being Irritated or Nauseated by the sun, depending on how heavily they are adapted). In older versions, it would then decrease the dwarf's adaptation by 10 and to a minimum of zero, but in version 0.47.05 the "decrement and check" are both missing, causing it to immediately reset adaptation to zero the instant the dwarf sets foot outside. As a result, dwarves only have a 1/1000 chance to ever suffer from negative effects (or even experience negative thoughts) from cave adaptation, and that will only happen if they spend at least a year without ever going outside. | ||||
Steps To Reproduce | 1. Put a dwarf underground and wait at least a year and a half (or just initialize its cave adaptation to a sufficiently large value) 2. Have it step outside 3. Observe that its cave adaptation is now completely gone and it likely hasn't suffered from it. | ||||
Additional Information | Prior to version 0.40.13, cave adaptation was partially broken in that it did not inflict the Pain+Dizziness+Nausea effects - this was fixed by 0006512, but it's unclear exactly when this specific bug was introduced. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2022-08-16 14:09 | Quietust | New Issue | |||
2022-08-16 14:56 | Quietust | Note Added: 0041293 | |||
2022-08-25 11:41 | Quietust | Note Added: 0041298 | |||
2022-08-25 11:43 | Quietust | Note Edited: 0041298 | bug_revision_view_page.php?bugnote_id=0041298#r16821 | ||
2022-08-25 11:47 | Quietust | Note Edited: 0041298 | bug_revision_view_page.php?bugnote_id=0041298#r16822 | ||
2022-08-25 11:48 | Quietust | Note Edited: 0041298 | bug_revision_view_page.php?bugnote_id=0041298#r16823 | ||
2022-08-26 07:41 | Quietust | Note Edited: 0041298 | bug_revision_view_page.php?bugnote_id=0041298#r16824 | ||
2022-08-26 07:43 | Quietust | Note Edited: 0041293 | bug_revision_view_page.php?bugnote_id=0041293#r16826 | ||
2022-08-26 07:43 | Quietust | Note Edited: 0041293 | bug_revision_view_page.php?bugnote_id=0041293#r16827 | ||
2022-08-26 07:49 | Quietust | Note Edited: 0041298 | bug_revision_view_page.php?bugnote_id=0041298#r16828 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|