Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000647Dwarf FortressDwarf Mode -- Roomspublic2010-04-06 11:432014-09-14 09:43
Assigned ToToady One 
PlatformOSWindows XPOS Version
Product Version0.31.01 
Target VersionFixed in Version0.40.11 
Summary0000647: Uninjured dwarves sleep in hospital instead of dormitory, and other bedroom/sleeping issues
DescriptionUninjured dwarves seem inclined to sleep in the hospital, even though perfectly good dormitories are available. This can be problematic when actual injured dwarves show up and have no place to settle down.
Steps To Reproduce1. Build a set of beds and declare them as dormitories.
2. Build a hospital zone, build beds in said zone.
3. Watch as healthy dwarves sleep in both.
TagsNo tags attached.
Attached Files

- Relationships
related to 0000034resolvedToady One Assigned rooms not respected 
related to 0003237resolvedToady One Beds still not 100% functional -- some dwarves still prefer to sleep in dormitory instead of claiming bedrooms 
related to 0003767resolvedToady One Dwarf leaves burrow to sleep in dorm, sleeps on floor in dorm 
related to 0001955acknowledgedDwarfu dwarves rest outside of the hospital zone 
related to 0002442new Spouse room assignments behave strangely when spouses have different burrow assignments 
related to 0004763new Nobles with multiple bedrooms gain unhappy though from sleeping in inferior one 
related to 0005821new Military dwarves all sleep in dormitory instead of barracks if barracks is created from armor stand 

-  Notes
Logical2u (manager)
2010-04-06 11:48

Probably related to 0000034
Nimblewright (reporter)
2010-04-19 04:13

Seconded. Seen this in the same situation.
Redd (reporter)
2010-06-25 07:10

The hospital is closer to the meeting area than the dorms in my fort, which might be a factor. I've also noticed that regular dwarves who decide to sleep in the hospital beds show "Unconscious" on their Wounds screen. I wonder if this is cosmetic, or is actually having some kind of effect on the quality of rest.
hyndis (reporter)
2010-06-25 09:31

A sleeping dwarf is always an unconscious dwarf. This is why hunters used to die to traps on a regular basis due to them falling asleep on the floor where they happen to be rather than going to a bed to sleep. Any unconscious creature will trigger a trap, even a trap avoid creature.
slink (reporter)
2010-07-22 14:26

This persists even when the entire hospital area is set to Restricted Traffic and the Restricted Traffic Cost is set to maximum (100). With the cost of Normal Traffic being 2, and the beds being 10 steps into a Restricted Traffic Area, the next best bed would have to be more than 500 squares away in order for the hospital beds to be closer. The entire map is only a little less than 200 squares wide. Nobody's bed is anywhere near 500 squares away from the hospital entrance. 60 to 80 squares is my guess.
Rafal99 (reporter)
2010-07-22 14:59
edited on: 2010-07-22 14:59

Dwarves doesn't take traffic designations into account when searching for closest <whatever>.

sarpadeon (reporter)
2010-10-25 12:31

i noticed that only the beds that originate the dorm are used if a hospital is designated, if i individually make every bed in the dorm area a room and set it to dorm then the dwarves no longer sleep in the hospital.
Malibu Stacey (reporter)
2010-10-26 03:37

I've also found that creating a load of bedrooms stops the dwarves sleeping in the hospital beds. They will happily claim an unassigned bedroom for themselves when they need to sleep & then use that from that point onwards.
I think the way it works is that if they don't have their own assinged room the dwarves first check for a bed in a bedroom which is available (as in either unassigned or a dormitory). If they can't find one they then just find the nearest unoccupied bed. The bug here is that the beds in a room designated as a dormitory aren't being checked as part of the room, only the bed which is used to define the room. As sarpadeon says the workaround is to use every bed in the dormitory to define a dormitory however this will substantially reduce the value of the dormitory & has no benefit over carving out individual bedrooms & allowing them to acquire them themselves.

Summary should be updated to reflect that the bug is actually with dwarves not sleeping in beds inside a dormitory.
smjjames (reporter)
2014-02-03 06:41
edited on: 2014-02-03 06:41

I have a dormitory style communual bedroom with PLENTY of beds and I've caught them sleeping in the hospital on occasion. They don't do it real often in my fort though.

Edit: version 0.34.11

Footkerchief (manager)
2014-02-03 10:58

