Anonymous | Login | Signup for a new account | 2024-12-27 02:00 PST |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0004938 | Dwarf Fortress | Dwarf Mode -- Jobs, Healthcare | public | 2011-10-25 22:37 | 2011-10-25 23:21 | |
Reporter | Grumbledwarfskin | |||||
Assigned To | Dwarfu | |||||
Priority | normal | Severity | minor | Reproducibility | random | |
Status | resolved | Resolution | duplicate | |||
Platform | OS | OS Version | ||||
Product Version | 0.31.25 | |||||
Target Version | Fixed in Version | |||||
Summary | 0004938: Multiple dwarves pick same bed in hospital, one dies of thirst | |||||
Description | I've had this bug happen twice in two different forts: Multiple dwarves get injured, some of them are hauled to the hospital by a "recover wounded" task, some of them go to the hospital themselves. Two of them pick the same bed in the hospital. One of them is listed as "resting". The other is listed as "no job", and eventually dies of thirst. In the most recent occurrence of this bug, one walked to the hospital themselves, and took a bed in a corner position (the rightmost of three side-by-side beds in the small hospital). I had three injured dwarves, the first bed was occupied, second bed remained free, third bed got two dwarves. I'm not 100% certain, but I believe this was the sequence: The first injured dwarf was brought to rest in the first bed. The second injured dwarf came on their own and picked the third bed. (Could it be an off-by-one error in the code intended to keep the beds exclusive, and the walk-in was supposed to claim the second bed? I should note that I was building additional beds into the hospital at the same time as dwarves were going to the hospital, so that could have caused confusion, if the code matching dwarves with beds doesn't account for what happens if a new bed is added to the hospital.) The third injured dwarf was then brought to rest in the third bed. The second dwarf is no longer listed as resting, they're listed as "no job", and are ignored by everyone. Nobody does a "recover wounded" task for them (perhaps because they're already in the hospital), and nobody brings them water or food. They have no entry in their medical history, presumably because they're a walk-in, and never got a diagnosis. I suspect one part of the code thinks they're properly registered with the hospital (so no job, and no recover wounded task), but the hospital itself lost track of them when another patient took away their bed (and that's why there's no diagnosis task, and no bring food/water tasks,). | |||||
Tags | No tags attached. | |||||
Attached Files | ||||||
Relationships | ||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2011-10-25 22:37 | Grumbledwarfskin | New Issue | |
2011-10-25 23:20 | Dwarfu | Relationship added | duplicate of 0004553 |
2011-10-25 23:20 | Dwarfu | Status | new => resolved |
2011-10-25 23:20 | Dwarfu | Resolution | open => duplicate |
2011-10-25 23:20 | Dwarfu | Assigned To | => Dwarfu |
2011-10-25 23:21 | Dwarfu | Note Added: 0018910 |
Copyright © 2000 - 2010 MantisBT Group |