Open elgbar opened 6 months ago
Well, this turned out to be harder than expected. The bank widgets are ordered by the tab, except the View all items
tab, which is last.
The client script responsible (nr 277) will hide all items except for the ones in the current tab. This was a small hurdle, we can calculate the next empty slot.
And yeah, that works, except for a small problem. The position of the widget might not be set up correctly yet! And by reading the client script, it should be possible to figure out how this is calculated. But that's way harder than just setting the widget itemid and quantity!
Describe the bug
The bank interface does not display the deposited item if there is no existing item in the bank
To Reproduce Steps to reproduce the behaviour:
Expected behaviour
The deposited item should be shown with change opacity where it will be placed the next tick
Screenshots
deposit_bug.webm
Additional context
We must be able to identify which tab is active in the bank. This should be possible with the
CURRENT_BANK_TAB
(4150
) varbit