Reminder sent to: smjjames

Please upload a save demonstrating this problem to [^] and post the link here.
Wimopy (reporter)
2014-02-04 12:32
edited on: 2014-02-05 03:21

Encountered the problem myself in both Masterwork DF and the LNP. Will see if I can reproduce it in vanilla DF without DFhack. I'll post the outcome when done. (Tomorrow, in 12-14 hours)

EDIT: Set up a quick test for the bug, but failed to conclusively reproduce. Dwarves did use hospital beds but only when dorm beds were occupied (had to remove a few). Might be worth switching things around, seeing if they prefer to walk shorter distances, I haven't been able to test that with fewer beds (with many beds designated as hospital, they used that but the designating as hospital may have been too late to change their minds).
The save if needed for further testing: [^]

It's a quick setup, not a real fort, but it should be self-sufficient enough to test the bug.

smjjames (reporter)
2014-02-05 08:31

@ footkerchief: I will the next time I spot it. I think it may partially have something to do with crowdedness, but that's my guess. I have LOTS of beds in the dormitory style bedroom, so I don't see it happening often.

- Issue History
Date Modified Username Field Change
2010-04-06 11:43 Folly New Issue
2010-04-06 11:48 Logical2u Note Added: 0001546
2010-04-06 11:50 Footkerchief Relationship added related to 0000034
2010-04-19 04:13 Nimblewright Note Added: 0004213
2010-05-29 23:02 Khym Chanur Issue Monitored: Khym Chanur
2010-06-25 07:06 Redd Issue Monitored: Redd
2010-06-25 07:10 Redd Note Added: 0009082
2010-06-25 09:31 hyndis Note Added: 0009088
2010-07-10 19:11 clc02 Issue Monitored: clc02
2010-07-22 14:26 slink Note Added: 0010850
2010-07-22 14:59 Rafal99 Note Added: 0010851
2010-07-22 14:59 Rafal99 Note Edited: 0010851 View Revisions
2010-10-25 12:31 sarpadeon Note Added: 0013510
2010-10-26 03:37 Malibu Stacey Note Added: 0013517
2010-12-02 08:51 Footkerchief Relationship added has duplicate 0003767
2010-12-02 09:59 Footkerchief Relationship replaced parent of 0003767
2010-12-03 22:48 Footkerchief Relationship replaced related to 0003767
2011-02-28 21:19 Footkerchief Summary Uninjured Dwarves sleep in hospital => Uninjured dwarves sleep in hospital instead of dormitory, and other bed/sleeping issues
2011-02-28 21:20 Footkerchief Relationship added parent of 0003237
2011-02-28 21:20 Footkerchief Relationship added related to 0001955
2011-02-28 21:21 Footkerchief Summary Uninjured dwarves sleep in hospital instead of dormitory, and other bed/sleeping issues => Uninjured dwarves sleep in hospital instead of dormitory, and other bedroom/sleeping issues
2011-02-28 21:21 Footkerchief Relationship added related to 0002442
2011-02-28 21:22 Footkerchief Relationship replaced related to 0003237
2011-02-28 21:22 Footkerchief Sticky Issue No => Yes
2011-07-28 11:13 Footkerchief Relationship added related to 0004763
2012-04-21 16:54 Footkerchief Relationship added related to 0005821
2014-02-03 06:41 smjjames Note Added: 0024489
2014-02-03 06:41 smjjames Note Edited: 0024489 View Revisions
2014-02-03 10:58 Footkerchief Issue Monitored: smjjames
2014-02-03 10:58 Footkerchief Note Added: 0024494
2014-02-04 12:32 Wimopy Note Added: 0024495
2014-02-05 03:21 Wimopy Note Edited: 0024495 View Revisions
2014-02-05 08:31 smjjames Note Added: 0024497
2014-07-27 10:45 Kanddak Issue Monitored: Kanddak
2014-08-27 11:14 Toady One Status new => resolved
2014-08-27 11:14 Toady One Fixed in Version => Next Version
2014-08-27 11:14 Toady One Resolution open => fixed
2014-08-27 11:14 Toady One Assigned To => Toady One
2014-08-27 13:25 Kanddak Issue End Monitor: Kanddak
2014-08-27 20:24 smjjames Issue End Monitor: smjjames
2014-09-14 09:43 lethosor Sticky Issue Yes => No

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker