From e1774110751d422e5d1d56b4cd75202467467f77 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 4 Mar 2013 13:47:17 +0400 Subject: [PATCH] Loot Announce --- ElvUI_SLE/config/profile.lua | 7 ++ ElvUI_SLE/config/sle_private.lua | 4 ++ ElvUI_SLE/locales/english.lua | 9 +++ ElvUI_SLE/locales/russian.lua | 10 +++ ElvUI_SLE/modules/load_modules.xml | 1 + ElvUI_SLE/modules/loot/load_loot.xml | 4 ++ ElvUI_SLE/modules/loot/loot.lua | 117 ++++++++++++++++++++++++++++++++++ ElvUI_SLE/modules/loot/options.lua | 73 +++++++++++++++++++++ 8 files changed, 225 insertions(+) create mode 100644 ElvUI_SLE/modules/loot/load_loot.xml create mode 100644 ElvUI_SLE/modules/loot/loot.lua create mode 100644 ElvUI_SLE/modules/loot/options.lua diff --git a/ElvUI_SLE/config/profile.lua b/ElvUI_SLE/config/profile.lua index 06c7ed8..c382b40 100644 --- a/ElvUI_SLE/config/profile.lua +++ b/ElvUI_SLE/config/profile.lua @@ -187,6 +187,13 @@ P['sle'] = { ['mouse'] = false, ['position'] = "uib_vert", }, + + --Loot + ['loot'] = { + ['quality'] = "EPIC", + ['chat'] = "RAID", + ['auto'] = true, + }, } --For some reason datatext settings refuses to work if there is no general setting block here O_o diff --git a/ElvUI_SLE/config/sle_private.lua b/ElvUI_SLE/config/sle_private.lua index 0f8a53f..0e91423 100644 --- a/ElvUI_SLE/config/sle_private.lua +++ b/ElvUI_SLE/config/sle_private.lua @@ -43,4 +43,8 @@ V['sle'] = { ['enable'] = true, }, }, + + ['loot'] = { + ['enable'] = false, + }, } diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua index 9890cf8..5f4acf7 100644 --- a/ElvUI_SLE/locales/english.lua +++ b/ElvUI_SLE/locales/english.lua @@ -171,6 +171,15 @@ L["This will import non class specific filters from this author."] = true L["This will import All Class specific filters from this author."] = true L['Import All'] = true +--Loot-- +L['Loot Annouce'] = true +L["LOOT_DESC"] = [[This module will announce loot dropped when you open loot window. +This will work only if you are master looter or if you hold left control key during loot opening to force announce.]] +L["Autoannounce"] = true +L["Automatically announce in selected chat channel."] = true +L["Minimum quality"] = true +L["Minimum quality of an item to announce it."] = true +L["The chat channel to announce to."] = true --Marks-- L["Raid Marks"] = true diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua index 1d3d05a..ecb1741 100644 --- a/ElvUI_SLE/locales/russian.lua +++ b/ElvUI_SLE/locales/russian.lua @@ -179,6 +179,16 @@ L["This will import non class specific filters from this author."] = "Это и L["This will import All Class specific filters from this author."] = "Это импортирует все классовые фильтры этого автора." L['Import All'] = "Импорт всего" +--Loot-- +L['Loot Annouce'] = "Оповещение о добыче" +L["LOOT_DESC"] = [[Этот модуль будет выводить список выпавшей добычи при открытии окна добычи. +Вывод осуществляется только если Вы ответственный за добычу или при зажатии левой клавиши control при открытии окна для принудительного вывода.]] +L["Autoannounce"] = "Авто оповещение" +L["Automatically announce in selected chat channel."] = "Автоматически выводить список добычи в выбранный канал чата" +L["Minimum quality"] = "Минимальное качество" +L["Minimum quality of an item to announce it."] = "Минимальное качество предмета, для вывода в чате." +L["The chat channel to announce to."] = "Канал чата, для вывода сообщений." + --Minimap-- L["Minimap Options"] = "Опции миникарты" L['MINIMAP_DESC'] = "Эти опции влияют на различные функции миникарты. Некоторые опции погут не работать, если вы отключите миникарты в основных настройках ElvUI." diff --git a/ElvUI_SLE/modules/load_modules.xml b/ElvUI_SLE/modules/load_modules.xml index c6dd126..7269209 100644 --- a/ElvUI_SLE/modules/load_modules.xml +++ b/ElvUI_SLE/modules/load_modules.xml @@ -12,6 +12,7 @@ + diff --git a/ElvUI_SLE/modules/loot/load_loot.xml b/ElvUI_SLE/modules/loot/load_loot.xml new file mode 100644 index 0000000..fb84134 --- /dev/null +++ b/ElvUI_SLE/modules/loot/load_loot.xml @@ -0,0 +1,4 @@ + +