#Tracking potions
9 messages · Page 1 of 1 (latest)
Make a trigger for each rank.
Display tab, %c in text
Custom text function:
local totalCount = 0
totalCount = aura_env.states[1].count and totalCount + aura_env.states[1].count or totalCount
totalCount = aura_env.states[2].count and totalCount + aura_env.states[2].count or totalCount
totalCount = aura_env.states[3].count and totalCount + aura_env.states[3].count or totalCount
return totalCount
end```
Will try thanks
If you only have triggers tracking item count, then you can do
local totalCount = 0
for i = 1, #aura_env.states do
totalCount = aura_env.states[i].count and totalCount + aura_env.states[i].count or totalCount
end
return totalCount
end```
instead, which would work with any number of triggers.
Gotta say though, who cares how many R1, R2 and R3 pots he has in his bags 😄
Delete those R1s
Mainly trying to get the count of the potions that i get from the cauldron + my personal
Okay it worked thanks a lot Guffin
Was about to tell Tydo you use rank 1 pots