format if statements
This commit is contained in:
+346
-357
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1889,7 +1889,7 @@
|
|||||||
AtlasLootMinimapButton_OnClick(arg1);
|
AtlasLootMinimapButton_OnClick(arg1);
|
||||||
</OnClick>
|
</OnClick>
|
||||||
<OnMouseUp>
|
<OnMouseUp>
|
||||||
if ( arg1 == "MiddleButton" ) then
|
if arg1 == "MiddleButton" then
|
||||||
AtlasLootOptions_Toggle();
|
AtlasLootOptions_Toggle();
|
||||||
end
|
end
|
||||||
</OnMouseUp>
|
</OnMouseUp>
|
||||||
|
|||||||
+10
-10
@@ -285,7 +285,7 @@ function AtlasLootPRE60SetMenu()
|
|||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
local button = _G["AtlasLootMenuItem_" .. i]
|
local button = _G["AtlasLootMenuItem_" .. i]
|
||||||
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
|
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)
|
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
|
||||||
for row = 1, getn(button.container) do
|
for row = 1, getn(button.container) do
|
||||||
for item = 1, getn(button.container[row]) do
|
for item = 1, getn(button.container[row]) do
|
||||||
@@ -385,7 +385,7 @@ function AtlasLootZGSetMenu()
|
|||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
local button = _G["AtlasLootMenuItem_" .. i]
|
local button = _G["AtlasLootMenuItem_" .. i]
|
||||||
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
|
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)
|
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
|
||||||
for row = 1, getn(button.container) do
|
for row = 1, getn(button.container) do
|
||||||
for item = 1, getn(button.container[row]) do
|
for item = 1, getn(button.container[row]) do
|
||||||
@@ -464,7 +464,7 @@ function AtlasLootAQ40SetMenu()
|
|||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
local button = _G["AtlasLootMenuItem_" .. i]
|
local button = _G["AtlasLootMenuItem_" .. i]
|
||||||
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
|
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)
|
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
|
||||||
for row = 1, getn(button.container) do
|
for row = 1, getn(button.container) do
|
||||||
for item = 1, getn(button.container[row]) do
|
for item = 1, getn(button.container[row]) do
|
||||||
@@ -543,7 +543,7 @@ function AtlasLootAQ20SetMenu()
|
|||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
local button = _G["AtlasLootMenuItem_" .. i]
|
local button = _G["AtlasLootMenuItem_" .. i]
|
||||||
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
|
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)
|
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
|
||||||
for row = 1, getn(button.container) do
|
for row = 1, getn(button.container) do
|
||||||
for item = 1, getn(button.container[row]) do
|
for item = 1, getn(button.container[row]) do
|
||||||
@@ -622,7 +622,7 @@ function AtlasLootT0SetMenu()
|
|||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
local button = _G["AtlasLootMenuItem_" .. i]
|
local button = _G["AtlasLootMenuItem_" .. i]
|
||||||
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
|
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)
|
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
|
||||||
for row = 1, getn(button.container) do
|
for row = 1, getn(button.container) do
|
||||||
for item = 1, getn(button.container[row]) do
|
for item = 1, getn(button.container[row]) do
|
||||||
@@ -701,7 +701,7 @@ function AtlasLootT1SetMenu()
|
|||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
local button = _G["AtlasLootMenuItem_" .. i]
|
local button = _G["AtlasLootMenuItem_" .. i]
|
||||||
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
|
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)
|
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
|
||||||
for row = 1, getn(button.container) do
|
for row = 1, getn(button.container) do
|
||||||
for item = 1, getn(button.container[row]) do
|
for item = 1, getn(button.container[row]) do
|
||||||
@@ -780,7 +780,7 @@ function AtlasLootT2SetMenu()
|
|||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
local button = _G["AtlasLootMenuItem_" .. i]
|
local button = _G["AtlasLootMenuItem_" .. i]
|
||||||
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
|
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)
|
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
|
||||||
for row = 1, getn(button.container) do
|
for row = 1, getn(button.container) do
|
||||||
for item = 1, getn(button.container[row]) do
|
for item = 1, getn(button.container[row]) do
|
||||||
@@ -859,7 +859,7 @@ function AtlasLootT3SetMenu()
|
|||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
local button = _G["AtlasLootMenuItem_" .. i]
|
local button = _G["AtlasLootMenuItem_" .. i]
|
||||||
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
|
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)
|
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
|
||||||
for row = 1, getn(button.container) do
|
for row = 1, getn(button.container) do
|
||||||
for item = 1, getn(button.container[row]) do
|
for item = 1, getn(button.container[row]) do
|
||||||
@@ -938,7 +938,7 @@ function AtlasLoot_Kara40SetMenu()
|
|||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
local button = _G["AtlasLootMenuItem_" .. i]
|
local button = _G["AtlasLootMenuItem_" .. i]
|
||||||
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
|
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)
|
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
|
||||||
for row = 1, getn(button.container) do
|
for row = 1, getn(button.container) do
|
||||||
for item = 1, getn(button.container[row]) do
|
for item = 1, getn(button.container[row]) do
|
||||||
@@ -985,7 +985,7 @@ function AtlasLootTMHSetMenu()
|
|||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
local button = _G["AtlasLootMenuItem_" .. i]
|
local button = _G["AtlasLootMenuItem_" .. i]
|
||||||
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
|
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)
|
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
|
||||||
for row = 1, getn(button.container) do
|
for row = 1, getn(button.container) do
|
||||||
for item = 1, getn(button.container[row]) do
|
for item = 1, getn(button.container[row]) do
|
||||||
|
|||||||
Reference in New Issue
Block a user