--[[ This file is part of 'Masque: Squat', an add-on for World of Warcraft. For license information, please see the included License.txt file or visit https://github.com/dlecina/Masque_Squat. * File...: Skins.lua * Author.: dlecina Squat Skin ]] -- GLOBALS: GetAddOnMetadata, LibStub local MSQ = LibStub and LibStub("Masque", true) if not MSQ then return end local AddOn, Core = ... ---------------------------------------- -- Locals --- -- Locale local L = Core.Locale -- Skin Info local Version = GetAddOnMetadata(AddOn, "Version") local Websites = { "https://github.com/dlecina/Masque_Squat", "https://www.wowace.com/projects/masque-squat", "https://www.curseforge.com/wow/addons/masque-squat", "https://www.wowinterface.com/downloads/infoXXXX", } ---------------------------------------- -- Squat --- MSQ:AddSkin("Squat", { Shape = "Square", Masque_Version = 90000, -- Info Description = L["A nice and short skin for Masque."], Version = Version, Author = "dlecina", Websites = Websites, -- Skin -- Mask = nil, Backdrop = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Backdrop-Action]], TexCoords = {0.07,0.93,0.2,0.8}, Color = {1, 1, 1, 1}, BlendMode = "BLEND", DrawLayer = "BACKGROUND", DrawLevel = -1, Width = 37, Height = 28, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- UseColor = nil, -- SetAllPoints = nil, Item = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Backdrop-Item]], TexCoords = {0.07,0.93,0.2,0.8}, Color = {1, 1, 1, 1}, BlendMode = "BLEND", DrawLayer = "BACKGROUND", DrawLevel = -1, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- UseColor = nil, -- SetAllPoints = nil, }, Pet = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Backdrop-Pet]], TexCoords = {0.07,0.93,0.2,0.8}, Color = {1, 1, 1, 1}, BlendMode = "BLEND", DrawLayer = "BACKGROUND", DrawLevel = -1, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- UseColor = nil, -- SetAllPoints = nil, }, }, Icon = { TexCoords = {0.07,0.93,0.2,0.8}, DrawLayer = "BACKGROUND", DrawLevel = 0, Width = 37, Height = 28, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, Shadow = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Shadow]], -- TexCoords = {0, 1, 0, 1}, Color = {0, 0, 0, 0.5}, BlendMode = "BLEND", DrawLayer = "ARTWORK", DrawLevel = -1, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, Normal = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Normal]], -- TexCoords = {0, 1, 0, 1}, Color = {0, 0, 0, 1}, -- EmptyTexture = [[Interface\AddOns\Masque_Squat\Textures\Normal]], -- EmptyCoords = {0, 1, 0, 1}, -- EmptyColor = {1, 0.3, 0.3, 0.5}, BlendMode = "BLEND", DrawLayer = "ARTWORK", DrawLevel = 0, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- UseStates = nil, -- SetAllPoints = nil, }, -- Disabled = Default.Disabled, Pushed = { -- Texture = [[Interface\Buttons\UI-Quickslot-Depress]], -- TexCoords = {0, 1, 0, 1}, Color = {0, 0, 0, 0.5}, BlendMode = "BLEND", DrawLayer = "BORDER", DrawLevel = 1, Width = 37, Height = 28, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, UseColor = true, -- SetAllPoints = nil, }, Flash = { -- Texture = [[Interface\Buttons\UI-QuickslotRed]], -- TexCoords = {0, 1, 0, 1}, Color = {1, 0, 0, 0.4}, BlendMode = "ADD", DrawLayer = "BORDER", DrawLevel = 0, Width = 37, Height = 28, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, UseColor = true, -- SetAllPoints = nil, }, HotKey = { JustifyH = "CENTER", JustifyV = "MIDDLE", DrawLayer = "ARTWORK", Width = 42, Height = 10, Point = "BOTTOM", RelPoint = "BOTTOM", OffsetX = 0, OffsetY = 6, }, Count = { JustifyH = "RIGHT", JustifyV = "MIDDLE", DrawLayer = "ARTWORK", Width = 42, Height = 10, Point = "TOPRIGHT", RelPoint = "TOPRIGHT", OffsetX = -1, OffsetY = -6, }, Duration = { JustifyH = "CENTER", JustifyV = "MIDDLE", DrawLayer = "ARTWORK", Width = 42, Height = 10, Point = "TOP", RelPoint = "BOTTOM", OffsetX = 0, OffsetY = -6, }, Checked = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Border]], -- TexCoords = {0, 1, 0, 1}, Color = {0, 0.7, 0.9, 0.7}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 0, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, Border = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Border]], -- TexCoords = {0, 1, 0, 1}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 0, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, Enchant = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Border]], -- TexCoords = {0, 1, 0, 1}, Color = {0.6, 0.2, 0.9, 1}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 0, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, }, IconBorder = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Border]], -- RelicTexture = [[Interface\AddOns\Masque_Squat\Textures\Border]], -- TexCoords = {0, 1, 0, 1}, -- Color = {1, 1, 1, 1}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 0, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, SlotHighlight = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Border]], -- TexCoords = {0, 1, 0, 1}, Color = {0, 0.7, 0.9, 0.7}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 0, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, Gloss = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Gloss]], -- TexCoords = {0, 1, 0, 1}, Color = {1, 1, 1, 0.5}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 0, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, IconOverlay = { -- Atlas = "AzeriteIconFrame", -- Color = {1, 1, 1, 1}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 1, Width = 37, Height = 28, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, NewAction = { -- Atlas = "bags-newitem", Texture = [[Interface\AddOns\Masque_Squat\Textures\Glow]], Color = {1, 1, 0.8, 1}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 1, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, SpellHighlight = { -- Atlas = "bags-newitem", Texture = [[Interface\AddOns\Masque_Squat\Textures\Glow]], Color = {1, 1, 0.8, 1}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 1, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, AutoCastable = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Indicator]], -- TexCoords = {0, 1, 0, 1}, Color = {1, 1, 0, 1}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 1, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, UpgradeIcon = { Atlas = "bags-greenarrow", -- Color = {1, 1, 1, 1}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 2, Width = 15, Height = 16, Point = "TOPLEFT", RelPoint = "TOPLEFT", OffsetX = 0, OffsetY = -1, -- SetAllPoints = nil, }, NewItem = { -- Atlas = "bags-glow-white", Texture = [[Interface\AddOns\Masque_Squat\Textures\Glow]], -- TexCoords = {0, 1, 0, 1}, -- Color = {1, 1, 1, 1}, BlendMode = "ADD", DrawLayer = "OVERLAY", DrawLevel = 2, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, QuestBorder = { Border = [[Interface\AddOns\Masque_Caith\Textures\Border]], Texture = [[Interface\AddOns\Masque_Caith\Textures\Quest]], Color = {1, 0.8, 0, 1}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 2, Width = 42, Height = 42, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, SearchOverlay = { -- Texture = nil, -- TexCoords = {0, 1, 0, 1}, Color = {0, 0, 0, 0.7}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 4, Width = 37, Height = 28, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, UseColor = true, -- SetAllPoints = true, }, ContextOverlay = { -- Texture = nil, -- TexCoords = {0, 1, 0, 1}, Color = {0, 0, 0, 0.7}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 4, Width = 37, Height = 28, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, UseColor = true, -- SetAllPoints = true, }, JunkIcon = { Atlas = "bags-junkcoin", -- Color = {1, 1, 1, 1}, BlendMode = "BLEND", DrawLayer = "OVERLAY", DrawLevel = 5, Width = 16, Height = 16, Point = "TOPLEFT", RelPoint = "TOPLEFT", OffsetX = 2, OffsetY = -1, -- SetAllPoints = nil, }, Name = { JustifyH = "CENTER", JustifyV = "MIDDLE", DrawLayer = "OVERLAY", Width = 42, Height = 10, Point = "BOTTOM", RelPoint = "BOTTOM", OffsetX = 0, OffsetY = 2, }, Highlight = { Texture = [[Interface\AddOns\Masque_Squat\Textures\Border]], -- TexCoords = {0, 1, 0, 1}, Color = {1, 1, 1, 0.3}, BlendMode = "ADD", DrawLayer = "HIGHLIGHT", DrawLevel = 0, Width = 42, Height = 32, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- UseColor = nil, -- SetAllPoints = nil, }, AutoCastShine = { Width = 35, Height = 25, Point = "CENTER", RelPoint = "CENTER", OffsetX = 1, OffsetY = -1, -- SetAllPoints = nil, }, Cooldown = { -- Texture = nil, Color = {0, 0, 0, 0.7}, Width = 36, Height = 27, Point = "CENTER", RelPoint = "CENTER", OffsetX = 0, OffsetY = 0, -- SetAllPoints = nil, }, ChargeCooldown = { Width = 36, Height = 27, -- Point = "CENTER", -- RelPoint = "CENTER", -- OffsetX = 0, -- OffsetY = 0, SetAllPoints = true, }, }, true)