@@ -0,0 +1,635 @@
local T, C, L = unpack(ShestakUI)
if C.extra_skins.mage_nuggets ~= true then return end

----------------------------------------------------------------------------------------
-- MageNuggets skin /run ShowConfigFrames()
----------------------------------------------------------------------------------------
local MNSkin = CreateFrame("Frame")
MNSkin:RegisterEvent("PLAYER_LOGIN")
MNSkin:SetScript("OnEvent", function()
if not IsAddOnLoaded("MageNuggets") then return end

MageNugz.cautSize = 3
MageNugz.ssMonitorSize = 3
MageNugz.procMonitorSize = 3
MageNugz.livingBCounterSize = 3
MageNugz.polyFrameSize = 3
MageNugz.spMonitorSize = 3
MageNugz.moonkinProcSize = 3
MageNugz.cooldownSize = 3
MageNugz.moonkinSize = 3

local sparks = {
"MageNugMBProcFrame_ProcBarSpark",
"MageNugFoFProcFrame_ProcBarSpark",
"MageNugImpactProcFrame_ProcBarSpark",
"MageNugBFProcFrame_ProcBarSpark",
"MageNugProcFrame_ProcBarSpark",
"MageNugLB1_Frame_BarSpark",
"MageNugLB2_Frame_BarSpark",
"MageNugLB3_Frame_BarSpark",
"MageNugSSProcFrame_ProcBarSpark"
}

for i = 1, getn(sparks) do
local spark = _G[sparks[i]]
if spark then
spark:SetTexture(nil)
end
end

local icons = {
"MNPyromaniac_FrameTexture",
"MNcombust_FrameTexture",
"MNcritMass_FrameTexture",
"MNarcanepower_FrameTexture",
"MageNugMI_FrameTexture1",
"MageNugCauterize_FrameTexture1",
"MageNugMBProcFrameTexture",
"MageNugPolyFrameTexture",
"MageNugFoFProcFrameTexture",
"MageNugImpactProcFrameTexture",
"MageNugBFProcFrameTexture",
"MageNugProcFrameTexture",
"MageNugClearcast_FrameTexture",
"MageNugManaGem_FrameTexture",
"MageNugAB_FrameTexture",
"MageNugIgnite_FrameTexture",
"MageNugLB_FrameTexture",
"MageNugMoonkin_Frame_Texture",
"MNmoonFire_FrameTexture",
"MNinsectSwarm_FrameTexture",
"MNstarSurge_FrameTexture",
"MageNugCastMoonFrameTexture",
"MageNugCastInsectFrameTexture",
"MageNugCastStarsurgeFrameTexture",
"MageNugSSProcFrameTexture"
}

for i = 1, getn(icons) do
local icon = _G[icons[i]]
if icon then
icon:SetTexCoord(0.1, 0.9, 0.1, 0.9)
end
end

local backdrops = {
"MNPyromaniac_Frame",
"MNcombust_Frame",
"MNcritMass_Frame",
"MNarcanepower_Frame",
"MageNugMBProcFrame",
"MageNugPolyFrame",
"MageNugFoFProcFrame",
"MageNugImpactProcFrame",
"MageNugBFProcFrame",
"MageNugProcFrame",
"MageNugCauterizeFrame",
"MNabCast_Frame",
"MageNugLB1_Frame",
"MageNugLB2_Frame",
"MageNugLB3_Frame",
"MageNugCastMoonFrame",
"MageNugCastInsectFrame",
"MageNugCastStarsurgeFrame",
"MageNugSSProcFrame"
}

for i = 1, getn(backdrops) do
local backdrop = _G[backdrops[i]]
if backdrop then
backdrop:SetBackdrop(nil)
end
end

local texts = {
"MNcombust_FrameText",
"MNcritMass_FrameText",
"MNarcanepower_FrameText",
"MageNugMI_Frame_MIText",
"MageNugMI_Frame_MIText1",
"MageNugCauterize_Frame_Text",
"MageNugCauterize_Frame_Text1",
"MageNugMBProcFrameText",
"MageNugMBProcFrameText2",
"MageNugPolyFrameText",
"MageNugPolyFrameTimerText",
"MageNugFoFProcFrameCountText",
"MageNugFoFProcFrameText",
"MageNugFoFProcFrameText2",
"MageNugImpactProcFrameText",
"MageNugImpactProcFrameText2",
"MageNugBFProcFrameText",
"MageNugBFProcFrameText2",
"MageNugProcFrameText",
"MageNugProcFrameText2",
"MageNugClearcast_FrameText",
"MageNugClearcast_FrameText2",
"MageNugManaGem_Frame_Text2",
"MageNugAB_FrameText",
"MageNugAB_FrameText1",
"MageNugAB_FrameText2",
"MNabCast_FrameText",
"MageNugIgnite_FrameText2",
"MageNugLB1_Frame_Text",
"MageNugLB1_Frame_Text2",
"MageNugLB2_Frame_Text",
"MageNugLB2_Frame_Text2",
"MageNugLB3_Frame_Text",
"MageNugLB3_Frame_Text2",
"MageNugSP_FrameText",
"MNSpellSteal_FrameTitleText",
"MNSpellSteal_FrameBuffText",
"MNSpellStealFocus_FrameTitleText",
"MNSpellStealFocus_FrameBuffText",
"MageNugMoonkin_Frame_Text",
"MNmoonFire_FrameText",
"MNinsectSwarm_FrameText",
"MNstarSurge_FrameText",
"MageNugCastMoonFrameText",
"MageNugCastInsectFrameText",
"MageNugCastStarsurgeFrameText",
"MageNugSSProcFrameText",
"MageNugSSProcFrameText2",
"MageNugCD_Frame_Text"
}

for i = 1, getn(texts) do
local text = _G[texts[i]]
if text then
text:SetFont(C.font.stylization_font, C.font.stylization_font_size, C.font.stylization_font_style)
text:SetShadowOffset(C.font.stylization_font_shadow and 1 or 0, C.font.stylization_font_shadow and -1 or 0)
end
end

--MNTorment_Frame
--MNicyveins_Frame

-- MNPyromaniac_Frame
MNPyromaniac_Frame:CreateBackdrop("Default")
MNPyromaniac_Frame.backdrop:Point("TOPLEFT", MNPyromaniac_FrameTexture, -2, 2)
MNPyromaniac_Frame.backdrop:Point("BOTTOMRIGHT", MNPyromaniac_FrameTexture, 2, -2)
MNPyromaniac_Frame:ClearAllPoints()
MNPyromaniac_Frame:Point("BOTTOMLEFT", MageNugSP_Frame, "TOPLEFT", 1, 3)

-- MNcombust_Frame
MNcombust_Frame:CreateBackdrop("Default")
MNcombust_Frame.backdrop:Point("TOPLEFT", MNcombust_FrameTexture, -2, 2)
MNcombust_Frame.backdrop:Point("BOTTOMRIGHT", MNcombust_FrameTexture, 2, -2)
MNcombust_Frame:ClearAllPoints()
MNcombust_Frame:Point("BOTTOMLEFT", MageNugSP_Frame, "TOPLEFT", 23, 3)

MNcombust_FrameText:ClearAllPoints()
MNcombust_FrameText:Point("CENTER", MNcombust_Frame, "CENTER", 0, 0)

-- MNcritMass_Frame
MNcritMass_Frame:CreateBackdrop("Default")
MNcritMass_Frame.backdrop:Point("TOPLEFT", MNcritMass_FrameTexture, -2, 2)
MNcritMass_Frame.backdrop:Point("BOTTOMRIGHT", MNcritMass_FrameTexture, 2, -2)
MNcritMass_Frame:ClearAllPoints()
MNcritMass_Frame:Point("BOTTOMLEFT", MageNugSP_Frame, "TOPLEFT", 45, 3)

MNcritMass_FrameText:ClearAllPoints()
MNcritMass_FrameText:Point("CENTER", MNcritMass_Frame, "CENTER", 0, 0)

-- MNarcanepower_Frame
MNarcanepower_Frame:CreateBackdrop("Default")
MNarcanepower_Frame.backdrop:Point("TOPLEFT", MNarcanepower_FrameTexture, -2, 2)
MNarcanepower_Frame.backdrop:Point("BOTTOMRIGHT", MNarcanepower_FrameTexture, 2, -2)

MNarcanepower_FrameText:ClearAllPoints()
MNarcanepower_FrameText:Point("CENTER", MNarcanepower_Frame, "CENTER", 0, 0)

-- MageNugMI_Frame
MageNugMI_FrameTexture1:Size(21)

MageNugMI_Frame:CreateBackdrop("Default")
MageNugMI_Frame.backdrop:Point("TOPLEFT", MageNugMI_FrameTexture1, -2, 2)
MageNugMI_Frame.backdrop:Point("BOTTOMRIGHT", MageNugMI_FrameTexture1, 2, -2)

MageNugMI_Frame_MiBar:Width(186)
MageNugMI_Frame_MiBar:Height(15)
MageNugMI_Frame_MiBar:SetStatusBarTexture(C.media.texture)
MageNugMI_Frame_MiBar:CreateBackdrop("Default")
MageNugMI_Frame_MiBar.backdrop:Point("TOPLEFT", -2, 2)
MageNugMI_Frame_MiBar.backdrop:Point("BOTTOMRIGHT", 2, -2)
MageNugMI_Frame_MiBar:ClearAllPoints()
MageNugMI_Frame_MiBar:Point("BOTTOMLEFT", MageNugMI_FrameTexture1, "BOTTOMRIGHT", 7, 0)

MageNugMI_Frame_MIText:ClearAllPoints()
MageNugMI_Frame_MIText:Point("LEFT", MageNugMI_Frame_MiBar, "LEFT", 2, 0)

MageNugMI_Frame_MIText1:ClearAllPoints()
MageNugMI_Frame_MIText1:Point("RIGHT", MageNugMI_Frame_MiBar, "RIGHT", 0, 0)

-- MageNugCauterize_Frame
MageNugCauterize_FrameTexture1:Size(21)

MageNugCauterize_Frame:CreateBackdrop("Default")
MageNugCauterize_Frame.backdrop:Point("TOPLEFT", MageNugCauterize_FrameTexture1, -2, 2)
MageNugCauterize_Frame.backdrop:Point("BOTTOMRIGHT", MageNugCauterize_FrameTexture1, 2, -2)

MageNugCauterize_Frame_Bar:Width(186)
MageNugCauterize_Frame_Bar:Height(15)
MageNugCauterize_Frame_Bar:SetStatusBarTexture(C.media.texture)
MageNugCauterize_Frame_Bar:CreateBackdrop("Default")
MageNugCauterize_Frame_Bar.backdrop:Point("TOPLEFT", -2, 2)
MageNugCauterize_Frame_Bar.backdrop:Point("BOTTOMRIGHT", 2, -2)
MageNugCauterize_Frame_Bar:ClearAllPoints()
MageNugCauterize_Frame_Bar:Point("BOTTOMLEFT", MageNugCauterize_FrameTexture1, "BOTTOMRIGHT", 7, 0)

MageNugCauterize_Frame_Text:ClearAllPoints()
MageNugCauterize_Frame_Text:Point("LEFT", MageNugCauterize_Frame_Bar, "LEFT", 2, 0)

MageNugCauterize_Frame_Text1:ClearAllPoints()
MageNugCauterize_Frame_Text1:Point("RIGHT", MageNugCauterize_Frame_Bar, "RIGHT", 0, 0)

-- MageNugMBProcFrame
MageNugMBProcFrameTexture:Size(21)

MageNugMBProcFrame:CreateBackdrop("Default")
MageNugMBProcFrame.backdrop:Point("TOPLEFT", MageNugMBProcFrameTexture, -2, 2)
MageNugMBProcFrame.backdrop:Point("BOTTOMRIGHT", MageNugMBProcFrameTexture, 2, -2)

MageNugMBProcFrame_ProcBar:SetFrameStrata("BACKGROUND")
MageNugMBProcFrame_ProcBar:Width(186)
MageNugMBProcFrame_ProcBar:Height(15)
MageNugMBProcFrame_ProcBar:SetStatusBarTexture(C.media.texture)
MageNugMBProcFrame_ProcBar:CreateBackdrop("Default")
MageNugMBProcFrame_ProcBar.backdrop:Point("TOPLEFT", -2, 2)
MageNugMBProcFrame_ProcBar.backdrop:Point("BOTTOMRIGHT", 2, -2)
MageNugMBProcFrame_ProcBar:ClearAllPoints()
MageNugMBProcFrame_ProcBar:Point("BOTTOMLEFT", MageNugMBProcFrameTexture, "BOTTOMRIGHT", 7, 0)

MageNugMBProcFrameText:ClearAllPoints()
MageNugMBProcFrameText:Point("LEFT", MageNugMBProcFrame_ProcBar, "LEFT", 2, 0)

MageNugMBProcFrameText2:ClearAllPoints()
MageNugMBProcFrameText2:Point("RIGHT", MageNugMBProcFrame_ProcBar, "RIGHT", 0, 0)

-- MageNugPolyFrame
MageNugPolyFrameTexture:Size(21)

MageNugPolyFrame:CreateBackdrop("Default")
MageNugPolyFrame.backdrop:Point("TOPLEFT", MageNugPolyFrameTexture, -2, 2)
MageNugPolyFrame.backdrop:Point("BOTTOMRIGHT", MageNugPolyFrameTexture, 2, -2)

MageNugPolyFrame_Bar:SetFrameStrata("BACKGROUND")
MageNugPolyFrame_Bar:Width(186)
MageNugPolyFrame_Bar:Height(15)
MageNugPolyFrame_Bar:SetStatusBarTexture(C.media.texture)
MageNugPolyFrame_Bar:CreateBackdrop("Default")
MageNugPolyFrame_Bar.backdrop:Point("TOPLEFT", -2, 2)
MageNugPolyFrame_Bar.backdrop:Point("BOTTOMRIGHT", 2, -2)
MageNugPolyFrame_Bar:ClearAllPoints()
MageNugPolyFrame_Bar:Point("BOTTOMLEFT", MageNugPolyFrameTexture, "BOTTOMRIGHT", 7, 0)

MageNugPolyFrameText:ClearAllPoints()
MageNugPolyFrameText:Point("LEFT", MageNugPolyFrame_Bar, "LEFT", 2, 0)

MageNugPolyFrameTimerText:ClearAllPoints()
MageNugPolyFrameTimerText:Point("RIGHT", MageNugPolyFrame_Bar, "RIGHT", 0, 0)

-- MageNugFoFProcFrame
MageNugFoFProcFrameTexture:Size(21)

MageNugFoFProcFrame:CreateBackdrop("Default")
MageNugFoFProcFrame.backdrop:Point("TOPLEFT", MageNugFoFProcFrameTexture, -2, 2)
MageNugFoFProcFrame.backdrop:Point("BOTTOMRIGHT", MageNugFoFProcFrameTexture, 2, -2)

MageNugFoFProcFrame_ProcBar:SetFrameStrata("BACKGROUND")
MageNugFoFProcFrame_ProcBar:Width(186)
MageNugFoFProcFrame_ProcBar:Height(15)
MageNugFoFProcFrame_ProcBar:SetStatusBarTexture(C.media.texture)
MageNugFoFProcFrame_ProcBar:CreateBackdrop("Default")
MageNugFoFProcFrame_ProcBar.backdrop:Point("TOPLEFT", -2, 2)
MageNugFoFProcFrame_ProcBar.backdrop:Point("BOTTOMRIGHT", 2, -2)
MageNugFoFProcFrame_ProcBar:ClearAllPoints()
MageNugFoFProcFrame_ProcBar:Point("BOTTOMLEFT", MageNugFoFProcFrameTexture, "BOTTOMRIGHT", 7, 0)

MageNugFoFProcFrameCountText:ClearAllPoints()
MageNugFoFProcFrameCountText:Point("BOTTOMRIGHT", MageNugFoFProcFrameTexture, "BOTTOMRIGHT", -2, 2)

MageNugFoFProcFrameText:ClearAllPoints()
MageNugFoFProcFrameText:Point("LEFT", MageNugFoFProcFrame_ProcBar, "LEFT", 2, 0)

MageNugFoFProcFrameText2:ClearAllPoints()
MageNugFoFProcFrameText2:Point("RIGHT", MageNugFoFProcFrame_ProcBar, "RIGHT", 0, 0)

-- MageNugImpactProcFrame
MageNugImpactProcFrameTexture:Size(21)

MageNugImpactProcFrame:CreateBackdrop("Default")
MageNugImpactProcFrame.backdrop:Point("TOPLEFT", MageNugImpactProcFrameTexture, -2, 2)
MageNugImpactProcFrame.backdrop:Point("BOTTOMRIGHT", MageNugImpactProcFrameTexture, 2, -2)

MageNugImpactProcFrame_ProcBar:SetFrameStrata("BACKGROUND")
MageNugImpactProcFrame_ProcBar:Width(186)
MageNugImpactProcFrame_ProcBar:Height(15)
MageNugImpactProcFrame_ProcBar:SetStatusBarTexture(C.media.texture)
MageNugImpactProcFrame_ProcBar:CreateBackdrop("Default")
MageNugImpactProcFrame_ProcBar.backdrop:Point("TOPLEFT", -2, 2)
MageNugImpactProcFrame_ProcBar.backdrop:Point("BOTTOMRIGHT", 2, -2)
MageNugImpactProcFrame_ProcBar:ClearAllPoints()
MageNugImpactProcFrame_ProcBar:Point("BOTTOMLEFT", MageNugImpactProcFrameTexture, "BOTTOMRIGHT", 7, 0)

MageNugImpactProcFrameText:ClearAllPoints()
MageNugImpactProcFrameText:Point("LEFT", MageNugImpactProcFrame_ProcBar, "LEFT", 2, 0)

MageNugImpactProcFrameText2:ClearAllPoints()
MageNugImpactProcFrameText2:Point("RIGHT", MageNugImpactProcFrame_ProcBar, "RIGHT", 0, 0)

-- MageNugBFProcFrame
MageNugBFProcFrameTexture:Size(21)

MageNugBFProcFrame:CreateBackdrop("Default")
MageNugBFProcFrame.backdrop:Point("TOPLEFT", MageNugBFProcFrameTexture, -2, 2)
MageNugBFProcFrame.backdrop:Point("BOTTOMRIGHT", MageNugBFProcFrameTexture, 2, -2)

MageNugBFProcFrame_ProcBar:SetFrameStrata("BACKGROUND")
MageNugBFProcFrame_ProcBar:Width(186)
MageNugBFProcFrame_ProcBar:Height(15)
MageNugBFProcFrame_ProcBar:SetStatusBarTexture(C.media.texture)
MageNugBFProcFrame_ProcBar:CreateBackdrop("Default")
MageNugBFProcFrame_ProcBar.backdrop:Point("TOPLEFT", -2, 2)
MageNugBFProcFrame_ProcBar.backdrop:Point("BOTTOMRIGHT", 2, -2)
MageNugBFProcFrame_ProcBar:ClearAllPoints()
MageNugBFProcFrame_ProcBar:Point("BOTTOMLEFT", MageNugBFProcFrameTexture, "BOTTOMRIGHT", 7, 0)

MageNugBFProcFrameText:ClearAllPoints()
MageNugBFProcFrameText:Point("LEFT", MageNugBFProcFrame_ProcBar, "LEFT", 2, 0)

MageNugBFProcFrameText2:ClearAllPoints()
MageNugBFProcFrameText2:Point("RIGHT", MageNugBFProcFrame_ProcBar, "RIGHT", 0, 0)

-- MageNugProcFrame
MageNugProcFrameTexture:Size(21)

MageNugProcFrame:CreateBackdrop("Default")
MageNugProcFrame.backdrop:Point("TOPLEFT", MageNugProcFrameTexture, -2, 2)
MageNugProcFrame.backdrop:Point("BOTTOMRIGHT", MageNugProcFrameTexture, 2, -2)

MageNugProcFrame_ProcBar:SetFrameStrata("BACKGROUND")
MageNugProcFrame_ProcBar:Width(186)
MageNugProcFrame_ProcBar:Height(15)
MageNugProcFrame_ProcBar:SetStatusBarTexture(C.media.texture)
MageNugProcFrame_ProcBar:CreateBackdrop("Default")
MageNugProcFrame_ProcBar.backdrop:Point("TOPLEFT", -2, 2)
MageNugProcFrame_ProcBar.backdrop:Point("BOTTOMRIGHT", 2, -2)
MageNugProcFrame_ProcBar:ClearAllPoints()
MageNugProcFrame_ProcBar:Point("BOTTOMLEFT", MageNugProcFrameTexture, "BOTTOMRIGHT", 7, 0)

MageNugProcFrameText:ClearAllPoints()
MageNugProcFrameText:Point("LEFT", MageNugProcFrame_ProcBar, "LEFT", 2, 0)

MageNugProcFrameText2:ClearAllPoints()
MageNugProcFrameText2:Point("RIGHT", MageNugProcFrame_ProcBar, "RIGHT", 0, 0)

-- MageNugCauterizeFrame
MageNugCauterizeFrame:CreateBackdrop("Transparent")
MageNugCauterizeFrame.backdrop:Point("TOPLEFT", MageNugCauterizeFrame, -2, -3)
MageNugCauterizeFrame.backdrop:Point("BOTTOMRIGHT", MageNugCauterizeFrame, 2, 3)

for i = 1, MageNugCauterizeFrame:GetNumRegions() do
local region = select(i, MageNugCauterizeFrame:GetRegions())
if region:GetObjectType() == "Texture" then
region:Size(30)
region:SetTexCoord(0.1, 0.9, 0.1, 0.9)
end
if region:GetObjectType() == "FontString" then
region:SetFont(C.font.stylization_font, C.font.stylization_font_size, C.font.stylization_font_style)
region:SetShadowOffset(C.font.stylization_font_shadow and 1 or 0, C.font.stylization_font_shadow and -1 or 0)
end
end

-- MageNugClearcast_Frame
MageNugClearcast_Frame:SetTemplate("Default")

MageNugClearcast_FrameTexture:SetDrawLayer("ARTWORK")
MageNugClearcast_FrameTexture:ClearAllPoints()
MageNugClearcast_FrameTexture:Point("TOPLEFT", 2, -2)
MageNugClearcast_FrameTexture:Point("BOTTOMRIGHT", -2, 2)

MageNugClearcast_Frame_Bar:SetStatusBarTexture(C.media.texture)

-- MageNugManaGem_Frame
MageNugManaGem_Frame:SetTemplate("Default")

MageNugManaGem_FrameTexture:SetDrawLayer("ARTWORK")
MageNugManaGem_FrameTexture:ClearAllPoints()
MageNugManaGem_FrameTexture:Point("TOPLEFT", 2, -2)
MageNugManaGem_FrameTexture:Point("BOTTOMRIGHT", -2, 2)

MageNugManaGem_Frame_Bar:SetStatusBarTexture(C.media.texture)

MageNugManaGem_Frame_Text:SetFont(C.font.stylization_font, C.font.stylization_font_size * 2, C.font.stylization_font_style)
MageNugManaGem_Frame_Text:SetShadowOffset(C.font.stylization_font_shadow and 1 or 0, C.font.stylization_font_shadow and -1 or 0)
MageNugManaGem_Frame_Text:ClearAllPoints()
MageNugManaGem_Frame_Text:Point("CENTER", MageNugManaGem_Frame, "CENTER", 0, 0)

-- MageNugAB_Frame
MageNugAB_Frame:SetTemplate("Default")

MageNugAB_FrameTexture:SetDrawLayer("ARTWORK")
MageNugAB_FrameTexture:ClearAllPoints()
MageNugAB_FrameTexture:Point("TOPLEFT", 2, -2)
MageNugAB_FrameTexture:Point("BOTTOMRIGHT", -2, 2)

MageNugAB_Frame_ABBar:SetStatusBarTexture(C.media.texture)

-- MageNugIgnite_Frame
MageNugIgnite_Frame:SetTemplate("Default")

MageNugIgnite_FrameTexture:SetDrawLayer("ARTWORK")
MageNugIgnite_FrameTexture:ClearAllPoints()
MageNugIgnite_FrameTexture:Point("TOPLEFT", 2, -2)
MageNugIgnite_FrameTexture:Point("BOTTOMRIGHT", -2, 2)

MageNugIgnite_Frame_Bar:SetStatusBarTexture(C.media.texture)

MageNugIgnite_FrameText:SetFont(C.font.stylization_font, C.font.stylization_font_size * 2, C.font.stylization_font_style)
MageNugIgnite_FrameText:SetShadowOffset(C.font.stylization_font_shadow and 1 or 0, C.font.stylization_font_shadow and -1 or 0)
MageNugIgnite_FrameText:ClearAllPoints()
MageNugIgnite_FrameText:Point("CENTER", MageNugIgnite_Frame, "CENTER", 0, 0)

-- MageNugLB_Frame
MageNugLB_Frame:SetTemplate("Default")

MageNugLB_FrameTexture:SetDrawLayer("ARTWORK")
MageNugLB_FrameTexture:ClearAllPoints()
MageNugLB_FrameTexture:Point("TOPLEFT", 2, -2)
MageNugLB_FrameTexture:Point("BOTTOMRIGHT", -2, 2)

MageNugLB_Frame_Text:SetFont(C.font.stylization_font, C.font.stylization_font_size * 2, C.font.stylization_font_style)
MageNugLB_Frame_Text:SetShadowOffset(C.font.stylization_font_shadow and 1 or 0, C.font.stylization_font_shadow and -1 or 0)
MageNugLB_Frame_Text:ClearAllPoints()
MageNugLB_Frame_Text:Point("CENTER", MageNugLB_Frame, "CENTER", 0, 0)

-- MageNugLB1_Frame
MageNugLB1_Frame:SetFrameStrata("BACKGROUND")
MageNugLB1_Frame:CreateBackdrop("Default")
MageNugLB1_Frame.backdrop:Point("TOPLEFT", MageNugLB1_Frame, -2, 2)
MageNugLB1_Frame.backdrop:Point("BOTTOMRIGHT", MageNugLB1_Frame, 2, -1)
MageNugLB1_Frame:ClearAllPoints()
MageNugLB1_Frame:Point("BOTTOMLEFT", MageNugLB_Frame, "BOTTOMRIGHT", 5, 1)

MageNugLB1_Frame_Bar:SetStatusBarTexture(C.media.texture)

MageNugLB1_Frame_Text:SetParent(MageNugLB1_Frame_Bar)
MageNugLB1_Frame_Text:ClearAllPoints()
MageNugLB1_Frame_Text:Point("RIGHT", MageNugLB1_Frame, "RIGHT", 0, 0)

MageNugLB1_Frame_Text2:SetParent(MageNugLB1_Frame_Bar)
MageNugLB1_Frame_Text2:ClearAllPoints()
MageNugLB1_Frame_Text2:Point("LEFT", MageNugLB1_Frame, "LEFT", 2, 0)

-- MageNugLB2_Frame
MageNugLB2_Frame:SetFrameStrata("BACKGROUND")
MageNugLB2_Frame:CreateBackdrop("Default")
MageNugLB2_Frame.backdrop:Point("TOPLEFT", MageNugLB2_Frame, -2, 2)
MageNugLB2_Frame.backdrop:Point("BOTTOMRIGHT", MageNugLB2_Frame, 2, -1)
MageNugLB2_Frame:ClearAllPoints()
MageNugLB2_Frame:Point("BOTTOM", MageNugLB1_Frame, "TOP", 0, 6)

MageNugLB2_Frame_Bar:SetStatusBarTexture(C.media.texture)

MageNugLB2_Frame_Text:SetParent(MageNugLB2_Frame_Bar)
MageNugLB2_Frame_Text:ClearAllPoints()
MageNugLB2_Frame_Text:Point("RIGHT", MageNugLB2_Frame, "RIGHT", 0, 0)

MageNugLB2_Frame_Text2:SetParent(MageNugLB2_Frame_Bar)
MageNugLB2_Frame_Text2:ClearAllPoints()
MageNugLB2_Frame_Text2:Point("LEFT", MageNugLB2_Frame, "LEFT", 2, 0)

-- MageNugLB3_Frame
MageNugLB3_Frame:SetFrameStrata("BACKGROUND")
MageNugLB3_Frame:CreateBackdrop("Default")
MageNugLB3_Frame.backdrop:Point("TOPLEFT", MageNugLB3_Frame, -2, 2)
MageNugLB3_Frame.backdrop:Point("BOTTOMRIGHT", MageNugLB3_Frame, 2, -1)
MageNugLB3_Frame:ClearAllPoints()
MageNugLB3_Frame:Point("BOTTOM", MageNugLB2_Frame, "TOP", 0, 6)

MageNugLB3_Frame_Bar:SetStatusBarTexture(C.media.texture)

MageNugLB3_Frame_Text:SetParent(MageNugLB3_Frame_Bar)
MageNugLB3_Frame_Text:ClearAllPoints()
MageNugLB3_Frame_Text:Point("RIGHT", MageNugLB3_Frame, "RIGHT", 0, 0)

MageNugLB3_Frame_Text2:SetParent(MageNugLB3_Frame_Bar)
MageNugLB3_Frame_Text2:ClearAllPoints()
MageNugLB3_Frame_Text2:Point("LEFT", MageNugLB3_Frame, "LEFT", 2, 0)

-- MageNugSP_Frame
MageNugSP_Frame:SetTemplate("Transparent")

-- MNSpellSteal_Frame
MNSpellSteal_Frame:SetTemplate("Transparent")

-- MNSpellStealFocus_Frame
MNSpellStealFocus_Frame:SetTemplate("Transparent")

-- MageNugMoonkin_Frame
MageNugMoonkin_Frame:CreateBackdrop("Default")
MageNugMoonkin_Frame.backdrop:Point("TOPLEFT", MageNugMoonkin_Frame_Texture, -2, 2)
MageNugMoonkin_Frame.backdrop:Point("BOTTOMRIGHT", MageNugMoonkin_Frame_Texture, 2, -2)

MageNugMoonkin_Frame_Bar:SetStatusBarTexture(C.media.texture)
MageNugMoonkin_Frame_Bar:CreateBackdrop("Default")
MageNugMoonkin_Frame_Bar.backdrop:Point("TOPLEFT", -2, 2)
MageNugMoonkin_Frame_Bar.backdrop:Point("BOTTOMRIGHT", 2, -2)
MageNugMoonkin_Frame_Bar:ClearAllPoints()
MageNugMoonkin_Frame_Bar:Point("BOTTOMLEFT", MageNugMoonkin_Frame_Texture, "BOTTOMRIGHT", 7, 0)
MageNugMoonkin_Frame_Bar:SetSize(80, 15)

-- MNmoonFire_Frame
MNmoonFire_Frame:SetTemplate("Default")
MNmoonFire_Frame:ClearAllPoints()
MNmoonFire_Frame:Point("BOTTOMLEFT", MageNugMoonkin_Frame_Bar, "TOPLEFT", -2, 5)

MNmoonFire_FrameTexture:ClearAllPoints()
MNmoonFire_FrameTexture:Point("TOPLEFT", 2, -2)
MNmoonFire_FrameTexture:Point("BOTTOMRIGHT", -2, 2)

MNmoonFire_FrameText:ClearAllPoints()
MNmoonFire_FrameText:Point("CENTER", MNmoonFire_Frame, 0, 0)

-- MNinsectSwarm_Frame
MNinsectSwarm_Frame:SetTemplate("Default")
MNinsectSwarm_Frame:ClearAllPoints()
MNinsectSwarm_Frame:Point("LEFT", MNmoonFire_Frame, "RIGHT", 3, 0)

MNinsectSwarm_FrameTexture:ClearAllPoints()
MNinsectSwarm_FrameTexture:Point("TOPLEFT", 2, -2)
MNinsectSwarm_FrameTexture:Point("BOTTOMRIGHT", -2, 2)

MNinsectSwarm_FrameText:ClearAllPoints()
MNinsectSwarm_FrameText:Point("CENTER", MNinsectSwarm_Frame, 0, 0)

-- MNstarSurge_Frame
MNstarSurge_Frame:SetTemplate("Default")
MNstarSurge_Frame:ClearAllPoints()
MNstarSurge_Frame:Point("LEFT", MNinsectSwarm_Frame, "RIGHT", 3, 0)

MNstarSurge_FrameTexture:ClearAllPoints()
MNstarSurge_FrameTexture:Point("TOPLEFT", 2, -2)
MNstarSurge_FrameTexture:Point("BOTTOMRIGHT", -2, 2)

MNstarSurge_FrameText:ClearAllPoints()
MNstarSurge_FrameText:Point("CENTER", MNstarSurge_Frame, 0, 0)

-- MageNugCastMoonFrame
MageNugCastMoonFrame:CreateBackdrop("Default")
MageNugCastMoonFrame.backdrop:Point("TOPLEFT", MageNugCastMoonFrameTexture, -2, 2)
MageNugCastMoonFrame.backdrop:Point("BOTTOMRIGHT", MageNugCastMoonFrameTexture, 2, -2)

-- MageNugCastInsectFrame
MageNugCastInsectFrame:CreateBackdrop("Default")
MageNugCastInsectFrame.backdrop:Point("TOPLEFT", MageNugCastInsectFrameTexture, -2, 2)
MageNugCastInsectFrame.backdrop:Point("BOTTOMRIGHT", MageNugCastInsectFrameTexture, 2, -2)

-- MageNugCastStarsurgeFrame
MageNugCastStarsurgeFrame:CreateBackdrop("Default")
MageNugCastStarsurgeFrame.backdrop:Point("TOPLEFT", MageNugCastStarsurgeFrameTexture, -2, 2)
MageNugCastStarsurgeFrame.backdrop:Point("BOTTOMRIGHT", MageNugCastStarsurgeFrameTexture, 2, -2)

-- MageNugSSProcFrame
MageNugSSProcFrameTexture:Size(21)

MageNugSSProcFrame:CreateBackdrop("Default")
MageNugSSProcFrame.backdrop:Point("TOPLEFT", MageNugSSProcFrameTexture, -2, 2)
MageNugSSProcFrame.backdrop:Point("BOTTOMRIGHT", MageNugSSProcFrameTexture, 2, -2)

MageNugSSProcFrame_ProcBar:SetFrameStrata("BACKGROUND")
MageNugSSProcFrame_ProcBar:Width(186)
MageNugSSProcFrame_ProcBar:Height(15)
MageNugSSProcFrame_ProcBar:SetStatusBarTexture(C.media.texture)
MageNugSSProcFrame_ProcBar:CreateBackdrop("Default")
MageNugSSProcFrame_ProcBar.backdrop:Point("TOPLEFT", -2, 2)
MageNugSSProcFrame_ProcBar.backdrop:Point("BOTTOMRIGHT", 2, -2)
MageNugSSProcFrame_ProcBar:ClearAllPoints()
MageNugSSProcFrame_ProcBar:Point("BOTTOMLEFT", MageNugSSProcFrameTexture, "BOTTOMRIGHT", 7, 0)

MageNugSSProcFrameText:ClearAllPoints()
MageNugSSProcFrameText:Point("LEFT", MageNugSSProcFrame_ProcBar, "LEFT", 2, 0)

MageNugSSProcFrameText2:ClearAllPoints()
MageNugSSProcFrameText2:Point("RIGHT", MageNugSSProcFrame_ProcBar, "RIGHT", 0, 0)

-- MageNugWE_Frame
--MageNugWE_FrameTexture1
--MageNugWE_Frame_MIText
--MageNugWE_Frame_WEText1
--MageNugWE_Frame_WeBar

-- MageNugCD1_Frame
--_Texture
--_Text
--_Text2
--_Bar

-- MageNugCD2_Frame
-- MageNugCD3_Frame
-- MageNugCD4_Frame
-- MageNugCD5_Frame
-- MageNugCD6_Frame
end)
@@ -53,6 +53,7 @@
<Script file="Modules\Skins\Dominos.lua"/>
<Script file="Modules\Skins\EPGP.lua"/>
<Script file="Modules\Skins\FaceShooter.lua"/>
<Script file="Modules\Skins\MageNuggets.lua"/>
<Script file="Modules\Skins\MFClip.lua"/>
<Script file="Modules\Skins\NPCScan.lua"/>
<Script file="Modules\Skins\NugRunning.lua"/>