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?
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
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?
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..
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.