Originally Posted by remosito
Now to hunt down the inventory window keybindstrip to get rid of the "Destroy all junk" keybind
if that one behaves differently I'll come back to update my post..
|
That was fruitless... :-/
When following down data structures always ended up at some strange UserData values...
google made me think this is where it all goes over into C coded functionality...
But found a workaround, ESO calls a predefined Dialog upon pressing that button from ingame/globals/ingamedialogs.lua
So I just overwrote that one in my code:
Code:
ESO_Dialogs["DESTROY_ALL_JUNK"] = {
title = { text = SI_PROMPT_TITLE_DESTROY_ITEMS, },
mainText = { text = "Functionality disabled by Addon",},
buttons = { [1] = { text = SI_DIALOG_DECLINE, },},
}
Not as nice, but works....