Signed-off-by: His Dad <John@hisdad.org>

His Dad [04-24-18 - 06:02]
Signed-off-by: His Dad <John@hisdad.org>
Filename
Doc/Changelog.txt
HistOffline.lua
data/Morrowind.lua
data/Quest.lua
data/en/en.lua
data/ids.lua
history.txt
diff --git a/Doc/Changelog.txt b/Doc/Changelog.txt
index 9231793..a26856d 100644
--- a/Doc/Changelog.txt
+++ b/Doc/Changelog.txt
@@ -1,4 +1,4 @@
-2018-03-09 version 40  (not change to code)
+2018-03-09 version 40  (no change to code)
 	API Bump


diff --git a/HistOffline.lua b/HistOffline.lua
index ae0701e..49e01f0 100644
--- a/HistOffline.lua
+++ b/HistOffline.lua
@@ -47,6 +47,7 @@ dofile "./data/Special.lua"		-- Record of non standard Achievment ID's we need t
 dofile "./data/utility.lua"		-- utility functions

 -- generate_id ()			-- Generate the file the addon uses to filter Achievement ID's
+-- This is used by the in game part history.lua to only record achievements that are used.
 -- Uncomment when need to run.


@@ -764,7 +765,7 @@ end
 				key = tostring(L) .. tostring(C)	-- make name key
 				dname = Locations[key]				-- Zone Locations
 				if dname == nil then
-					break	-- only 1 in Coldharbour
+					break	-- only 1 in Coldharbour,1 morrowind
 				end

 				count = 0
diff --git a/data/Morrowind.lua b/data/Morrowind.lua
new file mode 100644
index 0000000..e1bc481
--- /dev/null
+++ b/data/Morrowind.lua
@@ -0,0 +1,33 @@
+Craglorn_Conqueror = "" -- [1139] = "Craglorn Trials Conqueror" "Complete Hel Ra Citadel, Aetherian Archive, and Sanctum Ophidia at their highest difficulties.",
+
+Morrowwind_Dat["N"].id = {
+[991] = {L=1, C=1, key ="11"},		-- "Hel Ra Citadel Completed",  "Defeat the Celestial Warrior, freeing him from the Serpent's control."
+[990] = {L=2, C=1, key ="21"},		-- "Aetherian Archive Completed", "Defeat the Celestial Mage, freeing her from the Serpent's control."
+[1123] = {L=3, C=1, key ="31"},		-- "Sanctum Ophidia Completed", "Defeat the Celestial Serpent."
+[992] = {L=4, C=1, key ="41"},		-- "Dragonstar Arena Champion",  "Conquer all challengers and earn the title of Dragonstar Arena Champion!",
+}
+Morrowind_Dat["N"].vet = false
+Morrowind_Dat["N"].key = Morrowind2key["N"]
+
+Morrowind_Dat["V"].id = {
+[1474] = {L=1, C=1, key ="11"},		-- "Hel Ra Citadel Conqueror", "Defeat the Celestial Warrior in Veteran Hel Ra Citadel, while the Trial is scaled to Champion 160."
+[1503] = {L=2, C=1, key ="21"},		-- "Aetherian Archive Conqueror" Defeat the Celestial Mage in Veteran Aetherian Archive, while the Trial is scaled to Champion 160.",
+[1462] = {L=3, C=1, key ="31"},		-- "Sanctum Ophidia Conqueror",
+[870] = {L=4, C=1, key ="41"},		-- "Hel Ra Citadel: The War Horn", "Sound the war horn in Veteran Hel Ra Citadel and defeat the ancient warriors who answer.",
+[1080] = {L=5, C=1, key ="51"},		-- "Time Trial: Hel Ra Citadel", "Completed the Hel Ra Citadel within a time limit of 33 minutes.",
+[1081] = {L=6, C=1, key ="61"},		-- "Time Trial: Aetherian Archive", "Completed the Aetherian Archive within a time limit of 33 minutes.",
+[1124] = {L=7, C=1, key ="71"},		-- "Time Trial: Sanctum Ophidia", "Completed the Sanctum Ophidia within a time limit of 33 minutes.",
+[1140] = {L=8, C=1, key ="81"},		-- "Dragonstar Arena Conqueror", "Conquer all challengers on the increased difficulty version of Dragonstar Arena.",
+}
+Morrowind_Dat["V"].vet = true
+Morrowind_Dat["V"].key = Morrowind2key["V"]
+
+Morrowind_Dat["VH"].id = {
+[1136] = {L=1, C=1, key ="11"},		-- "Hel Ra Citadel Difficult Mode","Defeat the Celestial Warrior after enraging him through the destruction of his statue army.",
+[1137] = {L=2, C=1, key ="21"},		-- "Aetherian Archive Difficult Mode" "Defeat the Celestial Mage after taunting her by smashing the Aetherial Orbs."
+[1138] = {L=3, C=1, key ="31"},		-- "Sanctum Ophidia Difficult Mode", Defeat the Celestial Serpent after desecrating the sacred banners of the Scaled Court",
+
+}
+
+Morrowind_Dat["VH"].vet = true
+Morrowind_Dat["VH"].key = Morrowind2key["VH"]
diff --git a/data/Quest.lua b/data/Quest.lua
index 8259a6c..b14f20a 100644
--- a/data/Quest.lua
+++ b/data/Quest.lua
@@ -80,8 +80,13 @@ SQ_dat = {
 [536] = {L=5, C=3,["link1"] = "http://www.uesp.net/wiki/Online:Stonefire_Machinations"},
 [537] = {L=5, C=3,["link1"] = "http://www.uesp.net/wiki/Online:Motes_in_the_Moonlight" },

---Coldharbour
+--Coldharbour and Morrowind
 [613] = {L=1, C=4, ["link1"] = "http://www.uesp.net/wiki/Online:Breaking_the_Shackle"},
 [614] = {L=1, C=4, ["link1"] = "http://www.uesp.net/wiki/Online:The_Final_Assault"},
 [612] = {L=1, C=4, ["link1"] = "http://www.uesp.net/wiki/Online:Light_from_the_Darkness"},
+
+
+[1870] = {L=2, C=4, ["link1"] = "http://en.uesp.net/wiki/Online:Naryu%27s_Confidant"},	--"Naryu's Confidant"
+-- [614] = {L=2, C=4, ["link1"] = "http://www.uesp.net/wiki/Online:The_Final_Assault"},
+-- [612] = {L=2, C=4, ["link1"] = "http://www.uesp.net/wiki/Online:Light_from_the_Darkness"},
 }
