Quantcast

- TitanBag : added ammo and shard logic to right-click menu

HonorGoG [08-09-19 - 04:03]
- TitanBag : added ammo and shard logic to right-click menu
Filename
TitanClassicBag/TitanClassicBag.lua
diff --git a/TitanClassicBag/TitanClassicBag.lua b/TitanClassicBag/TitanClassicBag.lua
index 1e20786..3234f3c 100644
--- a/TitanClassicBag/TitanClassicBag.lua
+++ b/TitanClassicBag/TitanClassicBag.lua
@@ -432,6 +432,18 @@ function TitanPanelRightClickMenu_PrepareBagMenu()
 --]]
 	TitanPanelRightClickMenu_AddSpacer();
 	info = {};
+	info.text = L["TITAN_BAG_MENU_IGNORE_AMMO_POUCH_SLOTS"];
+	info.func = TitanPanelBagButton_ToggleIgnoreAmmoPouchSlots;
+	info.checked = TitanUtils_Toggle(TitanGetVar(TITAN_BAG_ID, "CountAmmoPouchSlots"));
+	L_UIDropDownMenu_AddButton(info, _G["L_UIDROPDOWNMENU_MENU_LEVEL"]);
+
+	info = {};
+	info.text = L["TITAN_BAG_MENU_IGNORE_SHARD_BAGS_SLOTS"];
+	info.func = TitanPanelBagButton_ToggleIgnoreShardBagSlots;
+	info.checked = TitanUtils_Toggle(TitanGetVar(TITAN_BAG_ID, "CountShardBagSlots"));
+	L_UIDropDownMenu_AddButton(info, _G["L_UIDROPDOWNMENU_MENU_LEVEL"]);
+
+	info = {};
 	info.text = L["TITAN_BAG_MENU_IGNORE_PROF_BAGS_SLOTS"];
 	info.func = TitanPanelBagButton_ToggleIgnoreProfBagSlots;
 	info.checked = TitanUtils_Toggle(TitanGetVar(TITAN_BAG_ID, "CountProfBagSlots"));