File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ Template for new versions:
3434- `gui/settings-manager`: standing orders save/load now includes the reserved barrels setting
3535
3636## Fixes
37+ - `fix/dry-buckets`: don't empty buckets for wells that are actively in use
3738
3839## Misc Improvements
3940- `immortal-cravings`: goblins and other naturally non-eating/non-drinking races will now also satisfy their needs for eating and drinking
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ local emptied = 0
1111local in_building = 0
1212for _ ,item in ipairs (df .global .world .items .other .BUCKET ) do
1313 if item .flags .in_job then goto continue end
14+ local well = dfhack .items .getHolderBuilding (item )
15+ if well and well :getType () == df .building_type .Well and well .well_tag .whole ~= 0 then
16+ -- bucket is in a well and the well is actively being used
17+ goto continue
18+ end
1419 local emptied_bucket = false
1520 local freed_in_building = false
1621 for _ ,contained_item in ipairs (dfhack .items .getContainedItems (item )) do
You can’t perform that action at this time.
0 commit comments