format if statements

This commit is contained in:
Spit
2026-07-02 08:48:32 +03:00
parent 37d86fc689
commit 836409583a
3 changed files with 357 additions and 368 deletions
+346 -357
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1889,7 +1889,7 @@
AtlasLootMinimapButton_OnClick(arg1);
</OnClick>
<OnMouseUp>
if ( arg1 == "MiddleButton" ) then
if arg1 == "MiddleButton" then
AtlasLootOptions_Toggle();
end
</OnMouseUp>
+10 -10
View File
@@ -285,7 +285,7 @@ function AtlasLootPRE60SetMenu()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_" .. i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if ( type(button.container) == "table" ) then
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
@@ -385,7 +385,7 @@ function AtlasLootZGSetMenu()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_" .. i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if ( type(button.container) == "table" ) then
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
@@ -464,7 +464,7 @@ function AtlasLootAQ40SetMenu()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_" .. i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if ( type(button.container) == "table" ) then
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
@@ -543,7 +543,7 @@ function AtlasLootAQ20SetMenu()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_" .. i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if ( type(button.container) == "table" ) then
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
@@ -622,7 +622,7 @@ function AtlasLootT0SetMenu()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_" .. i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if ( type(button.container) == "table" ) then
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
@@ -701,7 +701,7 @@ function AtlasLootT1SetMenu()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_" .. i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if ( type(button.container) == "table" ) then
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
@@ -780,7 +780,7 @@ function AtlasLootT2SetMenu()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_" .. i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if ( type(button.container) == "table" ) then
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
@@ -859,7 +859,7 @@ function AtlasLootT3SetMenu()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_" .. i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if ( type(button.container) == "table" ) then
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
@@ -938,7 +938,7 @@ function AtlasLoot_Kara40SetMenu()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_" .. i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if ( type(button.container) == "table" ) then
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
@@ -985,7 +985,7 @@ function AtlasLootTMHSetMenu()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_" .. i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if ( type(button.container) == "table" ) then
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do