Download
(25 Kb)
Download
Updated: 09/22/20 11:14 AM
Pictures
File Info
Compatibility:
Stonethorn (6.1.5)
Greymoor (6.0.5)
Harrowstorm (5.3.5)
Dragonhold (5.2.5)
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:09/22/20 11:14 AM
Created:09/12/18 03:16 PM
Monthly downloads:225
Total downloads:22,609
Favorites:32
MD5:
Grubmaster Food & Drink Auto Consume  Popular! (More than 5000 hits)
Version: 1.07
by: aethronx [More]
Description:
This addon allows a food or drink to be easily chosen from inventory and used automatically whenever the player's current food buff is nearing expiration.

To select a food to use automatically, right click on it in inventory and chose the "Consume Automatically" option.

After selecting a food, it will be used immediately if no food buff is active. If a food buff is active, it will be used when the buff is nearing expiration (5 minutes before by default).

The expiration buffer can be changed to anything between 0 and 10 minutes (0 and 600 seconds) using the /grubmasterbufferseconds command in chat (see below).

Right clicking the selected food in inventory again will show an option to stop automatic consumption.

A message will be shown in the chat window when food is used. When the food count reaches 5 or less in player inventory, a low inventory warning will be shown in chat. When food count is 0 and the expiration buffer has been reached, a warning will be shown in chat every minute. This can be turned off by using the /grubmasteroff slash command (see below).

Food or drinks cannot be used automatically while in combat. This is a limitation of the game's API. If a food cannot be used for any reason, it will try again 10 seconds later.

Using any food manually at any time while Grubmaster is running is perfectly fine.


Available Slash Comands:
  • /grubmasteron - Turns auto consumption on if food has been previously selected
  • /grubmasteroff - Turns auto consumption off
  • /grubmastershowsettings - Shows the current settings including food, expiration buffer, and current bag count
  • /grubmasterbufferseconds [seconds] - Shows the current buffer in seconds, or optionally changes it. Can be a number between 0 and 600.

Known Issues:
  • Food and drink items do not show option to autoconsume in gamepad mode. Turn off gamepad mode to select food, then turn it back on.
  • Text is not localized (however, it should work for all locations.)

Acknowledgements:
  • Uses the LibFoodDrinkBuff library by Scootworks, Baertram. (Saved a lot of time, huge thanks!)
  • Uses LibCustomMenu by votan
-- Version 1.00 09/07/2018
-- Version 1.01 10/22/2018 Updated for Murkmire (100025)
-- Version 1.02 02/25/2019 Updated for Wrathstone DLC (100026)
-- Version 1.03 05/19/2019 Updated for Elsweyr (100027); Calls addon with global LIB_FOOD_DRINK_BUFF
-- Version 1.04 08/12/2019 Updated for Scalebreaker (100028); Updated embedded LibFoodDrinkBuff library
-- Version 1.05 12/08/2019 Updated for Dragonhold (100029); Updated LibFoodDrinkBuff library; Adds LibCustomMenu
-- Version 1.06 05/14/2020 Updated for Greymoor (100031); Updated LibFoodDrinkBuff library; Updated LibCustomMenu
-- Version 1.07 08/24/2020 Updated for Stonethorn (100032); Updated LibFoodDrinkBuff library; Updated LibCustomMenu; Adds check for scrying/digging games
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Uploader
Date
1.06
24kB
aethronx
05/14/20 10:01 AM
1.05
20kB
aethronx
12/08/19 12:26 PM
1.04
11kB
aethronx
08/12/19 08:54 AM
1.03
11kB
aethronx
05/19/19 09:59 AM
1.02
10kB
aethronx
02/25/19 11:19 AM
1.01
10kB
aethronx
10/22/18 01:26 PM
1.00
10kB
aethronx
09/12/18 03:16 PM


Post A Reply Comment Options
Unread 09/02/22, 09:55 PM  
Maason

Forum posts: 0
File comments: 12
Uploads: 0
THANK YOU...

Thank you very much. Forgot to turn it off, get kicked. Came in and saw this. Edited my file...THANK YOU again...very frustrating, especially when you are kicking their butts so handedly.



Originally Posted by Masteroshi430
to avoid being kicked during a tales of tribute match like me 5mn ago modify the function line 317 like this:
Lua Code:
  1. local function IsUnitAbleToUseFood(unitTag) -- Returns: boolean isAbleToUseFood
  2.     -- check for certain player statuses that make using food impossible or undesirable
  3.     if IsUnitInCombat(unitTag) then return
  4.     elseif IsUnitDeadOrReincarnating(unitTag) then return
  5.     elseif IsUnitSwimming(unitTag) then return
  6.     elseif IsPlayerInteractingWithObject() then return
  7.     elseif IsScryingInProgress() then return
  8.     elseif IsDiggingGameActive() then return
  9.     elseif TRIBUTE_SCENE:IsShowing() and TRIBUTE.gameFlowState ~= TRIBUTE_GAME_FLOW_STATE_INACTIVE then return -- add this line to avoid being kicked of a tales of tribute match :-)
  10.  
  11.     else return true end
  12.  
  13. end


EDIT: aethronx's last activity on ESOUI is 12/16/20 06:08 PM
I'm also interested in exp scroll consume, if no news/update from aethronx by 1st of October 2022 send me a PM to ask me to release an updated/maintained version.
Report comment to moderator  
Reply With Quote
Unread 09/10/22, 11:42 AM  
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 741
Uploads: 20
Here is my maintained version with a new experience buff feature:
https://www.esoui.com/downloads/info...30sbranch.html
Report comment to moderator  
Reply With Quote
Unread 10/01/22, 08:54 PM  
siavash

Forum posts: 1
File comments: 15
Uploads: 0
cusnuming auto food cause to exit Tribute Match

hi, i just wanted to provide this feedback, unfortunately when we are playing Tribute game any auto consume will cause exit the game
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: