Skip to content

Commit

Permalink
Merge pull request #16 from Rycia/rycia-patch5
Browse files Browse the repository at this point in the history
Update Routes.lua
  • Loading branch information
Rycia authored Apr 1, 2024
2 parents 68cbf81 + ed14d06 commit 6f4311d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Routes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,19 @@ local GetPlayerFacing = GetPlayerFacing
------------------------------------------------------------------------------------------------------
-- Data for Localized Zone Names
local function GetZoneName(uiMapID)
-- Change individual zone display format in UI, eg. for the different Dalaran's.
local name = Routes.Dragons:GetLocalizedMap(uiMapID)
if uiMapID == 104 or uiMapID == 107 then -- Outland SMV and Nagrand
-- Outland
if uiMapID == 104 or uiMapID == 107 then
-- Shadowmoon Valley (Outland)
-- Nagrand (Outland)
name = format("%s (%s)", name, Routes.Dragons:GetLocalizedMap(101))
elseif uiMapID == 125 then -- Northrend Dalaran
-- Northrend
elseif uiMapID == 125 then
-- Dalaran (Northrend)
name = format("%s (%s)", name, Routes.Dragons:GetLocalizedMap(113))
elseif uiMapID == 2104 then -- Wintergrasp BG
elseif uiMapID == 2104 then
-- Wintergrasp (BG)
name = format("%s (BG)", name)
end
return name
Expand Down

0 comments on commit 6f4311d

Please sign in to comment.