Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0007690Dwarf FortressDwarf Mode -- Jobs, Healthcarepublic2014-07-28 09:022014-09-29 01:14
normalminorhave not tried
0007690: Dwarfs with "Give Water" job won't use buckets stored in hospital
I have 7 buckets in my fort. Three are in use as a component of buildings (ashery, soaper's shop, and well). The other four are in a chest in the hospital. I'd have thought they'd be available for giving water, but I am getting messages like "As Ushrirezum, Farmer cancels Give Water: Need empty bucket."

Bugged save is at http://dffd.wimbli.com/file.php?id=9187 [^] (originally created for another bug, but exhibits this one too - you may have to wait a while to see cancellations).
bucket, container, give water, healthcare, hospital
related to 0004230needs feedback Footkerchief bucket with water inside becomes unusable 
has duplicate 0008363resolved Footkerchief Spam flood of Cancel Give Water - No Empty Bucket 
Issue History
2014-07-28 09:02HairyDudeNew Issue
2014-07-28 09:39FootkerchiefNote Added: 0027779
2014-07-28 09:39FootkerchiefAssigned To => Footkerchief
2014-07-28 09:39FootkerchiefStatusnew => needs feedback
2014-07-28 09:50HairyDudeNote Added: 0027784
2014-07-28 09:50HairyDudeStatusneeds feedback => assigned
2014-07-28 09:52HairyDudeNote Edited: 0027784bug_revision_view_page.php?bugnote_id=0027784#r10491
2014-07-28 09:57HairyDudeTag Attached: bucket
2014-07-28 09:57HairyDudeTag Attached: container
2014-07-28 09:57HairyDudeTag Attached: give water
2014-07-28 09:57HairyDudeTag Attached: healthcare
2014-07-28 09:57HairyDudeTag Attached: hospital
2014-08-03 09:47HairyDudeNote Added: 0028218
2014-09-28 07:02FootkerchiefRelationship addedrelated to 0004230
2014-09-28 07:02FootkerchiefRelationship addedhas duplicate 0008363
2014-09-29 01:14PatrikLundellNote Added: 0030443
2016-08-02 04:16salada123Issue Monitored: salada123
2017-08-16 04:39StebIssue Monitored: Steb

2014-07-28 09:39   
Do the buckets contain anything, like in 0004230?
2014-07-28 09:50   
(edited on: 2014-07-28 09:52)
Nope, all empty.

Correction: 10 buckets of which 7 are in the chest.

2014-08-03 09:47   
I have just observed that dwarfs do successfully use hospital buckets for Clean Patient jobs. So they don't just refuse to use them completely, it's just Give Water that doesn't seem to work.
2014-09-29 01:14   
Save for 0008363 uploaded to http://dffd.wimbli.com/file.php?id=9814. [^] The relevant save is for region 2. When the bucket deadlock was resolved, the medic was observed to take a bucket from the hospital stores and walk with it to the patient to apply the cast. A guess is thus that the bucket availability check logic ignores the reserved ones even for an action that would use those, but the execution logic uses them. The message spam resulting from unavailable buckets (or water to put into the bucket) is probably a partially different issue, though. I would also guess the "give water" actions somehow are generated from the "apply cast" job, where a sub task of fetching a water bucket is generated but broadcast to any available dwarf rather than specifically to the medic, possibly after the medic has failed to fulfil that subtask himself, and each dwarf then tries to pick this task up and fail in sequence. As the last one has failed, the cycle might start over with the medic.