Nothing huge, just added in a function for bank usage.
Usage is as follows.
Code: Select all
local name, id, count, slot = bankItemBySlot(slotnumber)
for slot 1
Code: Select all
local name, id, count, slot = bankItemBySlot(1)
Code: Select all
tokencount = 0
for slotnumber = 1,40 do
local name, id, count, slot = bankItemBySlot(slotnumber)
if id == 204874 then -- phirius tokens
tokencount = tokencount + count
end
end
print("Total tokens in bank "..tokencount.."\n")
With this info you could do a check and if enough to buy a purified fusion stone then you can go to the bank and remove all the tokens to your bag and then buy a puri.
Anyway that is just 1 example
--=== Note ===--
I only did slots 1-40, if you own more then 1 tab then we might need to look at it differently, not sure if using slot 41 would work.
It is limited to 40 slots (1 tab) at this stage.