You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, (in 0.47.05) I started using autodump for certain stockpiles, but occasionally the wheelbarrows assigned for those stockpiles get marked for dumping as well. It might be because of interrupted hauling jobs, after which the wheelbarrows have to be hauled back, or it might be because of something else.
One way to do it would be to check the id of the item that's possibly being marked for dumping against what's listed under building.container_item_id, which seems to contain the ids of the wheelbarrows, and building.container_type can be used to determine whether the container item is actually a wheelbarrow or not.
Dunno what it should do for bins or barrels assigned for the stockpile. Dump or not dump, or empty and dump, or dump and empty? That could vary, but it's pretty clear that the wheelbarrows shouldn't be dumped.
The text was updated successfully, but these errors were encountered:
So, (in 0.47.05) I started using autodump for certain stockpiles, but occasionally the wheelbarrows assigned for those stockpiles get marked for dumping as well. It might be because of interrupted hauling jobs, after which the wheelbarrows have to be hauled back, or it might be because of something else.
Looks like the logic handling that is this: https://github.com/DFHack/dfhack/blob/develop/plugins/autodump.cpp#L56C2-L61
One way to do it would be to check the id of the item that's possibly being marked for dumping against what's listed under building.container_item_id, which seems to contain the ids of the wheelbarrows, and building.container_type can be used to determine whether the container item is actually a wheelbarrow or not.
Dunno what it should do for bins or barrels assigned for the stockpile. Dump or not dump, or empty and dump, or dump and empty? That could vary, but it's pretty clear that the wheelbarrows shouldn't be dumped.
The text was updated successfully, but these errors were encountered: