Jump to content

How to check Pouches for Runecrafting?


Recommended Posts

Posted
2 hours ago, Alakazizam said:

May or may not work the same as the druid pouch, but the druid pouch behaves like a stackable item. inventory.getAmount("Druid pouch") value goes up and down based on how many charges the druid pouch has. Might be worth seeing if the rune pouches work the same way? 

The druid pouch has a different item id plus you can check for item amount regardless of item id

Posted

Either you keep track if you clicked it or not and set a boolean isFull for each pouch 
Or you can make it smarter by by checking how much essence disappeared from bank/inventory when you press fill and keep track of an amount :)
Second one might be slower as it alweays takes 1 tick to fill a pouch so if you have multiple it might be a bit slower

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...