Allow Build Planner Middle-Mouse-Click to Withdraw from Multiple Inventories
Currently, when you use Middle-Mouse-Button to withdraw components from a grid, it only seems to withdraw from the first inventory it encounters that has some components you need, even if withdrawing all of those doesn't fill your player inventory. You have to click Middle-Mouse-Button multiple times in order to fill your inventory.
Example:
Small Cargo Container 1 has: 40 Steel Plates
Small Cargo Container 2 has: 5 Computers
Both are connected as normal with working conveyors, etc.
My build planner requires: 40 Steel Plates and 5 Computers. My inventory is empty.
If I go up to a conveyor port and Middle-Mouse-Click, then I will receive either the 40 Steel Plates or the 5 Computers, not both (despite there being space in my inventory for both). If I Middle-Mouse-Click again, then I will receive the other inventory's components.
I suggest that the "build planner withdraw" should continue to withdraw required items from any connected inventory until one of the following is true:
- All Components in the Build Planner have been withdrawn
- The player's inventory is full
The existing behavior is quite confusing, and combined with the UI prompt saying "X Components could not be withdrawn" makes it look like those Components are not available on the grid at all. This also happens very frequently when using Assemblers in co-operative mode, because the Components that have been produced are split across the output inventories of multiple Assemblers.
EDIT:
And now that I've posted this, I've found this bug:
Same problem there. I'll leave this up as I think my example provides some clarity.
Replies have been locked on this page!