There is an issue/bug that can appear if you build a custom inventory a certain way that can result in certain slots (seems to be random slots) not being able to use the item in that slot. If you right click the item, it will either use the item in a different slot, or if the only item in the inventory, just won’t use it at all.
This scenario can be consistently recreated in a couple of ways so let me outline them below:
IMPORTANT: Start with a brand new widget for each scenario for reasons explained after
SCENARIO 1 (the most consistent)
Make a custom inventory widget, assigned as the default inventory, and add some item slots to form a couple of rows. (let’s say 10).
Before playing the game, swap their positions, so that instead of going in sequence:
[0001] [0002] [0003] [0004] [0005]
[0006] [0007] [0008] [0009] [0010]
they go in a more mixed order, for example:
[0009] [0002] [0004] [0010] [0006]
[0001] [0008] [0003] [0007] [0005]
Now play the game, and give yourself 10 of the same usable item so that each slot has one.
Try and use each slot’s item and notice how some don’t use their own item, but another slot’s, until only those ones are left and they then can’t be used at all. (moving the item to a working slot can use it though).
SCENARIO 2 (this one’s more interesting)
Make a brand new custom inventory widget, assigned as the default inventory, and add some item slots to form a couple of rows. (let’s say 10).
Play the game and give yourself 10 of the same usable item so each slot has one.
Use each item... works fine.
Now, edit the widget and simply move the slots around... not even out of sequence but just move them.
For example go from:
[0001] [0002] [0003] [0004] [0005]
to
[0001]
[0002]
[0003]
[0004]
[0005]
Play again, and now, because you moved the slots since you last played, the same issue as scenario 1 happens again.
Why is it important to start a new widget each time?
Once this issue happens, those slots can often (not consistently though) remain broken until you actually remove them and add new slots.