TL;DR: Bins and Barrels are annoying. Easiest not to use them at all. But if you need to use them, use them for things that will never, every go on to another workshop. Be aware that anytime anything is added or removed, or if the bin/barrel is hauled, *everything* becomes "unavilable", leading to "mismatched equipment/item unavailable" spam. Even worse, it will potentially cause you to build more of the things in workshop orders because the manager thinks you don't have the ones that are "unavailable.
Bins are really the main culprit here and it can happen with anything. The main problem is that as soon as a bin is accessed (get something out, put something in, or hauled) anything inside of it becomes "unavailable". This is very easily seen with work orders because you might say that you want at most 3 battle axes and you have a bin with 3 battle axes and assorted other weapons. As son as someone gets one of the other weapons, you start making more battle axes. If people are putting weapons in and out of the bin, you can end up with 10s of battle axes and wondering why. If you haul the bin to the trade depot because you are thinking (I want to sell those stupid long daggers), then suddenly you are off building battle axes again).
There are a couple of keys for bins:
- When an item in a bin is used, the whole bin is unavailable while the item is being taken.
- If the item in a bin is being used by a workshop, the bin will be hauled to the workshop and then hauled back. This can take a huge amount of time.
- When an item is in a bin, it can only be taken out of that bin to be used directly (by a dwarf or by a workshop)
- An item in a bin will never be removed to be put into another stockpile. Ever.
- An bin will never be moved to a stockpile unless everything that happens to be in the bin is permitted in the stockpile, *and* bins are permitted. In that case the entire bin is moved to the stockpile
There are a couple of results of this:
- If you want to ever sort items by type, you must sort them *before they are put in bins*. Usually this means, creating a stockpile that does *not* allow bins and then making a stockpile which only accepts a certain kind of item and also contains bins. This results in 2 hauling jobs, but will ensure that your items are sorted into bins.
- If you already have a mixed bin and you want to sort the items, you must forbid the items in the stock pile (or forbidding bins will work too), dump all the items in the bin and then after they have been dumped, reclaim them. 'd->b->reclaim items' is your friend!!!
- Generally speaking, you never want bins for items that are in the middle of construction. But when you are truly finished constructing them and you just want to sell them, bins are fantastic. Just make sure to set up the stockpile appropriately.
- The inability to move items in a mixed bin into a stockpile can be used to your advantage. If you want to encrust finished goods with gems, you can create a stockpile that accepts finished goods, but *not* bins. Then give this stockpile to your workshop. Make a stockpile with finished goods that *does* accept bins and take from the workshop. As soon as the item gets put in a bin, it will never be put in the stockpile feeding your workshop
.
[/list]
There are lots more tricks you can play with the current behaviour. It is not simple, but I have come to the conclusion that it is not *completely* broken. There are benefits to the way it works.