From 7f078d9c9120f2e7b8dfe01924756ef8c95ff9ec Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 15 May 2015 16:42:13 +0400 Subject: [PATCH] Quest log states options. --- ElvUI_SLE/core/modules.lua | 1 + ElvUI_SLE/defaults/profile.lua | 19 ++++++-- ElvUI_SLE/locales/russian.lua | 3 ++ ElvUI_SLE/modules/load_modules.xml | 1 + ElvUI_SLE/modules/quests.lua | 52 +++++++++++++++++++++ ElvUI_SLE/options/load_options.xml | 1 + ElvUI_SLE/options/quests_c.lua | 90 ++++++++++++++++++++++++++++++++++++ 7 files changed, 163 insertions(+), 4 deletions(-) create mode 100644 ElvUI_SLE/modules/quests.lua create mode 100644 ElvUI_SLE/options/quests_c.lua diff --git a/ElvUI_SLE/core/modules.lua b/ElvUI_SLE/core/modules.lua index 5dfbbc2..b19e7ee 100644 --- a/ElvUI_SLE/core/modules.lua +++ b/ElvUI_SLE/core/modules.lua @@ -24,6 +24,7 @@ local modules = { ['SLE_ScreenSaver'] = { 'AceHook-3.0', 'AceEvent-3.0' }, ['SLE_Garrison'] = { 'AceEvent-3.0' }, ['SLE_ErrorFrame'] = { }, + ['SLE_Quests'] = { 'AceEvent-3.0' }, ['SLE'] = {'AceHook-3.0', 'AceEvent-3.0'}, } diff --git a/ElvUI_SLE/defaults/profile.lua b/ElvUI_SLE/defaults/profile.lua index ceb6ec4..049e5a8 100644 --- a/ElvUI_SLE/defaults/profile.lua +++ b/ElvUI_SLE/defaults/profile.lua @@ -428,25 +428,36 @@ P['sle'] = { ['called'] = "Hundred", }, }, - + ['rumouseover'] = false, ['bags'] = { ['lootflash'] = true, }, - + ['garrison'] = { ['autoOrder'] = false, ['autoWar'] = false, ['autoTrade'] = false, }, - + ['errorframe'] = { ['height'] = 60, ['width'] = 512, }, - + ['roleicons'] = "ElvUI", + + ['quests'] = { + ['visibility'] = { + ['bg'] = "COLLAPSED", + ['arena'] = "COLLAPSED", + ['dungeon'] = "FULL", + ['raid'] = "COLLAPSED", + ['scenario'] = "FULL", + ['rested'] = "FULL", + }, + }, } P.chat.editboxhistory = 5 diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua index f8b36be..36ca6b7 100644 --- a/ElvUI_SLE/locales/russian.lua +++ b/ElvUI_SLE/locales/russian.lua @@ -480,6 +480,9 @@ L["Error Frame"] = "Фрейм ошибок" L["Set the width of Error Frame. Too narrow frame may cause messages to be split in several lines"] = "Устанавливает ширину фрейма ошибок. Если фрейм окажется слишком узким, текст будет разделен на несколько строк." L["Set the height of Error Frame. Higher frame can show more lines at once."] = "Устанавливает высоту фрейма ошибок. Чем выше фрейм, тем больше строк может быть показано одновременно." +--Quests-- +L["Rested"] = "Отдых" + --Credits-- L["Submodules and Coding:"] = "Субмодули и помощь с кодом:" L["Other Support:"] = "Прочая поддержка:" diff --git a/ElvUI_SLE/modules/load_modules.xml b/ElvUI_SLE/modules/load_modules.xml index 29184b5..0c71cd8 100644 --- a/ElvUI_SLE/modules/load_modules.xml +++ b/ElvUI_SLE/modules/load_modules.xml @@ -27,4 +27,5 @@