diff --git a/AtlasLoot/Core/AtlasLoot.xml b/AtlasLoot/Core/AtlasLoot.xml
index 2731062..7ce1bff 100644
--- a/AtlasLoot/Core/AtlasLoot.xml
+++ b/AtlasLoot/Core/AtlasLoot.xml
@@ -582,7 +582,9 @@
AtlasLoot_10Man25ManToggle();
- AtlasLoot_QueryLootPage();
+ if AtlasLoot.db.profile.AutoQuery then
+ AtlasLoot_QueryLootPage();
+ end
@@ -604,7 +606,9 @@
AtlasLoot_HeroicModeToggle();
- AtlasLoot_QueryLootPage();
+ if AtlasLoot.db.profile.AutoQuery then
+ AtlasLoot_QueryLootPage();
+ end
@@ -628,7 +632,9 @@
AtlasLoot_NavButton_OnClick()
- AtlasLoot_QueryLootPage();
+ if AtlasLoot.db.profile.AutoQuery then
+ AtlasLoot_QueryLootPage();
+ end
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
@@ -648,7 +654,6 @@
- AtlasLoot_QueryLootPage();
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
this:SetText(AL["Query Server"]);
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
@@ -661,7 +666,7 @@
GameTooltip:AddLine(AL["Queries the server for all items"]);
GameTooltip:AddLine(AL["on this page. The items will be"]);
GameTooltip:AddLine(AL["refreshed when you next mouse"]);
- GameTooltip:AddLine(AL["over them."]);
+ GameTooltip:AddLine(AL["over them. |cffff0000 (Includes Bloodforged)"]);
GameTooltip:Show();
@@ -734,7 +739,9 @@
AtlasLoot_NavButton_OnClick()
- AtlasLoot_QueryLootPage();
+ if AtlasLoot.db.profile.AutoQuery then
+ AtlasLoot_QueryLootPage();
+ end
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
@@ -941,7 +948,7 @@
-
+
@@ -959,7 +966,7 @@
-
+
@@ -987,7 +994,7 @@
-
+
@@ -1001,6 +1008,26 @@
+
+
+
+
+
+
+
+
+
+
+
+ local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
+ getglobal(this:GetName().."Text"):SetText(AL["Auto Query items on page load"]);
+
+
+ AtlasLootOptions_AutoQuery();
+
+
+
+
diff --git a/AtlasLoot/Core/Options.lua b/AtlasLoot/Core/Options.lua
index 54563c7..c277458 100644
--- a/AtlasLoot/Core/Options.lua
+++ b/AtlasLoot/Core/Options.lua
@@ -13,6 +13,7 @@ AtlasLootOptions_EquipCompareToggle()
AtlasLootOptions_OpaqueToggle()
AtlasLootOptions_ItemIDToggle()
AtlasLootOptions_ItemSpam()
+AtlasLootOptions_AutoQuery()
AtlasLootOptions_MinimapToggle()
AtlasLootOptions_LoDSpam()
AtlasLootOptions_LoDStartup()
@@ -118,6 +119,15 @@ function AtlasLootOptions_ItemSpam()
AtlasLootOptions_Init();
end
+function AtlasLootOptions_AutoQuery()
+ if (AtlasLoot.db.profile.AutoQuery) then
+ AtlasLoot.db.profile.AutoQuery = false;
+ else
+ AtlasLoot.db.profile.AutoQuery = true;
+ end
+ AtlasLootOptions_Init();
+end
+
function AtlasLootOptions_LoDStartup()
if (AtlasLoot.db.profile.LoadAllLoDStartup) then
AtlasLoot.db.profile.LoadAllLoDStartup = false;
@@ -181,7 +191,7 @@ function AtlasLoot_DisplayHelp()
ORANGE..AL["How to link an item to someone else:"].."\n"..
WHITE..AL["Shift+Left Click the item like you would for any other in-game item"].."\n\n"..
ORANGE..AL["How to view an 'unsafe' item:"].."\n"..
- WHITE..AL["Unsafe items have a red border around the icon and are marked because you have not seen the item since the last patch or server restart. Right-click the item, then move your mouse back over the item or click the 'Query Server' button at the bottom of the loot page."].."\n\n"..
+ WHITE..AL["Unsafe items have a red border around the icon and are marked because you have not seen the item since the last patch or server restart. Right-click the item, then move your mouse back over the item or click the 'Query Server' button at the bottom of the loot page. This will also load any Bloodforged items."].."\n\n"..
ORANGE..AL["How to view an item in the Dressing Room:"].."\n"..
WHITE..AL["Simply Ctrl+Left Click on the item. Sometimes the dressing room window is hidden behind the Atlas or AtlasLoot windows, so if nothing seems to happen move your Atlas or AtlasLoot windows and see if anything is hidden."].."\n\n"..
ORANGE..AL["How to add an item to the wishlist:"].."\n"..
@@ -192,6 +202,8 @@ function AtlasLoot_DisplayHelp()
WHITE..AL["If you Left Click any item on the wishlist, you can jump to the loot page the item comes from. Also, on a loot page any item already in your wishlist is marked with a yellow star."].."\n\n"..
ORANGE..AL["HELP!! I have broken the mod somehow!"].."\n"..
WHITE..AL["Use the reset buttons available in the options menu, or type '/al reset' in your chat window."].."\n\n"..
+ ORANGE..AL["How do I view Bloodforged items?"].."\n"..
+ WHITE..AL["You must have 'Safe Chat Links' enabled in your options, and the Bloodforged item in your item cache. When viewing a page, click the 'Query Server' button to load the items and Bloodforged equivalents, then right click on an item to display item links for the original and Bloodforged versions in your chat."].."\n\n"..
GREY..AL["For further help, see our website and forums: "]..GREEN.."http://www.atlasloot.net"
);
Text:SetWidth(framewidht-80)
@@ -216,6 +228,7 @@ function AtlasLoot_CreateOptionsInfoTooltips()
AtlasLoot_AddTooltip("AtlasLootOptionsFrameHidePanel", nil) -- AL["Hide AtlasLoot Panel"]
AtlasLoot_AddTooltip("AtlasLootOptionsFrameItemSpam", nil) -- AL["Suppress Item Query Text"]
AtlasLoot_AddTooltip("AtlasLootOptionsFrameLoDSpam", nil) -- AL["Notify on LoD Module Load"]
+ AtlasLoot_AddTooltip("AtlasLootOptionsFrameAutoQuery", nil) -- AL["Auto Query items on page load"]
AtlasLoot_AddTooltip("AtlasLootOptionsFrameLootBrowserScale", nil) -- Scale SLIDER
AtlasLoot_AddTooltip("AtlasLootOptionsFrame_ResetAtlasLoot", nil) -- AL["Reset Frames"]
AtlasLoot_AddTooltip("AtlasLootOptionsFrame_ResetWishlist", nil) -- AL["Reset Wishlist"]
diff --git a/AtlasLoot/Locales/constants.en.lua b/AtlasLoot/Locales/constants.en.lua
index 127cdfa..de97547 100644
--- a/AtlasLoot/Locales/constants.en.lua
+++ b/AtlasLoot/Locales/constants.en.lua
@@ -83,6 +83,7 @@ if AL then
AL["|cff9d9d9dShow Basic Minimap Button|r"] = true;
AL["Set Minimap Button Position"] = true;
AL["Suppress Item Query Text"] = true;
+ AL["Auto Query items on page load"] = true;
AL["Notify on LoD Module Load"] = true;
AL["Load Loot Modules at Startup"] = true;
AL["Loot Browser Scale: "] = true;
@@ -1446,7 +1447,7 @@ if AL then
AL["Queries the server for all items"] = true;
AL["on this page. The items will be"] = true;
AL["refreshed when you next mouse"] = true;
- AL["over them."] = true;
+ AL["over them. |cffff0000 (Includes Bloodforged)"] = true;
AL["The Minimap Button is generated by the FuBar Plugin."] = true;
AL["This is automatic, you do not need FuBar installed."] = true;
@@ -1457,7 +1458,7 @@ if AL then
AL["How to open the standalone Loot Browser:"] = true;
AL["If you have AtlasLootFu enabled, click the minimap button, or alternatively a button generated by a mod like Titan or FuBar. Finally, you can type '/al' in the chat window."] = true;
AL["How to view an 'unsafe' item:"] = true;
- AL["Unsafe items have a red border around the icon and are marked because you have not seen the item since the last patch or server restart. Right-click the item, then move your mouse back over the item or click the 'Query Server' button at the bottom of the loot page."] = true;
+ AL["Unsafe items have a red border around the icon and are marked because you have not seen the item since the last patch or server restart. Right-click the item, then move your mouse back over the item or click the 'Query Server' button at the bottom of the loot page. This will also load any Bloodforged items."] = true;
AL["How to view an item in the Dressing Room:"] = true;
AL["Simply Ctrl+Left Click on the item. Sometimes the dressing room window is hidden behind the Atlas or AtlasLoot windows, so if nothing seems to happen move your Atlas or AtlasLoot windows and see if anything is hidden."] = true;
AL["How to link an item to someone else:"] = true;
@@ -1470,6 +1471,9 @@ if AL then
AL["If you Left Click any item on the wishlist, you can jump to the loot page the item comes from. Also, on a loot page any item already in your wishlist is marked with a yellow star."] = true;
AL["HELP!! I have broken the mod somehow!"] = true;
AL["Use the reset buttons available in the options menu, or type '/al reset' in your chat window."] = true;
+ AL["How do I view Bloodforged items?"] = true;
+ AL["You must have 'Safe Chat Links' enabled in your options, and the Bloodforged item in your item cache. When viewing a page, click the 'Query Server' button to load the items and Bloodforged equivalents, then right click on an item to display item links for the original and Bloodforged versions in your chat."] = true;
+
-- Error Messages and warnings
AL["AtlasLoot Error!"] = true;