more necro bounties :-)
might be useful to somebody else:
I wanted to get rid of the "Sell all Junk" button in the store window...
surprisingly just changing visibility was enough. Hitting the associated keybind "x" does nothing anymore....
Code:
local storekeybindstrip = STORE_WINDOW.keybindStripDescriptor
for k,v in pairs(storekeybindstrip) do
if type(v) == "table" and v["keybind"] == "UI_SHORTCUT_NEGATIVE" then
STORE_WINDOW.keybindStripDescriptor[k]["visible"] = function() return false end
end
end
thanks circonian for pointing me the way of the STORE_WINDOW.keybindStripDescriptor!
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..