Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000191Dwarf FortressDwarf Mode -- Jobs, Healthcarepublic2010-04-02 16:132011-03-22 19:54
Toady One 
0000191: Hospital stores more materials than assigned.
I've only seen it with thread and buckets, but the hospitals in two of my forts now have been overstocked with supplies. In this case, I had it set to store 75000 units of thread, and it had 150000, and I had it set to stock 2 buckets, and there were 5 in storage.
healthcare, hospital, nest
related to 0002678new  Stocking of hospitals is inconsistent, (often crutches, splints won't be stocked). 
has duplicate 0001234closed Footkerchief Hospital stocks too much stuff, ignores limits 
has duplicate 0001422closed Footkerchief Hospitals overstock until container space is completely filled, they do not stock plaster. 
related to 0004406resolved Toady One Hospital zone does not respect cloth maximums 
Issue History
2010-04-02 16:13garanisNew Issue
2010-04-03 10:03bombcarNote Added: 0000566
2010-04-03 11:55AquillionTag Attached: hospital
2010-04-03 23:52AsheryNote Added: 0000801
2010-04-03 23:53AsheryNote Edited: 0000801bug_revision_view_page.php?bugnote_id=0000801#r235
2010-04-04 09:26MorifenNote Added: 0000875
2010-04-06 14:37DwarfuNote Added: 0001586
2010-04-06 14:39DwarfuIssue Monitored: Dwarfu
2010-04-07 17:56monkeyfetusNote Added: 0001901
2010-04-07 19:44garanisNote Added: 0001919
2010-04-16 08:55FootkerchiefRelationship addedhas duplicate 0001234
2010-04-16 09:03bloodystumpIssue Monitored: bloodystump
2010-04-19 17:58ChrissiNote Added: 0004284
2010-04-19 18:17ThatGuyBobTag Attached: harvesting
2010-04-19 18:17ThatGuyBobTag Attached: healthcare
2010-04-19 18:17ThatGuyBobTag Detached: harvesting
2010-04-22 00:30FootkerchiefRelationship addedhas duplicate 0001422
2010-04-29 13:20FootkerchiefCategoryGeneral => Dwarf Mode -- Jobs, Healthcare
2010-06-19 23:45SocharisNote Added: 0008744
2010-06-27 12:15SpacemanSpiffNote Added: 0009168
2010-06-27 12:15SpacemanSpiffNote Edited: 0009168bug_revision_view_page.php?bugnote_id=0009168#r3514
2010-07-14 10:33priosIssue Monitored: prios
2010-08-04 01:57SocharisIssue Monitored: Socharis
2011-02-06 10:37DwarfuRelationship addedparent of 0002678
2011-02-08 11:06Hieronymous AlloyIssue Monitored: Hieronymous Alloy
2011-02-18 16:39KorvaTag Attached: nest
2011-03-22 16:35Toady OneRelationship replacedrelated to 0002678
2011-03-22 16:35Toady OneStatusnew => resolved
2011-03-22 16:35Toady OneFixed in Version => 0.31.22
2011-03-22 16:35Toady OneResolutionopen => fixed
2011-03-22 16:35Toady OneAssigned To => Toady One
2011-03-22 19:54DwarfuIssue End Monitor: Dwarfu
2012-05-18 13:22FootkerchiefRelationship addedrelated to 0004406

2010-04-03 10:03   
I suspect this is caused by simultaneous hauling jobs.
2010-04-03 23:52   
(edited on: 2010-04-03 23:53)
It's not caused by simultaneous hauling jobs as my hospital was at its designated maximum of 30000 for cloth and jumped to 80000 when I checked it a bit later.

Irritating as hell due to my lack of cloth...

2010-04-04 09:26   
My dwarves do not remove items from a hospital if it is overstocked. Removing the zone and chests allows it to be fixed, though.
2010-04-06 14:37   
They will fill all available space with whatever is available. In my case, cloth was the only resource available when I designated the hospital zone, and they filled all four coffers with cloth (5 bolts in each of the 4 coffers, 10,000 * 5 * 4 = 200,000) (each bolt of cloth has 10,000 units).

As Morifen stated, even when other items become available, they will not make room for it by removing the overstock. In the pic, I had both buckets and plaster for casts available to stock.

http://i881.photobucket.com/albums/ac11/Mondoshawan/clothrich.jpg [^]
2010-04-07 17:56   
It could have been that some of the cloth was used for dressing, thus pushing the total under 30,000 units, then simultaneous hauling jobs added a bunch more.
2010-04-07 19:44   
Unlikely, as the store for cloth was at 150000/75000. Cloth is 15000 per unit.
2010-04-19 17:58   
I am having this problem. Am unable to create clothing/bags from cloth because the hospital steals it all. Immediately after cloth is made, a dwarf hauls it to the hospital and it cannot be used for clothing. Quite irritating... it breaks an entire part of the economy.
2010-06-19 23:45   
+1 to the repro of this issue. It's rather frustrating, because hospitals are pretty neat.
2010-06-27 12:15   
I've found a pretty easy workaround. The key is to add containers one at a time, so that your dwarves don't all think "omgwtf ten empty containers in the hospital MUST FILL THEM WITH CLOTH" at the same time. So:

1. Designate your hospital zone with NO containers (chests/coffers/bags) built in it
2. Optionally, adjust your hospital zone supply levels. They default to "five of everything", more or less.
3. Build ONE container in the hospital zone. Watch as your dwarves rush to fill it, then go idle.
4. Repeat step 3, adding one container at a time, until you have enough of everything.

In my current game, I used this technique and set my hospital limits at "three of everything", then gradually built four containers. They now hold four cloth, three thread, four splints, one crutch, no powder (I don't have any), four buckets, and no soap (I don't have any). So I have slightly too much cloth, splints, and buckets, and too few crutches, but all in all it's a very workable hospital. More importantly, the fifth and last container that I placed in the zone is EMPTY, even though I have lots more cloth, thread, splints, buckets, and crutches in my stockpiles.

(taken from my original post at http://www.bay12forums.com/smf/index.php?topic=60291.0 [^])