Feature - Implemented Display consumption queues better

Veracity

Developer
Staff member
When you have addCreationQueue set to true, the Item Manager adds a new panel to the Food, Booze, and Spleen cards: you can select things from the bottom panel and either use them immediately or "queue" them, which moves them to the top panel. The top panel has an "undo" button to remove the last thing queued.

The problem is, the list that is displayed in the top panel is ConcotionDatabase.getUsables() with filtering defined to show only concoctions for which getQueued() is non-zero. That means that the "queue" is displayed in item number order, and that if you queue the same item more than once - with different consumption helpers between them, for example - the different instances are all combined in the display.

Note that the actual queue which is executed when you click on "Consume" is different, and really will execute things in the order they were queued.

The queue shown in the Item Manager should display like the internal queue, queued item by queued item.
 
I have this coded and it sure simplifies some things internally. I can add and remove things from queues and it works great. Unfortunately, I'll have to wait until tomorrow to see how it really behaves when I say "Consume".
 
Back
Top