View Single Post
07/20/15, 02:25 PM   #3
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
That was something I said I was going to add to FilterIt a long time ago, but never did.
As you said it takes very little code:
EDIT 1: I forgot to hide the quest filter, added.
EDIT 2: Heres one for you...I just realized the trading house additional filter does NOT filter out bound items? Might as well fix that too.
Removed EDIT 2. I just realized it will mess up the filtering libraries for the trading house.
Lua Code:
  1. local function InitTradingHouseLayout()
  2.     BACKPACK_TRADING_HOUSE_LAYOUT_FRAGMENT.layoutData.inventoryTopOffsetY = 43  
  3.     BACKPACK_TRADING_HOUSE_LAYOUT_FRAGMENT.layoutData.hiddenFilters = { [ITEMFILTERTYPE_QUEST] = true }
  4. end
  5.  
  6. local origSetTradingHouseMode = ZO_InventoryManager.SetTradingHouseModeEnabled
  7. function ZO_InventoryManager:SetTradingHouseModeEnabled(enabled)
  8.     origSetTradingHouseMode(self, enabled)
  9.     ZO_PlayerInventoryTabs:SetHidden(false)
  10. end

Although now that I'm thinking about it. I might as well add it to FilterIt.

Last edited by circonian : 07/20/15 at 05:31 PM.
  Reply With Quote