You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

555 lines
12 KiB

local BtWQuests = BtWQuests
local Database = BtWQuests.Database
local L = BtWQuests.L
local EXPANSION_ID = BtWQuests.Constant.Expansions.Dragonflight
local CATEGORY_ID = BtWQuests.Constant.Category.Dragonflight.Dragonflight
local Chain = BtWQuests.Constant.Chain.Dragonflight.Dragonflight
local THREADS_OF_FATE_RESTRICTION = BtWQuests.Constant.Restrictions.DragonflightToF
local NOT_THREADS_OF_FATE_RESTRICTION = BtWQuests.Constant.Restrictions.NOTDragonflightToF
local CONTINENT_ID = 1978
local ACHIEVEMENT_ID_1 = 16808
local LEVEL_RANGE = {70, 70}
Chain.TheChieftainsDuty = 100501
Chain.AMysterySealed = 100502
Chain.TheSilverPurpose = 100503
Chain.InTheHallsOfTitans = 100504
Chain.GardenOfSecrets = 100505
Chain.TheDreamer = 100506
Chain.EmbedChain01 = 100511
Database:AddChain(Chain.TheChieftainsDuty, {
name = BtWQuests_GetAchievementCriteriaNameDelayed(ACHIEVEMENT_ID_1, 4),
questline = 1385,
category = CATEGORY_ID,
expansion = EXPANSION_ID,
range = LEVEL_RANGE,
prerequisites = {
{
type = "level",
level = 70,
},
{
type = "currency",
id = 2087,
amount = 11,
},
},
active = {
type = "quest",
id = 68640,
status = {'active', 'completed'}
},
completed = {
type = "quest",
id = 66444,
},
items = {
{ -- Dont track this quest for active since its flagged completed account bound
type = "quest",
id = 68863,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 68640,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66409,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66410,
x = 0,
connections = {
1, 2,
},
},
{
type = "quest",
id = 66411,
x = -1,
connections = {
2,
},
},
{
type = "quest",
id = 66417,
connections = {
1,
},
},
{
type = "quest",
id = 66418,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66414,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66440,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66431,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66415,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66443,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66444,
x = 0,
},
{
visible = false,
x = -3,
y = 3,
},
{
type = "chain",
id = Chain.EmbedChain01,
embed = true,
x = 3,
y = 3,
},
},
})
Database:AddChain(Chain.AMysterySealed, {
name = BtWQuests_GetAchievementCriteriaNameDelayed(ACHIEVEMENT_ID_1, 1),
questline = 1386,
category = CATEGORY_ID,
expansion = EXPANSION_ID,
range = LEVEL_RANGE,
prerequisites = {
{
type = "level",
level = 70,
},
{
type = "currency",
id = 2021,
amount = 13,
},
},
active = {
type = "quest",
id = 66012,
status = {'active', 'completed'}
},
completed = {
type = "quest",
id = 66128,
},
items = {
{ -- Dont track this quest for active since its flagged completed account bound
type = "quest",
id = 69093,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66012,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66013,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66673,
x = 0,
connections = {
1, 2, 3,
},
},
{
type = "quest",
id = 66094,
x = -2,
connections = {
3,
},
},
{
type = "quest",
id = 70784,
connections = {
3,
},
},
{
type = "quest",
id = 70785,
connections = {
3,
},
},
{
type = "quest",
id = 70507,
x = -2,
connections = {
3,
},
},
{
type = "quest",
id = 70503,
connections = {
2,
},
},
{
type = "quest",
id = 66814,
connections = {
1,
},
},
{
type = "quest",
id = 66128,
x = 0
},
},
})
Database:AddChain(Chain.TheSilverPurpose, {
name = BtWQuests_GetAchievementCriteriaNameDelayed(ACHIEVEMENT_ID_1, 5),
questline = 1389,
category = CATEGORY_ID,
expansion = EXPANSION_ID,
range = LEVEL_RANGE,
prerequisites = {
{
type = "level",
level = 70,
},
{
name = {
type = "currency",
id = 2088,
amount = 12,
},
type = "achievement",
id = 16988, -- Account bound achievement for Rank 12
}
},
active = {
type = "quest",
id = 67074,
status = {'active', 'completed'}
},
completed = {
type = "quest",
id = 67084,
},
items = {
{ -- Dont track this quest for active since its flagged completed account bound
type = "quest",
id = 68794,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 67074,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 70703,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 67075,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 67076,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 67077,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 67078,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 67079,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 67081,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 67084,
x = 0,
},
},
})
Database:AddChain(Chain.InTheHallsOfTitans, {
name = BtWQuests_GetAchievementCriteriaNameDelayed(ACHIEVEMENT_ID_1, 2),
questline = 1384,
category = CATEGORY_ID,
expansion = EXPANSION_ID,
range = LEVEL_RANGE,
prerequisites = {
{
type = "level",
level = 70,
},
{
type = "chain",
id = Chain.AMysterySealed,
},
},
active = {
type = "quest",
ids = {70846, 72773, 70180,},
status = {'active', 'completed'}
},
completed = {
type = "quest",
id = 70633,
},
items = {
},
})
Database:AddChain(Chain.GardenOfSecrets, {
name = BtWQuests_GetAchievementCriteriaNameDelayed(ACHIEVEMENT_ID_1, 3),
questline = 1387,
category = CATEGORY_ID,
expansion = EXPANSION_ID,
range = LEVEL_RANGE,
prerequisites = {
{
type = "level",
level = 70,
},
{
type = "chain",
id = Chain.TheSilverPurpose,
},
{
type = "currency",
id = 2088,
amount = 19,
},
},
active = {
type = "quest",
ids = {70846, 72773, 70180,},
status = {'active', 'completed'}
},
completed = {
type = "quest",
id = 70633,
},
items = {
},
})
Database:AddChain(Chain.TheDreamer, {
-- name = BtWQuests_GetAchievementCriteriaNameDelayed(ACHIEVEMENT_ID_1, 4),
questline = 1388,
category = CATEGORY_ID,
expansion = EXPANSION_ID,
range = LEVEL_RANGE,
prerequisites = {
{
type = "level",
level = 70,
},
},
active = {
type = "quest",
ids = {70846, 72773, 70180,},
status = {'active', 'completed'}
},
completed = {
type = "quest",
id = 70633,
},
items = {
},
})
Database:AddChain(Chain.EmbedChain01, {
questline = 1388,
category = CATEGORY_ID,
expansion = EXPANSION_ID,
range = LEVEL_RANGE,
prerequisites = {
{
type = "level",
level = 70,
},
{
type = "currency",
id = 2087,
amount = 11,
},
},
active = {
type = "quest",
id = 66413,
status = {'active', 'completed'}
},
completed = {
type = "quest",
id = 66413,
},
items = {
{
type = "object",
id = 384405,
x = 0,
connections = {
1,
},
},
{
type = "quest",
id = 66413,
x = 0,
},
}
})
Database:AddCategory(CATEGORY_ID, {
name = BtWQuests_GetAchievementNameDelayed(ACHIEVEMENT_ID_1),
expansion = EXPANSION_ID,
buttonImage = 4742925,
items = {
{
type = "chain",
id = Chain.TheChieftainsDuty,
},
{
type = "chain",
id = Chain.AMysterySealed,
},
{
type = "chain",
id = Chain.TheSilverPurpose,
},
--[==[@debug@
{
type = "chain",
id = Chain.InTheHallsOfTitans,
},
{
type = "chain",
id = Chain.GardenOfSecrets,
},
{
type = "chain",
id = Chain.TheDreamer,
},
--@end-debug@]==]
},
})
BtWQuestsDatabase:AddExpansionItems(EXPANSION_ID, {
{
type = "category",
id = CATEGORY_ID,
},
})
Database:AddContinentItems(CONTINENT_ID, {
{
type = "chain",
id = Chain.EmbedChain01,
},
})