--[[ Author: Jarth Filename: SummonAssistant_Constants.lua ]] -- ------------------------------------------------------------------------------------------------- -- VARIABLES -- ------------------------------------------------------------------------------------------------- SummonAssistant = {} SummonAssistant.Addon = { Name = "SummonAssistant", DisplayName = "Summon Assistant", Version = 1.4, MinorVersion = 0, SlashCommand = "/sa", Author = "Jarth", Website = "" } SummonAssistant.WM = GetWindowManager() SummonAssistant.Buttons = {} SummonAssistant.Fragment = nil SummonAssistant.Default = { Left = CENTER, Top = CENTER, CenterColor = {r = 0.88, g = 0.88, b = 0.88, a = 0.4}, EdgeColor = {r = 0.88, g = 0.88, b = 0.88, a = 0}, HighlightColor = {r = 0.9, g = 0.9, b = 0.9, a = 0.9}, FontColor = {r = 0.9, g = 0.9, b = 0.9, a = 0.9}, UseAccountSettings = true, Horizontal = true, HideBarInMenu = true, Margin = 2, Height = 60, Width = 60, SnapSize = 5, ShowAssistants = { [267] = IsCollectibleUnlocked(267), [300] = IsCollectibleUnlocked(300), [301] = IsCollectibleUnlocked(301) } } SummonAssistant.Global = { IsMoveEnabled = false } SummonAssistant.Types = { Banker = { Id = 267, Title = "Banker:", Name = "Banker", name = "banker", Tooltip = "When ON the banker button will be visible. When OFF the banker button will not be visible (disabled if locked for the account).", EnabledTexture = "/esoui/art/icons/" .. "assistant_banker_01.dds", KeyBinding = "SI_BINDING_NAME_SummonAssistant_Assistant_Banker", Disabled = function() return not IsCollectibleUnlocked(267) end }, Fence = { Id = 300, Title = "Fence:", Name = "Fence", name = "fence", Tooltip = "When ON the fence button will be visible. When OFF the fence button will not be visible (disabled if locked for the account).", EnabledTexture = "/esoui/art/icons/" .. "assistant_fence_01.dds", KeyBinding = "SI_BINDING_NAME_SummonAssistant_Assistant_Fence", Disabled = function() return not IsCollectibleUnlocked(300) end }, Vendor = { Id = 301, Title = "Vendor:", Name = "Vendor", name = "vendor", Tooltip = "When ON the vendor button will be visible. When OFF the vendor button will not be visible (disabled if locked for the account).", EnabledTexture = "/esoui/art/icons/" .. "assistant_vendor_01.dds", KeyBinding = "SI_BINDING_NAME_SummonAssistant_Assistant_Vendor", Disabled = function() return not IsCollectibleUnlocked(301) end } } SummonAssistant.OrderedTypes = { [1] = SummonAssistant.Types["Banker"], [2] = SummonAssistant.Types["Fence"], [3] = SummonAssistant.Types["Vendor"] }