From 26babdb5cebb9263c261c7c8c37c7f68f1696780 Mon Sep 17 00:00:00 2001
From: Spit <19otari98@gmail.com>
Date: Wed, 1 Oct 2025 16:00:08 +0300
Subject: [PATCH] format
---
Core/AtlasLoot.lua | 8 +-
Core/AtlasLoot.xml | 1032 +++++++++++++++++---------------------------
2 files changed, 399 insertions(+), 641 deletions(-)
diff --git a/Core/AtlasLoot.lua b/Core/AtlasLoot.lua
index 0b40458..3997c43 100644
--- a/Core/AtlasLoot.lua
+++ b/Core/AtlasLoot.lua
@@ -186,15 +186,15 @@ function AtlasLoot_OnVariablesLoaded()
Hooked_AtlasScrollBar_Update = AtlasScrollBar_Update;
AtlasScrollBar_Update = AtlasLoot_AtlasScrollBar_Update;
-- Disable options that don't have the supporting mods
- if ( not LootLink_SetTooltip and (AtlasLootCharDB.LootlinkTT == true ) ) then
+ if ( not LootLink_SetTooltip and (AtlasLootCharDB.LootlinkTT == true ) ) then
AtlasLootCharDB.LootlinkTT = false;
AtlasLootCharDB.DefaultTT = true;
end
- if ( not ItemSync and (AtlasLootCharDB.ItemSyncTT == true) ) then
+ if ( not ItemSync and (AtlasLootCharDB.ItemSyncTT == true) ) then
AtlasLootCharDB.ItemSyncTT = false;
AtlasLootCharDB.DefaultTT = true;
end
- if ( (not IsAddOnLoaded("EQCompare") and not IsAddOnLoaded("EquipCompare")) and (AtlasLootCharDB.EquipCompare == true) ) then
+ if ( (not IsAddOnLoaded("EQCompare") and not IsAddOnLoaded("EquipCompare")) and (AtlasLootCharDB.EquipCompare == true) ) then
AtlasLootCharDB.EquipCompare = false;
end
-- If using an opaque items frame, change the alpha value of the backing texture
@@ -538,7 +538,7 @@ function AtlasLoot_Refresh()
end
-- Setup info panel above boss listing
local tName = base.ZoneName[1];
- if ( AtlasOptions.AtlasAcronyms and base.Acronym ) then
+ if ( AtlasOptions.AtlasAcronyms and base.Acronym ) then
local _RED = "|cffcc6666";
tName = tName.._RED.." ["..base.Acronym.."]";
end
diff --git a/Core/AtlasLoot.xml b/Core/AtlasLoot.xml
index 9ee3cfd..d7edf94 100644
--- a/Core/AtlasLoot.xml
+++ b/Core/AtlasLoot.xml
@@ -2,43 +2,25 @@
-
-
-
+
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
-
-
-
-
+
+
-
-
+
+
@@ -220,9 +174,7 @@
-
-
-
+
-
-
-
+
-
-
-
+
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
this:SetText(AL["AL Panel"]);
@@ -881,11 +719,7 @@
-
-
-
-
-
+
@@ -898,7 +732,7 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["AtlasLoot"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
@@ -906,24 +740,16 @@
-
-
-
-
-
-
-
+
+
+
-
-
-
+
-
-
-
+
@@ -932,9 +758,7 @@
-
-
-
+
@@ -942,9 +766,7 @@
-
-
-
+
@@ -952,229 +774,325 @@
AtlasLootItemsFrame_OnCloseButton();
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
-
-
-
-
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
-
-
-
-
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
-
-
-
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
-
-
-
-
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
-
-
-
+
+
-
-
-
-
+
+
@@ -1183,26 +1101,22 @@
CloseDropDownMenus();
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
-
-
-
+
-
-
-
-
+
+
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["Query Server"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
@@ -1226,14 +1140,10 @@
-
-
-
+
-
-
-
-
+
+
@@ -1242,7 +1152,7 @@
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
if (AtlasLootItemsFrame.refresh) and ((AtlasLootItemsFrame.refresh[1] == "SearchResult") or (AtlasLootItemsFrame.refresh[1] == "WishList")) then
this:Disable();
else
@@ -1257,9 +1167,7 @@
-
-
-
+
@@ -1268,31 +1176,21 @@
CloseDropDownMenus();
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
@@ -1300,30 +1198,24 @@
-
-
+
+
-
-
-
+
-
+
-
-
-
+
-
-
-
-
+
+
@@ -1353,44 +1245,28 @@
-
-
-
+
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
-
-
-
+
-
-
-
-
-
+
@@ -1399,9 +1275,7 @@
-
-
-
+
@@ -1417,9 +1291,7 @@
-
-
-
+
@@ -1435,9 +1307,7 @@
-
-
-
+
@@ -1453,9 +1323,7 @@
-
-
-
+
@@ -1471,9 +1339,7 @@
-
-
-
+
@@ -1489,9 +1355,7 @@
-
-
-
+
@@ -1507,9 +1371,7 @@
-
-
-
+
@@ -1525,9 +1387,7 @@
-
-
-
+
@@ -1543,9 +1403,7 @@
-
-
-
+
@@ -1561,9 +1419,7 @@
-
-
-
+
@@ -1584,9 +1440,7 @@
-
-
-
+
@@ -1616,9 +1470,7 @@
-
-
-
+
@@ -1634,9 +1486,7 @@
-
-
-
+
@@ -1650,14 +1500,10 @@
-
-
-
+
-
-
-
+
@@ -1674,14 +1520,10 @@
-
-
-
+
-
-
-
+
@@ -1698,14 +1540,10 @@
-
-
-
+
-
-
-
+
@@ -1719,14 +1557,10 @@
-
-
-
+
-
-
-
+
@@ -1740,14 +1574,10 @@
-
-
-
+
-
-
-
+
@@ -1778,40 +1608,26 @@
-
-
-
+
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
-
-
-
-
+
+
-
-
-
+
@@ -1821,9 +1637,7 @@
-
-
-
+
@@ -1835,17 +1649,13 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["World Events"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
-
-
-
-
-
+
@@ -1856,17 +1666,13 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["Collections"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
-
-
-
-
-
+
@@ -1877,17 +1683,13 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["Factions"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
-
-
-
-
-
+
@@ -1898,17 +1700,13 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["PvP Rewards"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
-
-
-
-
-
+
@@ -1919,16 +1717,14 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["Crafting"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
-
-
-
+
@@ -1938,16 +1734,14 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["Options"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
-
-
-
+
@@ -1957,7 +1751,7 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["WishList"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
@@ -1977,9 +1771,7 @@
-
-
-
+
@@ -2000,9 +1792,7 @@
-
-
-
+
@@ -2023,9 +1813,7 @@
-
-
-
+
@@ -2046,9 +1834,7 @@
-
-
-
+
@@ -2083,21 +1869,15 @@
-
-
-
+
-
-
-
-
-
+
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["Search"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
AtlasLoot:Search(AtlasLootSearchBox:GetText());
@@ -2106,14 +1886,10 @@
-
-
-
+
-
-
-
+
@@ -2122,7 +1898,7 @@
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
AtlasLoot:ShowSearchOptions(this);
@@ -2130,21 +1906,17 @@
-
-
-
+
-
-
-
+
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["Clear"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
AtlasLootSearchBox:SetText("");
@@ -2154,17 +1926,13 @@
-
-
-
-
-
+
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
this:SetText(AL["Last Result"]);
- this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
+ this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1);
AtlasLoot:ShowSearchResult();
@@ -2175,28 +1943,18 @@
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
-
-
+
@@ -2213,7 +1971,7 @@
this.aldragme = false;
- if(this.aldragme == true) then
+ if (this.aldragme == true) then
AtlasLootMinimapButton_BeingDragged();
end