Trials_Dat={}
for _,i in ipairs(Trials_Order) do
	Trials_Dat[i]={}
	Trials_Dat[i].id={}
end


append(Trials_Dat["Trials Norm"].id,

{
991,	-- "Hel Ra Citadel Completed",  "Defeat the Celestial Warrior, freeing him from the Serpent's control."
990,	-- "Aetherian Archive Completed", "Defeat the Celestial Mage, freeing her from the Serpent's control."
1123,	-- "Sanctum Ophidia Completed", "Defeat the Celestial Serpent."

1808,	-- (Halls of Fabrication) Halls of Fabrication Completed,  Defeat the Assembly General and assist Divayth Fyr in stopping the flood of animunculi coming from the Halls of Fabrication.
1343,	-- "Thieves Guild","Drive the dro-m'Athra back to the void and close the Maw of Lorkhaj in Normal Mode.",
2132,	-- (Cloudrest) Cloudrest Contender,  Defeat Z'Maja, Siroria, Relequen, and Galenwe in the same fight in Cloudrest.
2076,	-- (Asylum Sanctorium)"Asylum Sanctorium Completed""Defeat Saint Olms the Just, Saint Llothis the Pious, and Saint Felms the Bold in Asylum Sanctorium.",
2433,	-- (Sunspire) Sunspire Completed,  Defeat Yolnahkriin, Lokkestiiz, and Nahviintaas in Sunspire.


2732,	-- (Kyne's Aegis) Kyne's Aegis Completed,  Defeat Yandir the Butcher, Captain Vrol, and Lord Falgravn in Kyne's Aegis.
992,	-- (Trials) Dragonstar Arena Champion,  Conquer all challengers and earn the title of Dragonstar Arena Champion!
2907,	-- (Vateshran Hollows) Vateshran Hollows Vanquisher,  Defeat all challengers in Vateshran Hollows.

--Blackwood
2985,	-- (Rockgrove) Rockgrove Completed,  Defeat Oaxiltso, Flame-Herald Bahsei, and Xalvakka in Rockgrove.

--High Isle
3242,	-- (Dreadsail Reef) Dreadsail Reef Vanquisher,  Defeat Lylanar and Turlassil, the Reef Guardian, and Tideborn Taleria in Dreadsail Reef.

--Necrom
3558,	-- (Sanity's Edge) Sanity's Edge Vanquisher,  Defeat Exarchanic Yaseyla, Archwizard Twelvane, and Ansuul the Tormentor in Sanity's Edge.

--Gold Road
4013,	-- (Lucent Citadel) Lucent Citadel Vanquisher,  Defeat Count Ryelaz, Zilyesset, Orphic Shattered Shard, and secure the knot in Lucent Citadel.
})

Trials_Dat["Trials Norm"].vet = false


append(Trials_Dat["Trials Vet"].id,
{
1474,	-- "Hel Ra Citadel Conqueror", "Defeat the Celestial Warrior in Veteran Hel Ra Citadel, while the Trial is scaled to Champion 160."
870,	--	Sound the war horn in Veteran Hel Ra Citadel
1080,	--	 "Completed the Hel Ra Citadel within a time limit of 33 minutes.",

1503,	-- "Aetherian Archive Conqueror" Defeat the Celestial Mage in Veteran Aetherian Archive, while the Trial is scaled to Champion 160.",
1081,	-- "Completed the Aetherian Archive within a time limit of 33 minutes.",

1462,	--  Sanctum Ophidia Conqueror,  Defeat the Celestial Serpent in Veteran Sanctum Ophidia.
1113,	-- "Use the feed pile in Sanctum Ophidia and survive the ensuing battle.",
1124,	-- "Completed the Sanctum Ophidia within a time limit of 33 minutes.",



1810, 	-- (Halls of Fabrication) Halls of Fabrication Conqueror,  Defeat the Assembly General in Veteran Halls of Fabrication.
1368,	-- "Maw of Lorkhaj Conqueror", "Defeat Rakkhat, Fang of Lorkhaj and his legions of dro-m'Athra in Veteran Maw of Lorkhaj.",
2133,	-- (Cloudrest)"Cloudrest Conqueror", "Defeat Z'Maja, Siroria, Relequen, and Galenwe in Veteran Cloudrest.",
2077,	-- (Asylum Sanctorium)"Asylum Sanctorium Conqueror", "Defeat Saint Olms the Just, Saint Llothis the Pious, and Saint Felms the Bold in Veteran Asylum Sanctorium.",
2435,	-- (Sunspire) Sunspire Conqueror,  Defeat Yolnahkriin, Lokkestiiz, and Nahviintaas in Veteran Sunspire.


2734,	-- (Kyne's Aegis) Kyne's Aegis Conqueror,  Defeat Yandir the Butcher, Captain Vrol, and Lord Falgravn in Veteran Kyne's Aegis.
2739,	-- (Kyne's Aegis) Kyne's Aegis Vanquisher,  Defeat Yandir the Butcher, Captain Vrol, and Lord Falgravn after raising the challenge banner in Veteran Kyne's Aegis, in one run.

992,	-- (Trials) Dragonstar Arena Champion,  Conquer all challengers and earn the title of Dragonstar Arena Champion!
2908,	-- (Vateshran Hollows) Vateshran Hollows Conqueror,  Defeat all challengers in Veteran Vateshran Hollows.
--Blackwood
2986,	-- (Rockgrove) Rockgrove Sprinter,  Defeat all encounters in addition to Oaxiltso, Flame-Herald Bahsei, and Xalvakka within 30 minutes of entering Veteran Rockgrove. Your timer starts when you engage the first group of enemies. Defeating Bask-In-Snakes and the injured Sul-Xan Militants is not required for completion.
2987,	-- (Rockgrove) Rockgrove Conqueror,  Defeat Oaxiltso, Flame-Herald Bahsei, and Xalvakka in Veteran Rockgrove.

--High Isle
3244,	-- (Dreadsail Reef) Dreadsail Reef Conqueror,  Defeat Lylanar and Turlassil, the Reef Guardian, and Tideborn Taleria in Veteran Dreadsail Reef.


-- Necrom
3560,	-- (Sanity's Edge) Sanity's Edge Conqueror,  Defeat Exarchanic Yaseyla, Archwizard Twelvane, and Ansuul the Tormentor in Veteran Sanity's Edge.

--Gold Road
4015,	-- (Lucent Citadel) Lucent Citadel Conqueror,  Defeat Count Ryelaz and Zilyesset, the Orphic Shattered Shard, and secure the arcane knot in Veteran Lucent Citadel.
})

Trials_Dat["Trials Vet"].vet = true


append(Trials_Dat["Trials Hard"].id,
{
1139,		-- "Craglorn Trials Conqueror"  "Complete Hel Ra Citadel, Aetherian Archive, and Sanctum Ophidia at their highest difficulties.",
1136,		-- "Hel Ra Citadel Difficult Mode","Defeat the Celestial Warrior after enraging him through the destruction of his statue army.",
1137,		-- "Aetherian Archive Difficult Mode" "Defeat the Celestial Mage after taunting her by smashing the Aetherial Orbs."
1138,		-- "Sanctum Ophidia Difficult Mode", Defeat the Celestial Serpent after desecrating the sacred banners of the Scaled Court",
1140,		-- "Conquer all challengers on the increased difficulty version of Dragonstar Arena.",
1829,		-- "Halls of Fabrication Vanquisher", "Defeat the Assembly General after empowering it by resetting the circuit breaker in Veteran Halls of Fabrication.",
1344,		-- "Thieves Guild:"Maw of Lorkhaj Difficult Mode""Defeat Rakkhat after empowering him at the lunar shrines in Veteran Maw of Lorkhaj.",
2740,	-- (Kyne's Aegis) Stainless Siege-breaker,  Defeat Yandir the Butcher, Captain Vrol, and Lord Falgravn along with all their hostile followers after raising the challenge banner for all of them, without suffering a group member death, within 35 minutes of entering Kyne's Perch village in Veteran Kyne's Aegis.
1140,	-- (Trials) Dragonstar Arena Conqueror,  Conquer all challengers on the increased difficulty version of Dragonstar Arena.

--Blackwood
3003,	-- (Rockgrove) Soul Savior,  Defeat Oaxiltso, Flame-Herald Bahsei, and Xalvakka along with all their hostile followers after raising the challenge banner for each of them, without suffering a group member death, within 30 minutes of entering Veteran Rockgrove. Defeating Bask-In-Snakes and the injured Sul-Xan Militants is not required for completion.
--Dragon Bones


--scalebreaker
2584,	-- (Veteran) Blue Thumbed Botanist,  Defeat Maarselok while ensuring he gains the benefits of Invigorating Fumes every time he Lunges in Hard Mode Veteran Lair of Maarselok.

--High Isle
3248,	-- (Dreadsail Reef) Fleet Queen's Foil,  Defeat Lylanar and Turlassil, the Reef Guardian, and Tideborn Taleria, along with all their hostile followers, after raising the challenge banner for each of them and without gaining the benefits of any Prismatic Resonances, without suffering a group member death, and within 30 minutes of entering Veteran Dreadsail Reef.

--Necrom
2677,	-- (Veteran) Lashing Lullaby,  When fighting the Icereach Coven on Hard Mode in Veteran Icereach, use Gohlla's Giant to knock each sister out of the enraged state.

--Gold Road
4019,	-- (Lucent Citadel) Arcane Stabilizer,  Defeat Count Ryelaz and Zilyesset, the Orphic Shattered Shard, and secure the arcane knot along with all the enemies within the citadel after activating hard mode for all of them, without suffering a group member death, within 35 minutes of entering in Veteran Lucent Citadel.
})

Trials_Dat["Trials Hard"].vet = true