From 80f0c997cae9155c86b2910de3db5b076efb6435 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sun, 19 Oct 2014 01:45:16 +0400 Subject: [PATCH] global tables and shit --- ElvUI_SLE/core/globals.lua | 160 ++++++++++++++++++++++++++++++++++++++++++ ElvUI_SLE/core/load_core.xml | 2 +- 2 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 ElvUI_SLE/core/globals.lua diff --git a/ElvUI_SLE/core/globals.lua b/ElvUI_SLE/core/globals.lua new file mode 100644 index 0000000..74606c2 --- /dev/null +++ b/ElvUI_SLE/core/globals.lua @@ -0,0 +1,160 @@ +local E, L, V, P, G = unpack(ElvUI); +local SLE = E:GetModule('SLE') + +--Chat icon paths +local adapt = "|TInterface\\AddOns\\ElvUI_SLE\\media\\textures\\adapt:0:2|t" +local repooc = "|TInterface\\AddOns\\ElvUI_SLE\\media\\textures\\SLE_Chat_Logo:0:2|t" +local darth = "|TInterface\\AddOns\\ElvUI_SLE\\media\\textures\\SLE_Chat_LogoD:0:2|t" +local friend = "|TInterface\\Icons\\Spell_Holy_PrayerofSpirit:16:16|t" +local test = "|TInterface\\Icons\\Achievement_PVP_H_03:16:16|t" +local rpg = "|TInterface\\AddOns\\ElvUI_SLE\\media\\textures\\Chat_RPG:13:35|t" +local kitalie = "|TInterface\\Icons\\%s:12:12:0:0:64:64:4:60:4:60|t" +local leader = [[|TInterface\GroupFrame\UI-Group-LeaderIcon:12:12|t]] + +E.SLEConfigs = {} + +SLE.version = GetAddOnMetadata("ElvUI_SLE", "Version") + +SLE.Dev = { + ["EU"] = { + --PTR + ["Anasterian(US)"] = { + ["Dapooc"] = true, + }, + ["Brill(EU)"] = { + ["Дартпредатор"] = true, + }, + --Live + ['Sylvanas'] = { + ["Neeka"] = true, + }, + ["ВечнаяПесня"] = { + ["Дартпредатор"] = true, + ["Алея"] = true, + ["Ваззули"] = true, + ["Сиаранна"] = true, + ["Джатон"] = true, + ["Фикстер"] = true, + ["Киландра"] = true, + ["Нарджо"] = true, + ["Келинира"] = true, + ["Крениг"] = true, + ["Мейжи"] = true + }, + }, + ["US"] = { + -- Live + ["Spirestone"] = { + ["Sifupooc"] = true, + ["Dapooc"] = true, + ["Lapooc"] = true, + ["Warpooc"] = true, + ["Repooc"] = true, + ["Cursewordz"] = true, + }, + ["WyrmrestAccord"] = { + ["Kitalie"] = true, + ["Sagome"] = true, + ["Ainy"] = true, + ["Norinael"] = true, + ["Tritalie"] = true, + ["Myun"] = true, + ["Nevaleigh"] = true, + ["Celenii"] = true, + ["Varysa"] = true, + ["Caylasena"] = true, + ["Arillora"] = true, + }, + }, + ["Asia"] = { + }, +} + +SLE.SpecialChatIcons = { + ["EU"] = { + ['Sylvanas'] = { + ["Neeka"] = darth, + }, + ["СвежевательДуш"] = { + --Darth's toons + ["Большойгном"] = test, --Testing toon + ["Фергесон"] = friend + }, + ["ВечнаяПесня"] = { + --Darth's toons + ["Дартпредатор"] = darth, + ["Алея"] = darth, + ["Ваззули"] = darth, + ["Сиаранна"] = darth, + ["Джатон"] = darth, + ["Фикстер"] = darth, + ["Киландра"] = darth, + ["Нарджо"] = darth, + ["Келинира"] = darth, + ["Крениг"] = darth, + ["Мейжи"] = darth, + --Darth's friends + ["Леани"] = friend, + --Da tester lol + ["Харореанн"] = test, + ["Нерререанн"] = test + }, + ["Ревущийфьорд"] = { + ["Рыжая"] = friend, + ["Рыжа"] = friend, + --Some people + ["Брэгар"] = test + }, + ["Азурегос"] = { + ["Брэгари"] = test + }, + }, + ["US"] = { + ["Spirestone"] = { + ["Sifupooc"] = repooc, + ["Dapooc"] = repooc, + ["Lapooc"] = repooc, + ["Warpooc"] = repooc, + ["Repooc"] = repooc, + ["Cursewordz"] = repooc, + --Adapt Roster + ["Mobius"] = adapt, + ["Urgfelstorm"] = adapt, + ["Kilashandra"] = adapt, + ["Electrro"] = adapt, + ["Afterthot"] = adapt, + ["Lavathing"] = adapt, + ["Finkle"] = adapt, + ["Chopsti"] = adapt, + ["Taiin"] = adapt + }, + ["Illidan"] = { + --Darth's toon + ["Darthpred"] = darth, + --Repooc's Toon + ["Repooc"] = repooc, + ["Repooc"] = repooc + }, + ["WyrmrestAccord"] = { + ["Kitalie"] = kitalie:format("inv_cloth_challengewarlock_d_01helm"), + ["Sagome"] = kitalie:format("inv_helm_leather_challengemonk_d_01"), + ["Ainy"] = kitalie:format("inv_helm_plate_challengedeathknight_d_01"), + ["Norinael"] = kitalie:format("inv_helmet_plate_challengepaladin_d_01"), + ["Tritalie"] = kitalie:format("inv_helm_cloth_challengemage_d_01"), + ["Myun"] = kitalie:format("inv_helmet_mail_challengeshaman_d_01"), + ["Nevaleigh"] = kitalie:format("inv_helmet_leather_challengerogue_d_01"), + ["Celenii"] = kitalie:format("inv_helmet_cloth_challengepriest_d_01"), + ["Varysa"] = kitalie:format("inv_helmet_mail_challengehunter_d_01"), + ["Caylasena"] = kitalie:format("inv_helm_plate_challengewarrior_d_01"), + ["Arillora"] = kitalie:format("inv_helmet_challengedruid_d_01"), + ["Dapooc"] = repooc, + }, + ["Andorhal"] = { + ["Dapooc"] = repooc, + ["Rovert"] = repooc, + ["Sliceoflife"] = repooc + }, + }, + ["Asia"] = { + } +} \ No newline at end of file diff --git a/ElvUI_SLE/core/load_core.xml b/ElvUI_SLE/core/load_core.xml index 3da0dae..d6645c1 100644 --- a/ElvUI_SLE/core/load_core.xml +++ b/ElvUI_SLE/core/load_core.xml @@ -1 +1 @@ -