View Issue Details

IDProjectCategoryView StatusLast Update
0000647Dwarf FortressDwarf Mode -- Roomspublic2014-09-14 09:43
ReporterFolly Assigned ToToady One  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
OSWindows XP 
Product Version0.31.01 
Fixed 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.

Relationships

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

Activities

Logical2u

2010-04-06 11:48

manager   ~0001546

Probably related to 0000034

Nimblewright

2010-04-19 04:13

reporter   ~0004213

Seconded. Seen this in the same situation.

Redd

2010-06-25 07:10

reporter   ~0009082

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

2010-06-25 09:31

reporter   ~0009088

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

2010-07-22 14:26

reporter   ~0010850

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

2010-07-22 14:59

reporter   ~0010851

Last edited: 2010-07-22 14:59

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

sarpadeon

2010-10-25 12:31

reporter   ~0013510

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

2010-10-26 03:37

reporter   ~0013517

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

2014-02-03 06:41

reporter   ~0024489

Last edited: 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

user6

2014-02-03 10:58

  ~0024494

Reminder sent to: smjjames

Please upload a save demonstrating this problem to http://dffd.wimbli.com/ and post the link here.

Wimopy

2014-02-04 12:32

reporter   ~0024495

Last edited: 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: http://dffd.wimbli.com/file.php?id=8399

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

smjjames

2014-02-05 08:31

reporter   ~0024497

@ 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 user6 Relationship added related to 0000034
2010-04-19 04:13 Nimblewright Note Added: 0004213
2010-06-25 07:10 Redd Note Added: 0009082
2010-06-25 09:31 hyndis Note Added: 0009088
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
2010-10-25 12:31 sarpadeon Note Added: 0013510
2010-10-26 03:37 Malibu Stacey Note Added: 0013517
2010-12-02 08:51 user6 Relationship added has duplicate 0003767
2010-12-02 09:59 user6 Relationship replaced parent of 0003767
2010-12-03 22:48 user6 Relationship replaced related to 0003767
2011-02-28 21:19 user6 Summary Uninjured Dwarves sleep in hospital => Uninjured dwarves sleep in hospital instead of dormitory, and other bed/sleeping issues
2011-02-28 21:20 user6 Relationship added parent of 0003237
2011-02-28 21:20 user6 Relationship added related to 0001955
2011-02-28 21:21 user6 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 user6 Relationship added related to 0002442
2011-02-28 21:22 user6 Relationship replaced related to 0003237
2011-02-28 21:22 user6 Sticky Issue No => Yes
2011-07-28 11:13 user6 Relationship added related to 0004763
2012-04-21 16:54 user6 Relationship added related to 0005821
2014-02-03 06:41 smjjames Note Added: 0024489
2014-02-03 06:41 smjjames Note Edited: 0024489
2014-02-03 10:58 user6 Note Added: 0024494
2014-02-04 12:32 Wimopy Note Added: 0024495
2014-02-05 03:21 Wimopy Note Edited: 0024495
2014-02-05 08:31 smjjames Note Added: 0024497
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-09-14 09:43 lethosor Sticky Issue Yes => No