From bb5349e31a63d1c6e24eed4dfefc888b56ed5c20 Mon Sep 17 00:00:00 2001 From: HonorGoG Date: Thu, 8 Aug 2019 21:03:32 -0700 Subject: [PATCH] - TitanBag : added ammo and shard logic to right-click menu --- TitanClassicBag/TitanClassicBag.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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")); -- 1.7.9.5