[fixed] Missing furnishing categories in trading house interface
I noticed that there is no category for crafting stations in the vanilla trading house interface.
After some investigation I found that GetFurnitureCategoryInfo returns availableInTradingHouse=false for the "Services" category, even though it contains subcategories that return true. The function InitializeHouseFurnitureCategoryTypeData then just ignores the whole category and doesn't even check the subcategories. Changing it to look into subcategories regardless of the state of the parent category solves the problem: Lua Code:
What I was actually looking for was how crafting stations and attunable stations are found in the vanilla store interface, but unfortunately they don't have any common ground and cannot be found in the same search. Normal Crafting Stations: Furniture Category / Subcategory: Services(25) > Crafting Stations(104) Itemtype: ITEMTYPE_FURNISHING Specialized Itemtype: SPECIALIZED_ITEMTYPE_FURNISHING_ORNAMENTAL Attunable Crafting Stations: Furniture Category / Subcategory: ??? (shows in "All Furnishings") Itemtype: ITEMTYPE_TROPHY Specialized Itemtype: SPECIALIZED_ITEMTYPE_FURNISHING_CRAFTING_STATION I hope you can change it so the specialized itemtype and/or furniture category is identical for both. ;) |
All times are GMT -6. The time now is 05:04 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI