DISCONTINUED. I have quit ESO. I apologize for any inconvenience and thank you so much for your support. If I return I will most likely mod again. Until then, enjoy all of the other's mods.
v1.1
Clean up linkdropdown and remove annoying ZOS message.
v1.0
version bump
v0.62
Remove static lib, now you must install it ( LibFoodDrinkBuff ).
v0.61
Fix tooltip error
v0.6
Add PvP food
v0.5.2
Fix LAM2 error
v0.5.1
Check if we have initialized before processing events.
v0.5
Fixed bug if you didn't have settings loaded when you load settings and didn't parse the bag again you couldn't choose the food in your bag until it parsed again... basically it should always show now in the dropdown.
Checks IF I can call the SecureProtected Function and if not it will tell you ZOS says no >_>, currently there is absolutely no way I can get around this.
v0.41
Actually make the ui better this time.
v0.4
Update food choices whenever your bag changes
If you no longer have your selected food choice give you a warning
Instead of ticking every 1s tick every 10s to avoid many, many messages
Actually send an error message not just true
Make the window look cleaner
v0.32
Turns out you can't eat while swimming
v0.31
Repair/charge on reincarnate instead of alive
Fix weird log error with food.
v0.3
- Don't show if not hud(ui) scene
- You can set alpha for hud
- Setting for minutes is minutes now, not seconds
- There is now a setting for logging, unlike before
- Changed log messages to not look like default tell
- Don't try repair/eat/charge if we aren't currently allowed to use the item ( example bank scene )
- Fix font being stupid
v0.2
Food fix -> If you are combat, stop telling me you are going to eat because you can't eat while in combat, well, the player can, but I can't call this protected function in combat.
Repair fix -> Repair shields, don't just show them
-> Update when you change your equipment
-> Hide unequipped nodes
-> Update item condition when you die, this is a frivalious call that will probably never need to happen, will probably be removed next version because it should happen with a durability update.
Clarification on combat repairing and a crash you may have seen in v0.1 or other add-ons with similar functionality.
The bug is related to trying to repair while durability is changing and the durability is being updated by multiple sources thus resulting in a crash because two informations are no longer synced I'm assuming it hits an assert of some kind somewhere, but anyways, the solution is to simply wait for the code to finish executing, which while isn't a solution for most threading issues, this should suffice for this simple case, especially since I'm giving it a time out, it can only call the function x amount of times per interval, so if it tries through whatever other method, it won't spam it, only one event will go through, which, will be the event you actually WANT to go through.
We only get durability updates whenever a unit's state changes, whether this is the player's or an enemy dying or reviving or in combat or out of combat, it seems to happen on any of these events.
Not only is the event not sent, but the item condition is not updated for the item until such an event occurs, however, this does mean it CAN repair in combat, you just need to make a unit change it's state, what all states you ask? I have no idea, I need to do more research, but for the time being this is what I know.
On the flip-side enchants seem to work flawlessly 8D.
Next update will consist of UI updates and pvp/pve food choices.