diff --git a/ElvUI_SLE/config/profile.lua b/ElvUI_SLE/config/profile.lua
index 63e9b5e..15d5134 100755
--- a/ElvUI_SLE/config/profile.lua
+++ b/ElvUI_SLE/config/profile.lua
@@ -180,6 +180,7 @@ P['sle'] = {
['hof'] = false,
['toes'] = false,
['tot'] = false,
+ ['leishen'] = false,
},
--Minimap Module
diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua
index 4c96a06..25b48f3 100755
--- a/ElvUI_SLE/locales/english.lua
+++ b/ElvUI_SLE/locales/english.lua
@@ -144,6 +144,8 @@ L["Hide Guild Name"] = true
L["Hide the guild's name in the tooltip."] = true
L["Hide In Combat"] = true
L["Will not show the tooltip while in combat."] = true
+L["World Loot"] = true
+L["Show/Hide the status of Key to the Palace of Lei Shen and Trove of the Thunder King."] = true
--Exp/Rep Bar--
L["Xp-Rep Text"] = true
diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua
index e56865b..5b18180 100755
--- a/ElvUI_SLE/locales/russian.lua
+++ b/ElvUI_SLE/locales/russian.lua
@@ -144,6 +144,8 @@ L["Hide Guild Name"] = "Скрыть название гильдии"
L["Hide the guild's name in the tooltip."] = "Скрывает название гильдии на подсказке."
L["Hide In Combat"] = "Скрывать в бою"
L["Will not show the tooltip while in combat."] = "Не отображать подсказки инфо-текста в бою."
+L["World Loot"] = "Мировая добыча"
+L["Show/Hide the status of Key to the Palace of Lei Shen and Trove of the Thunder King."] = "Показать/скрыть статус Ключа от дворца Лэй Шэня и Сокровищ Властелина Грома."
--Exp/Rep Bar--
L["Xp-Rep Text"] = "Текст Опыта/Репутации"
diff --git a/ElvUI_SLE/modules/datatexts/options.lua b/ElvUI_SLE/modules/datatexts/options.lua
index 9588375..6bb325e 100755
--- a/ElvUI_SLE/modules/datatexts/options.lua
+++ b/ElvUI_SLE/modules/datatexts/options.lua
@@ -378,6 +378,22 @@ E.Options.args.sle.args.sldatatext = {
},
},
},
+ hubs = {
+ order = 3,
+ type = "group",
+ name = L["World Loot"],
+ guiInline = true,
+ get = function(info) return E.db.sle.lfrshow[ info[#info] ] end,
+ set = function(info, value) E.db.sle.lfrshow[ info[#info] ] = value; end,
+ args = {
+ leishen = {
+ order = 1,
+ type = "toggle",
+ name = GetMapNameByID(928),
+ desc = L["Show/Hide the status of Key to the Palace of Lei Shen and Trove of the Thunder King."],
+ },
+ },
+ },
},
},
},
diff --git a/ElvUI_SLE/modules/datatexts/time.lua b/ElvUI_SLE/modules/datatexts/time.lua
index 7cfb8de..963d0e0 100755
--- a/ElvUI_SLE/modules/datatexts/time.lua
+++ b/ElvUI_SLE/modules/datatexts/time.lua
@@ -160,7 +160,7 @@ local function OnEnter(self)
DT.tooltip:AddDoubleLine(L['Oondasta']..':', Oondasta and "\124cffff0000"..L['Defeated'].."\124r" or "\124cff00ff00"..L['Undefeated'].."\124r", 1, 1, 1, 0.8, 0.8, 0.8)
DT.tooltip:AddDoubleLine(L['Nalak']..':', Nalak and "\124cffff0000"..L['Defeated'].."\124r" or "\124cff00ff00"..L['Undefeated'].."\124r", 1, 1, 1, 0.8, 0.8, 0.8)
- if level == 90 then
+ if level == 90 and E.db.sle.lfrshow.leishen then
DT.tooltip:AddDoubleLine(L["Key to the Palace of Lei Shen:"], LeiShenKey and "\124cffff0000"..L["Looted"].."\124r" or "\124cff00ff00"..L["Not looted"].."\124r", 1, 1, 1, 0.8, 0.8, 0.8)
DT.tooltip:AddDoubleLine(L["Trove of the Thunder King:"], Trove and "\124cffff0000"..L["Looted"].."\124r" or "\124cff00ff00"..L["Not looted"].."\124r", 1, 1, 1, 0.8, 0.8, 0.8)
end