Inventory Improvements – Small Changes, Better Usability

This month I made a few small but useful improvements to the inventory system.
None of these changes are particularly flashy, but they should make managing items much more comfortable — especially when you have a lot of items in your inventory.
A new inventory scrollbar
I replaced the standard vertical scrollbar on the right side of the item list with a custom graphic.
I also added a small black arrow that indicates which filter is currently selected.
It is a relatively minor visual change, but I think it makes the inventory look much more integrated with the rest of the game's UI rather than relying on a standard interface element.

The selected item now stays selected

I also changed how the inventory handles item consumption.
Previously, if you had several copies of an item selected — for example, several healing potions — and used one of them, the selection could jump somewhere else.
Now, if you consume one item from a stack, the inventory keeps the same item selected.
For example:
Only when you use the last remaining item of that type does the selection move.
In that case, the game automatically selects the first item in the currently active filter.
This should make using multiple consumables in a row much less annoying.
Potions filter selected in inventory


There was also a related bug that could cause the game to crash if you sold the item that was currently selected in the inventory.
Since the selection system has now been reworked, I fixed this issue as well.
So selling the currently selected item should no longer result in the inventory trying to reference an item that no longer exists.
Small change, but an important one
This isn't one of those updates that adds a huge new feature or another 100 renders.
But these are the kinds of small quality-of-life improvements that hopefully make Bred for War feel smoother every time you open a menu.
Sometimes the best feature is simply not having to fight the inventory while you're trying to use it. 😄