At present we have a slightly odd handling for what we display in Item Manager's Food/Booze/Spleen queues, which also doesn't match the logic exactly for what is usable.
Taking Food as an example, we currently show everything we have, regardless of if we can use it or not, unless the reason we cannot use it is B's in Beecore, non Brain in Zombiecore, non Jarlsberg in Jarlsberg, Hot Dog if we've eaten one. We actually build the queue with most of these things in it, but then only display them afterwards. We also duplicate much of the code in maximumUses as well.
I'm currently very tempted to change this to just display if it's Food or Food Helper and maximumUses <> 0. Would let us simplify a lot of code, would stop code giving different results in different places, and would also stop the interface showing things we cannot queue.
It would, however, be a change to the current interface, where things we cannot use due to fullness can be sorted to the bottom. Not that we can actually do anything with them!
I guess an alternative would be to repurpose sort by room to sort things we cannot use to the bottom ?
Taking Food as an example, we currently show everything we have, regardless of if we can use it or not, unless the reason we cannot use it is B's in Beecore, non Brain in Zombiecore, non Jarlsberg in Jarlsberg, Hot Dog if we've eaten one. We actually build the queue with most of these things in it, but then only display them afterwards. We also duplicate much of the code in maximumUses as well.
I'm currently very tempted to change this to just display if it's Food or Food Helper and maximumUses <> 0. Would let us simplify a lot of code, would stop code giving different results in different places, and would also stop the interface showing things we cannot queue.
It would, however, be a change to the current interface, where things we cannot use due to fullness can be sorted to the bottom. Not that we can actually do anything with them!
I guess an alternative would be to repurpose sort by room to sort things we cannot use to the bottom ?