diff --git a/InventoryManager.txt b/InventoryManager.txt index b67e2bb..de1a1c7 100644 --- a/InventoryManager.txt +++ b/InventoryManager.txt @@ -1,8 +1,8 @@ ## Title: InventoryManager -## APIVersion: 100025 +## APIVersion: 100028 ## OptionalDependsOn: LibAddonMenu-2.0 ## SavedVariables: IMSavedVars -## Version: 2.3.0 +## Version: 2.4.0 ## Author: iwontsay & iFedix ## Description: Automatically stash, retrieve and dispose your items with custom rules! diff --git a/Modules/Data.lua b/Modules/Data.lua index 14ba722..c5bd8c7 100644 --- a/Modules/Data.lua +++ b/Modules/Data.lua @@ -61,10 +61,10 @@ IM.filterorder = { { "IM_FILTERSPEC_LIGHT" , { "armorType", ARMORTYPE_LIGHT } }, { "IM_FILTERSPEC_SHIELD" , { "equipType", EQUIP_TYPE_OFF_HAND } }, { "IM_FILTERSPEC_JEWELRY" , { "equipType", EQUIP_TYPE_RING, EQUIP_TYPE_NECK } }, - { "IM_FILTERSPEC_VANITY" , { "equipType", EQUIP_TYPE_DISGUISE, EQUIP_TYPE_COSTUME }} + { "IM_FILTERSPEC_VANITY" , { "equipType", EQUIP_TYPE_COSTUME } } } }, { "IM_FILTER_CONSUMABLE" , { - { "IM_FILTERSPEC_ANY" , { "itemType", ITEMTYPE_CROWN_ITEM, ITEMTYPE_FOOD, ITEMTYPE_DRINK, ITEMTYPE_RECIPE, ITEMTYPE_POTION, ITEMTYPE_POISON, ITEMTYPE_RACIAL_STYLE_MOTIF, ITEMTYPE_MASTER_WRIT, ITEMTYPE_CONTAINER, ITEMTYPE_AVA_REPAIR, ITEMTYPE_TOOL, ITEMTYPE_CROWN_REPAIR, ITEMTYPE_FISH, ITEMTYPE_TROPHY } }, + { "IM_FILTERSPEC_ANY" , { "itemType", ITEMTYPE_CROWN_ITEM, ITEMTYPE_FOOD, ITEMTYPE_DRINK, ITEMTYPE_RECIPE, ITEMTYPE_POTION, ITEMTYPE_POISON, ITEMTYPE_RACIAL_STYLE_MOTIF, ITEMTYPE_MASTER_WRIT, ITEMTYPE_CONTAINER, ITEMTYPE_AVA_REPAIR, ITEMTYPE_TOOL, ITEMTYPE_CROWN_REPAIR, ITEMTYPE_FISH, ITEMTYPE_TROPHY, ITEMTYPE_DYE_STAMP } }, { "IM_FILTERSPEC_CROWN_ITEM" , { "itemType", ITEMTYPE_CROWN_ITEM } }, { "IM_FILTERSPEC_FOOD" , { "itemType", ITEMTYPE_FOOD } }, { "IM_FILTERSPEC_DRINK" , { "itemType", ITEMTYPE_DRINK } }, @@ -77,21 +77,23 @@ IM.filterorder = { { "IM_FILTERSPEC_REPAIR" , { "itemType", ITEMTYPE_AVA_REPAIR, ITEMTYPE_TOOL, ITEMTYPE_CROWN_REPAIR } }, { "IM_FILTERSPEC_FISH" , { "itemType", ITEMTYPE_FISH } }, { "IM_FILTERSPEC_TROPHY" , { "itemType", ITEMTYPE_TROPHY } }, + { "IM_FILTERSPEC_DYE_STAMP" , { "itemType", ITEMTYPE_DYE_STAMP } } } }, { "IM_FILTER_MATERIAL" , { - { "IM_FILTERSPEC_ANY" , { "itemType", ITEMTYPE_BLACKSMITHING_MATERIAL, ITEMTYPE_BLACKSMITHING_RAW_MATERIAL, ITEMTYPE_BLACKSMITHING_BOOSTER, ITEMTYPE_CLOTHIER_MATERIAL, ITEMTYPE_CLOTHIER_RAW_MATERIAL, ITEMTYPE_CLOTHIER_BOOSTER, ITEMTYPE_WOODWORKING_MATERIAL, ITEMTYPE_WOODWORKING_RAW_MATERIAL, ITEMTYPE_WOODWORKING_BOOSTER, ITEMTYPE_REAGENT, ITEMTYPE_POTION_BASE, ITEMTYPE_POISON_BASE, ITEMTYPE_ENCHANTING_RUNE_ASPECT, ITEMTYPE_ENCHANTING_RUNE_ESSENCE, ITEMTYPE_ENCHANTING_RUNE_POTENCY, ITEMTYPE_INGREDIENT, ITEMTYPE_STYLE_MATERIAL, ITEMTYPE_RAW_MATERIAL, ITEMTYPE_WEAPON_TRAIT, ITEMTYPE_ARMOR_TRAIT } }, + { "IM_FILTERSPEC_ANY" , { "itemType", ITEMTYPE_BLACKSMITHING_MATERIAL, ITEMTYPE_BLACKSMITHING_RAW_MATERIAL, ITEMTYPE_BLACKSMITHING_BOOSTER, ITEMTYPE_CLOTHIER_MATERIAL, ITEMTYPE_CLOTHIER_RAW_MATERIAL, ITEMTYPE_CLOTHIER_BOOSTER, ITEMTYPE_WOODWORKING_MATERIAL, ITEMTYPE_WOODWORKING_RAW_MATERIAL, ITEMTYPE_WOODWORKING_BOOSTER, ITEMTYPE_REAGENT, ITEMTYPE_POTION_BASE, ITEMTYPE_POISON_BASE, ITEMTYPE_ENCHANTING_RUNE_ASPECT, ITEMTYPE_ENCHANTING_RUNE_ESSENCE, ITEMTYPE_ENCHANTING_RUNE_POTENCY, ITEMTYPE_INGREDIENT, ITEMTYPE_JEWELRYCRAFTING_MATERIAL, ITEMTYPE_JEWELRYCRAFTING_RAW_MATERIAL, ITEMTYPE_JEWELRYCRAFTING_BOOSTER, ITEMTYPE_STYLE_MATERIAL, ITEMTYPE_RAW_MATERIAL, ITEMTYPE_WEAPON_TRAIT, ITEMTYPE_ARMOR_TRAIT } }, { "IM_FILTERSPEC_BLACKSMITHING" , { "itemType", ITEMTYPE_BLACKSMITHING_MATERIAL, ITEMTYPE_BLACKSMITHING_RAW_MATERIAL, ITEMTYPE_BLACKSMITHING_BOOSTER } }, { "IM_FILTERSPEC_CLOTHIER" , { "itemType", ITEMTYPE_CLOTHIER_MATERIAL, ITEMTYPE_CLOTHIER_RAW_MATERIAL, ITEMTYPE_CLOTHIER_BOOSTER } }, { "IM_FILTERSPEC_WOODWORKING" , { "itemType", ITEMTYPE_WOODWORKING_MATERIAL, ITEMTYPE_WOODWORKING_RAW_MATERIAL, ITEMTYPE_WOODWORKING_BOOSTER } }, { "IM_FILTERSPEC_ALCHEMY" , { "itemType", ITEMTYPE_REAGENT, ITEMTYPE_POTION_BASE, ITEMTYPE_POISON_BASE } }, { "IM_FILTERSPEC_ENCHANTING" , { "itemType", ITEMTYPE_ENCHANTING_RUNE_ASPECT, ITEMTYPE_ENCHANTING_RUNE_ESSENCE, ITEMTYPE_ENCHANTING_RUNE_POTENCY } }, { "IM_FILTERSPEC_PROVISIONING" , { "itemType", ITEMTYPE_INGREDIENT } }, + { "IM_FILTERSPEC_JEWELCRAFTING" , { "itemType", ITEMTYPE_JEWELRYCRAFTING_MATERIAL, ITEMTYPE_JEWELRYCRAFTING_RAW_MATERIAL, ITEMTYPE_JEWELRYCRAFTING_BOOSTER } }, { "IM_FILTERSPEC_STYLE_MATERIAL", { "itemType", ITEMTYPE_STYLE_MATERIAL, ITEMTYPE_RAW_MATERIAL } }, { "IM_FILTERSPEC_ARMOR_TRAIT" , { "itemType", ITEMTYPE_WEAPON_TRAIT } }, { "IM_FILTERSPEC_WEAPON_TRAIT" , { "itemType", ITEMTYPE_ARMOR_TRAIT } }, } }, { "IM_FILTER_FURNISHING" , { - { "IM_FILTERSPEC_ANY" , { "itemType", ITEMTYPE_FURNISHING } }, + { "IM_FILTERSPEC_ANY" , { "itemType", ITEMTYPE_FURNISHING, ITEMTYPE_FURNISHING_MATERIAL } }, } }, { "IM_FILTER_MISC" , { { "IM_FILTERSPEC_ANY" , { "itemType", ITEMTYPE_GLYPH_ARMOR, ITEMTYPE_GLYPH_JEWELRY, ITEMTYPE_GLYPH_WEAPON, ITEMTYPE_SOUL_GEM, ITEMTYPE_SIEGE, ITEMTYPE_LURE, ITEMTYPE_TOOL, ITEMTYPE_TRASH, ITEMTYPE_COLLECTIBLE, ITEMTYPE_TREASURE } }, diff --git a/lang/de.lua b/lang/de.lua index 486a6e4..e69b54e 100644 --- a/lang/de.lua +++ b/lang/de.lua @@ -62,6 +62,7 @@ local lang = { IM_FILTERSPEC_REPAIR0 = "Reparatursatz", IM_FILTERSPEC_FISH0 = "Fisch", IM_FILTERSPEC_TROPHY0 = "Trophäe", + IM_FILTERSPEC_DYE_STAMP0 = "Farbsatz", IM_FILTER_MATERIAL0 = "Material", IM_FILTERSPEC_BLACKSMITHING0 = "Schmiedematerial", IM_FILTERSPEC_CLOTHIER0 = "Schneidermaterial", @@ -69,6 +70,7 @@ local lang = { IM_FILTERSPEC_ALCHEMY0 = "Alchimiematerial", IM_FILTERSPEC_ENCHANTING0 = "Verzauberungsmaterial", IM_FILTERSPEC_PROVISIONING0 = "Kochzutat", + IM_FILTERSPEC_JEWELCRAFTING0 = "Juwelenschmiedmaterial", IM_FILTERSPEC_STYLE_MATERIAL0 = "Stilmaterial", IM_FILTERSPEC_ARMOR_TRAIT0 = "Rüstungsaufwertung", IM_FILTERSPEC_WEAPON_TRAIT0 = "Waffenaufwertung", diff --git a/lang/en.lua b/lang/en.lua index f6a0cc2..c56cfde 100644 --- a/lang/en.lua +++ b/lang/en.lua @@ -61,6 +61,7 @@ local lang = { IM_FILTERSPEC_REPAIR0 = "Repair item", IM_FILTERSPEC_FISH0 = "Fish", IM_FILTERSPEC_TROPHY0 = "Trophy", + IM_FILTERSPEC_DYE_STAMP0 = "Dye stamp", IM_FILTER_MATERIAL0 = "Material", IM_FILTERSPEC_BLACKSMITHING0 = "Blacksmithing material", IM_FILTERSPEC_CLOTHIER0 = "Clothier material", @@ -68,6 +69,7 @@ local lang = { IM_FILTERSPEC_ALCHEMY0 = "Alchemy material", IM_FILTERSPEC_ENCHANTING0 = "Enchanting material", IM_FILTERSPEC_PROVISIONING0 = "Provisioning ingredient", + IM_FILTERSPEC_JEWELCRAFTING0 = "Jewelcrafting material", IM_FILTERSPEC_STYLE_MATERIAL0 = "Style material", IM_FILTERSPEC_ARMOR_TRAIT0 = "Armor trait", IM_FILTERSPEC_WEAPON_TRAIT0 = "Weapon trait",