Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0001955Dwarf FortressDwarf Mode -- Jobs, Healthcarepublic2010-05-18 14:542014-08-14 17:53
gruftschreck 
Dwarfu 
lowminorhave not tried
acknowledgedopen 
0.31.04 
 
0001955: dwarves rest outside of the hospital zone
some of my dwarves rest outside the hospital zone.

despite this they were treated successfully (as far as treatments are working yet, surgery to one dwarf was never successful, but this is another bug)
this has never happened to me with .03, though now after a fight with multiple injuries, 2 of 4 injured dwarves rested in the bedroom instead of the hospital. (there were enough free beds at the moment I noticed them not resting in the hospital zone)
since I put up a save for another bug, I can reuse this save for this bug: http://dffd.wimbli.com/file.php?id=2371 [^]

You can see the dwarf "Degel Ferrigoth" resting in the bedroom and not in the hospital zone.
resting
related to 0000647resolved Toady One Uninjured dwarves sleep in hospital instead of dormitory, and other bedroom/sleeping issues 
related to 0000309confirmed Dwarfu Injured dwarves won't/can't rest 
has duplicate 0008010resolved Footkerchief Field Medical Care 
Issue History
2010-05-18 14:54gruftschreckNew Issue
2010-05-18 15:39Logical2uNote Added: 0006980
2010-05-19 02:39gruftschreckNote Added: 0007008
2010-05-19 04:24Logical2uNote Added: 0007012
2010-06-08 17:33Logical2uRelationship addedrelated to 0000034
2010-06-10 06:37gruftschreckTag Attached: resting
2010-07-10 19:12clc02Issue Monitored: clc02
2011-02-28 21:20FootkerchiefRelationship addedrelated to 0000647
2011-02-28 21:20FootkerchiefRelationship deletedrelated to 0000034
2011-02-28 21:21FootkerchiefRelationship addedrelated to 0000309
2014-07-28 09:14HairyDudeNote Added: 0027774
2014-08-09 12:05DwarfuAssigned To => Dwarfu
2014-08-09 12:05DwarfuStatusnew => acknowledged
2014-08-14 17:52FootkerchiefRelationship addedhas duplicate 0008010
2014-08-14 17:53FootkerchiefNote Added: 0029065

Notes
(0006980)
Logical2u   
2010-05-18 15:39   
I have a few specific questions to ask.
1. Were the beds they rested in unassigned?
2. Were they closer (straight line distance)to the bedrooms than the hospital when they were injured?

I'm suspecting it's highly related to 0000034.
(0007008)
gruftschreck   
2010-05-19 02:39   
1 - yes
2 - was about the same way from the battle place to the hospital zone and to the bedroom

I'm posting some pictures to illustrate this statement:
the battleplace (z -7):
http://www.flickr.com/photos/8684252@N05/4621298758/sizes/o/ [^]
the hospital zone - one z level above:
http://www.flickr.com/photos/8684252@N05/4621298760/sizes/o/ [^]
the bedroom - three z levels above:
http://www.flickr.com/photos/8684252@N05/4621298762/sizes/o/ [^]
(0007012)
Logical2u   
2010-05-19 04:24   
Thank you for the photos.

From the images it looks like the bedrooms are directly above the battlezone. Since right now pathfinding only takes into consideration straight-line distance - basically it ignores Z-levels - those bedrooms would be closer to the injured combatants than the hospital zone. Since dwarves are ... well, dumb, they probably haul injured to the closest bedroom rather than to the most appropriate location - much like how they sleep in the closest bedroom, it seems.
(0027774)
HairyDude   
2014-07-28 09:14   
Here's another example: http://dffd.wimbli.com/file.php?id=9187 [^]

In this case, he rested in the hospital for a while before retiring to his bedroom. The hospital was definitely closer to the battle site (just inside the entrance).
(0029065)
Footkerchief   
2014-08-14 17:53   
fortunawhisk posted a save at 0008010: http://dffd.wimbli.com/file.php?id=9394 [^]