Thread Tools Display Modes
05/25/17, 07:05 AM   #1
Heppy
AddOn Author - Click to view addons
Join Date: Jan 2017
Posts: 8
Drink/Food bonus text

Hey, i'm looking for a way to export the food/drink bonus text from the ESO Lua API but cannot find any method/function to do so? Does anyone have an idea of how to get ahold of this information?

For instance: Dubious Camoran Throne is missing the text description.

// Heppy.
  Reply With Quote
05/25/17, 07:38 AM   #2
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 409
GetItemLinkFlavortext might be what you are looking for.
  Reply With Quote
05/25/17, 07:56 AM   #3
Heppy
AddOn Author - Click to view addons
Join Date: Jan 2017
Posts: 8
Originally Posted by Dolgubon View Post
GetItemLinkFlavortext might be what you are looking for.
I'll check it out! Thanks
  Reply With Quote
05/25/17, 12:03 PM   #4
Heppy
AddOn Author - Click to view addons
Join Date: Jan 2017
Posts: 8
Originally Posted by Dolgubon View Post
GetItemLinkFlavortext might be what you are looking for.
Nope that wasn't correct. Got "A dessert cocktail of jagga, rotmeth, and sweetbread puree. Definitely Green Pact compliant." for Dubious Camoran Throne :P
  Reply With Quote
05/25/17, 02:32 PM   #5
Kyoma
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 125
Check out Crafted Potions, you'll want to use functions such as GetItemLinkTraitOnUseAbilityInfo for iterating over the effects.
  Reply With Quote
05/25/17, 04:03 PM   #6
Heppy
AddOn Author - Click to view addons
Join Date: Jan 2017
Posts: 8
Originally Posted by Kyoma View Post
Check out Crafted Potions, you'll want to use functions such as GetItemLinkTraitOnUseAbilityInfo for iterating over the effects.
Tried that function on Dubious Camoran Throne item and all returned false.
Code: https://gist.github.com/HeppyKarlsso...50c6df79bdc2c3
  Reply With Quote
05/25/17, 05:03 PM   #7
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
Is there anywhere you've actually seen its data exist? Someone may just have forgotten to put that text in the game so no function is going to return it?
  Reply With Quote
05/26/17, 12:23 AM   #8
Heppy
AddOn Author - Click to view addons
Join Date: Jan 2017
Posts: 8
Originally Posted by Rhyono View Post
Is there anywhere you've actually seen its data exist? Someone may just have forgotten to put that text in the game so no function is going to return it?
Can't say that I have really. But imo it would be weird if they've made so you can get the flavor text but not the actual effect description. And I ought to think that someone should have gotten these descriptions before..
  Reply With Quote
05/26/17, 05:33 AM   #9
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 409
GetItemLinkOnUseAbilityInfo(string itemLink)
GetItemLinkTraitOnUseAbilityInfo(string itemLink, number index)
GetItemLinkItemTagInfo(string itemLink, number itemTagIndex)
I don't really know if any of these will be what you're looking for, but it's worth a shot.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Drink/Food bonus text


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off