diff --git a/locale/deDE.lua b/locale/deDE.lua index f4b88f3..66d9afe 100644 --- a/locale/deDE.lua +++ b/locale/deDE.lua @@ -63,3 +63,11 @@ L['Broken Shore'] = 'Die Verheerte Küste' -- L['Gloomtide Strand'] = '' -- MISSING TRANSLATION -- L['Cinderfall Grove'] = '' -- MISSING TRANSLATION -- L['Lor\'danel Landing'] = '' -- MISSING TRANSLATION + +--- Legion Zones (for Skyhold module) +-- L['Dalaran'] = '' -- MISSING TRANSLATION +-- L['Stormheim'] = '' -- MISSING TRANSLATION +-- L['Azsuna'] = '' -- MISSING TRANSLATION +-- L['Val\'sharah'] = '' -- MISSING TRANSLATION +-- L['Highmountain'] = '' -- MISSING TRANSLATION +-- L['Suramar'] = '' -- MISSING TRANSLATION diff --git a/locale/esES.lua b/locale/esES.lua index 77bc32a..e42686d 100644 --- a/locale/esES.lua +++ b/locale/esES.lua @@ -63,3 +63,11 @@ L['Broken Shore'] = 'Costa Abrupta' -- L['Gloomtide Strand'] = '' -- MISSING TRANSLATION -- L['Cinderfall Grove'] = '' -- MISSING TRANSLATION -- L['Lor\'danel Landing'] = '' -- MISSING TRANSLATION + +--- Legion Zones (for Skyhold module) +-- L['Dalaran'] = '' -- MISSING TRANSLATION +-- L['Stormheim'] = '' -- MISSING TRANSLATION +-- L['Azsuna'] = '' -- MISSING TRANSLATION +-- L['Val\'sharah'] = '' -- MISSING TRANSLATION +-- L['Highmountain'] = '' -- MISSING TRANSLATION +-- L['Suramar'] = '' -- MISSING TRANSLATION diff --git a/locale/esMX.lua b/locale/esMX.lua index 00cdd41..f8ad8e2 100644 --- a/locale/esMX.lua +++ b/locale/esMX.lua @@ -63,3 +63,11 @@ L['Broken Shore'] = 'Costa Quebrada' -- L['Gloomtide Strand'] = '' -- MISSING TRANSLATION -- L['Cinderfall Grove'] = '' -- MISSING TRANSLATION -- L['Lor\'danel Landing'] = '' -- MISSING TRANSLATION + +--- Legion Zones (for Skyhold module) +-- L['Dalaran'] = '' -- MISSING TRANSLATION +-- L['Stormheim'] = '' -- MISSING TRANSLATION +-- L['Azsuna'] = '' -- MISSING TRANSLATION +-- L['Val\'sharah'] = '' -- MISSING TRANSLATION +-- L['Highmountain'] = '' -- MISSING TRANSLATION +-- L['Suramar'] = '' -- MISSING TRANSLATION diff --git a/locale/frFR.lua b/locale/frFR.lua index c3a85d0..b4cdfd3 100644 --- a/locale/frFR.lua +++ b/locale/frFR.lua @@ -63,3 +63,11 @@ L['Broken Shore'] = 'Rivage Brisé' -- L['Gloomtide Strand'] = '' -- MISSING TRANSLATION -- L['Cinderfall Grove'] = '' -- MISSING TRANSLATION -- L['Lor\'danel Landing'] = '' -- MISSING TRANSLATION + +--- Legion Zones (for Skyhold module) +-- L['Dalaran'] = '' -- MISSING TRANSLATION +-- L['Stormheim'] = '' -- MISSING TRANSLATION +-- L['Azsuna'] = '' -- MISSING TRANSLATION +-- L['Val\'sharah'] = '' -- MISSING TRANSLATION +-- L['Highmountain'] = '' -- MISSING TRANSLATION +-- L['Suramar'] = '' -- MISSING TRANSLATION diff --git a/locale/itIT.lua b/locale/itIT.lua index 6539e11..f0769da 100644 --- a/locale/itIT.lua +++ b/locale/itIT.lua @@ -63,3 +63,11 @@ L['Broken Shore'] = 'Riva Dispersa' -- L['Gloomtide Strand'] = '' -- MISSING TRANSLATION -- L['Cinderfall Grove'] = '' -- MISSING TRANSLATION -- L['Lor\'danel Landing'] = '' -- MISSING TRANSLATION + +--- Legion Zones (for Skyhold module) +-- L['Dalaran'] = '' -- MISSING TRANSLATION +-- L['Stormheim'] = '' -- MISSING TRANSLATION +-- L['Azsuna'] = '' -- MISSING TRANSLATION +-- L['Val\'sharah'] = '' -- MISSING TRANSLATION +-- L['Highmountain'] = '' -- MISSING TRANSLATION +-- L['Suramar'] = '' -- MISSING TRANSLATION diff --git a/locale/koKR.lua b/locale/koKR.lua index a757dfb..a4579fc 100644 --- a/locale/koKR.lua +++ b/locale/koKR.lua @@ -63,3 +63,11 @@ L['Broken Shore'] = '부서진 해변' -- L['Gloomtide Strand'] = '' -- MISSING TRANSLATION -- L['Cinderfall Grove'] = '' -- MISSING TRANSLATION -- L['Lor\'danel Landing'] = '' -- MISSING TRANSLATION + +--- Legion Zones (for Skyhold module) +-- L['Dalaran'] = '' -- MISSING TRANSLATION +-- L['Stormheim'] = '' -- MISSING TRANSLATION +-- L['Azsuna'] = '' -- MISSING TRANSLATION +-- L['Val\'sharah'] = '' -- MISSING TRANSLATION +-- L['Highmountain'] = '' -- MISSING TRANSLATION +-- L['Suramar'] = '' -- MISSING TRANSLATION diff --git a/locale/ptBR.lua b/locale/ptBR.lua index e2b530d..866ee70 100644 --- a/locale/ptBR.lua +++ b/locale/ptBR.lua @@ -63,3 +63,11 @@ L['Broken Shore'] = 'Costa Partida' -- L['Gloomtide Strand'] = '' -- MISSING TRANSLATION -- L['Cinderfall Grove'] = '' -- MISSING TRANSLATION -- L['Lor\'danel Landing'] = '' -- MISSING TRANSLATION + +--- Legion Zones (for Skyhold module) +-- L['Dalaran'] = '' -- MISSING TRANSLATION +-- L['Stormheim'] = '' -- MISSING TRANSLATION +-- L['Azsuna'] = '' -- MISSING TRANSLATION +-- L['Val\'sharah'] = '' -- MISSING TRANSLATION +-- L['Highmountain'] = '' -- MISSING TRANSLATION +-- L['Suramar'] = '' -- MISSING TRANSLATION diff --git a/locale/ruRU.lua b/locale/ruRU.lua index 0542608..0a63a81 100644 --- a/locale/ruRU.lua +++ b/locale/ruRU.lua @@ -63,3 +63,11 @@ L['Broken Shore'] = 'Расколотый берег' -- L['Gloomtide Strand'] = '' -- MISSING TRANSLATION -- L['Cinderfall Grove'] = '' -- MISSING TRANSLATION -- L['Lor\'danel Landing'] = '' -- MISSING TRANSLATION + +--- Legion Zones (for Skyhold module) +-- L['Dalaran'] = '' -- MISSING TRANSLATION +-- L['Stormheim'] = '' -- MISSING TRANSLATION +-- L['Azsuna'] = '' -- MISSING TRANSLATION +-- L['Val\'sharah'] = '' -- MISSING TRANSLATION +-- L['Highmountain'] = '' -- MISSING TRANSLATION +-- L['Suramar'] = '' -- MISSING TRANSLATION diff --git a/locale/zhCN.lua b/locale/zhCN.lua index d2c5415..8e5811a 100644 --- a/locale/zhCN.lua +++ b/locale/zhCN.lua @@ -63,3 +63,11 @@ L['Broken Shore'] = '破碎海滩' -- L['Gloomtide Strand'] = '' -- MISSING TRANSLATION -- L['Cinderfall Grove'] = '' -- MISSING TRANSLATION -- L['Lor\'danel Landing'] = '' -- MISSING TRANSLATION + +--- Legion Zones (for Skyhold module) +-- L['Dalaran'] = '' -- MISSING TRANSLATION +-- L['Stormheim'] = '' -- MISSING TRANSLATION +-- L['Azsuna'] = '' -- MISSING TRANSLATION +-- L['Val\'sharah'] = '' -- MISSING TRANSLATION +-- L['Highmountain'] = '' -- MISSING TRANSLATION +-- L['Suramar'] = '' -- MISSING TRANSLATION diff --git a/locale/zhTW.lua b/locale/zhTW.lua index e94a8da..edaa7bf 100644 --- a/locale/zhTW.lua +++ b/locale/zhTW.lua @@ -63,3 +63,11 @@ L['Broken Shore'] = '破碎海岸' -- L['Gloomtide Strand'] = '' -- MISSING TRANSLATION -- L['Cinderfall Grove'] = '' -- MISSING TRANSLATION -- L['Lor\'danel Landing'] = '' -- MISSING TRANSLATION + +--- Legion Zones (for Skyhold module) +-- L['Dalaran'] = '' -- MISSING TRANSLATION +-- L['Stormheim'] = '' -- MISSING TRANSLATION +-- L['Azsuna'] = '' -- MISSING TRANSLATION +-- L['Val\'sharah'] = '' -- MISSING TRANSLATION +-- L['Highmountain'] = '' -- MISSING TRANSLATION +-- L['Suramar'] = '' -- MISSING TRANSLATION diff --git a/modules/Skyhold.lua b/modules/Skyhold.lua new file mode 100644 index 0000000..6a10ffa --- /dev/null +++ b/modules/Skyhold.lua @@ -0,0 +1,35 @@ +local addon = select(2, ...) +local L = addon.L + +local BROKENISLES = 619 +local destinations = { + [L['Dalaran']] = {zone = 627, x = 0.7246, y = 0.4594}, + [L['Stormheim']] = {zone = 634, x = 0.6034, y = 0.5106}, + [L['Azsuna']] = {zone = 630, x = 0.4749, y = 0.2755}, + [L['Val\'sharah']] = {zone = 641, x = 0.5462, y = 0.7313}, + [L['Highmountain']] = {zone = 750, x = 0.3853, y = 0.4554}, + [L['Suramar']] = {zone = 680, x = 0.3381, y = 0.4940}, + [L['Broken Shore']] = {zone = 646, x = 0.4427, y = 0.6299}, +} + +addon:Add(function(self) + local npcID = self:GetNPCID() + if(npcID == 96679) then + self:SetMapID(BROKENISLES) + + for index, line in next, self:GetLines() do + for name, loc in next, destinations do + if(line:match(name)) then + local Marker = self:NewMarker() + Marker:SetID(index) + Marker:SetTitle(name) + Marker:SetNormalAtlas('Taxi_Frame_Gray') + Marker:SetHighlightAtlas('Taxi_Frame_Yellow') + Marker:SetSize(24) + + Marker:Pin(loc.zone, loc.x, loc.y, true) + end + end + end + end +end) diff --git a/modules/modules.xml b/modules/modules.xml index 92b3949..5df7985 100644 --- a/modules/modules.xml +++ b/modules/modules.xml @@ -1,6 +1,7 @@