Adam- / runelite-plugins

16 stars 37 forks source link

Make essence pouch plugin look for chat messages when filling/emptying an already full/empty pouch #53

Closed PeaceBear0 closed 1 year ago

PeaceBear0 commented 1 year ago

At GOTR, the essence pouch plugin frequently gets confused when doing thinks like emptying and using altar on the same tick or filling and making more guardian essence immediately. Previously, this could be corrected by using the check option but that's unnatural since it requires a right click. This patch makes the plugin look for a message that the game emits when trying to fill/empty a pouch that was already fulll/empty, and in those cases it updates the count to be correct. This is already an option that a lot of players will do manually -- if the plugin shows that the pouch still has essence, the player will likely try to empty it again to use it and then the plugin will be able to update.