Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0008214Dwarf FortressDwarf Mode -- Idle Behaviorpublic2014-09-01 10:222014-09-04 14:57
Dame de la Licorne 
Toady One 
HP laptopWindows7
0008214: Children injured due to /dwarves/mantisbt/view.php?id=7574 don't get taken to the hospital
This is the third child that has been randomly injured (I'm assuming as a result of 0007574, since there's nothing else that could be doing it), that has been stuck on "rest" and none of my other dwarves (several of whom are idling at any given moment) have bothered to "recover wounded" the child to one of the four hospital zones.
1) Have children (more is better).
2) Assign them to a burrow (not sure if it has to include the hospital zone, mine does).
3) Wait for them to injure themselves.
4) Watch adults not care.
The doctor dwarf still manages to find and treat the child, even though its nowhere near a hospital.

Save upcoming.
No tags attached.
related to 0000094confirmed Toady One Injured dwarves not recovered, ignored by doctors, and/or don't get food/water 
Issue History
2014-09-01 10:22Dame de la LicorneNew Issue
2014-09-01 11:41Dame de la LicorneNote Added: 0029857
2014-09-01 12:23smjjamesNote Added: 0029858
2014-09-01 13:25smjjamesNote Edited: 0029858bug_revision_view_page.php?bugnote_id=0029858#r11572
2014-09-01 14:12FootkerchiefRelationship addedrelated to 0000094
2014-09-03 06:31Dame de la LicorneNote Added: 0029911
2014-09-03 06:31Dame de la LicorneNote Edited: 0029911bug_revision_view_page.php?bugnote_id=0029911#r11587
2014-09-03 11:48Dame de la LicorneNote Edited: 0029911bug_revision_view_page.php?bugnote_id=0029911#r11604
2014-09-04 14:57Toady OneNote Added: 0029942
2014-09-04 14:57Toady OneStatusnew => resolved
2014-09-04 14:57Toady OneFixed in Version => Next Version
2014-09-04 14:57Toady OneResolutionopen => fixed
2014-09-04 14:57Toady OneAssigned To => Toady One

Dame de la Licorne   
2014-09-01 11:41   
Here's the save: http://dffd.wimbli.com/file.php?id=9588 [^]

It will load on the correct level, the injured child is fairly obvious, lying on the dirt ground just north of the central ramps.

As implied above, this save also demonstrates the behavior in 0007574 (at least according to the combat logs), if needed for corroboration.

Forgot to mention, I am running a few mods, mainly work-arounds for broken plants and non-breeding animals, none of which should affect this given that my injured military get "recover wounded" to the hospital just fine.

Additional info: if the child needs to be placed in traction, it will be taken to the nearest traction bench (in a hospital zone) by a doctor dwarf. It's just the "recover wounded" job that seems broken for these kids.
2014-09-01 12:23   
(edited on: 2014-09-01 13:25)
It's also connected to 0000094 for the 'dwarves don't recover injured', which is connected to a whole lot of other stuff.

Dame de la Licorne   
2014-09-03 06:31   
(edited on: 2014-09-03 11:48)
Something else I've noticed with this one: Occasionally one of these kids will generate a "recover wounded" job, but the dwarf who picks it up is almost always not a member of the burrow where the kid happens to be, so it cancels the job, and the job is never generated again.

Maybe the main issue with both this bug and 0000094 is that if the "recover wounded" job is canceled for any reason, it doesn't regenerate until the dwarf in question gets another injury of the right sort/severity?

Toady One   
2014-09-04 14:57   
The issue with this particular rest job was that the dwarf went unconscious before arriving at their destination, and another part of the code caused the ko to never end because there was a rest job, regardless of whether or not the dwarf got to their rest goal. It could also happen with injured dwarves with sleep jobs, though those at least would still terminate when drowsiness was gone. This is probably the source of a good number of the rest errors, and I've tried to patch broken jobs out of old saves (worked on this one, anyway).

Dwarves that are dropped while being carried can bug out in a similar way, and I haven't dealt with that yet.