diff --git a/data/en/en.lua b/data/en/en.lua
index e8efccd..1de1b8a 100644
--- a/data/en/en.lua
+++ b/data/en/en.lua
@@ -12,7 +12,7 @@ Area_names = {
 			long = "Aldmeri Dominion"},
 	[4] = { short= "CH",
 			medium = "Coldharbour",
-			long = "Coldharbour"},
+			long = "Coldharbour/Morrowind"},
 	[5] = { short= "CRAG",
 			medium = "Craglorn",
 			long = "Craglorn"},
@@ -199,6 +199,8 @@ Locations = {
 		["53"] = "Reaper's March",
 --Coldharbour
 		["14"] = "Coldharbour",
+--Morrowind
+		["24"] = "Morrowind",
 }
 DLC_Location_names = {
 ["11"]	= "Rkindaleft",
diff --git a/data/ids.lua b/data/ids.lua
index cf9121f..5d49c0d 100644
--- a/data/ids.lua
+++ b/data/ids.lua
@@ -142,6 +142,7 @@ hist.IDs = {
 [363] = true,
 [364] = true,
 [365] = true,
+[1870] = true,
 [538] = true,
 [99999999] = true,
 [283] = true,
diff --git a/history.txt b/history.txt
index 2ce8f9d..e33683e 100644
--- a/history.txt
+++ b/history.txt
@@ -1,6 +1,6 @@
 ## Title: Dad's History
-## APIVersion: 100022
-## Version: 40
+## APIVersion: 100022 100023
+## Version: 41
 ## Author: HisDad
 ## Description: Record progress of all characters for offline viewing.
 ## SavedVariables: History_SV