Skip to content

Commit

Permalink
replace ZoneDoneSave by RouteCompleted
Browse files Browse the repository at this point in the history
  • Loading branch information
Neogeekmo committed Oct 29, 2024
1 parent 18736df commit 72bd0ce
Show file tree
Hide file tree
Showing 32 changed files with 183 additions and 183 deletions.
2 changes: 1 addition & 1 deletion APR-Core/QuestHandler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ function APR:UpdateStep()
APR:UpdateQuestAndStep()
end)
end
if (step.ZoneDoneSave) then
if (step.RouteCompleted) then
local index, currentRouteName = next(APRCustomPath[APR.PlayerID])

-- Force reset heirloom to show heirloom taximap (not avalaible in exile reach)
Expand Down
2 changes: 1 addition & 1 deletion APR-Core/QuestOrderList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ function APR.questOrderList:AddStepFromRoute(forceRendering)
AddStepFrame(stepIndex, L["GRIND"] .. " " .. step.Grind, color)
elseif (step.GossipOptionIDs or step.GossipOptionID) and step.NPCIDs then
AddStepFrame(stepIndex, L["TALK_NPC"], "gray")
elseif step.ZoneDoneSave then
elseif step.RouteCompleted then
AddStepFrame(stepIndex, L["ROUTE_COMPLETED"], "gray")
end
stepIndex = stepIndex + 1
Expand Down
2 changes: 1 addition & 1 deletion APR-Core/helpers/StepHelper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function APR:GetStepString(step)
GetFP = L["GET_FLIGHTPATH"],
UseFlightPath = L["USE_FLIGHTPATH"],
WarMode = L["TURN_ON_WARMODE"],
ZoneDoneSave = L["ROUTE_COMPLETED"]
RouteCompleted = L["ROUTE_COMPLETED"]
}

for key, _ in pairs(step) do
Expand Down
14 changes: 7 additions & 7 deletions Routes/BattleForAzeroth/BattleForAzeroth_Alliance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ if APR.Faction == "Alliance" then
_index = 28,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 29,
},
}
Expand Down Expand Up @@ -4126,7 +4126,7 @@ if APR.Faction == "Alliance" then
_index = 652,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 653,
},
}
Expand Down Expand Up @@ -7009,7 +7009,7 @@ if APR.Faction == "Alliance" then
_index = 471,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 472,
},
}
Expand Down Expand Up @@ -10135,7 +10135,7 @@ if APR.Faction == "Alliance" then
_index = 492,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 493,
},
}
Expand Down Expand Up @@ -10181,7 +10181,7 @@ if APR.Faction == "Alliance" then
_index = 6,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 7,
},
}
Expand Down Expand Up @@ -10227,7 +10227,7 @@ if APR.Faction == "Alliance" then
_index = 6,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 7,
},
}
Expand Down Expand Up @@ -10301,7 +10301,7 @@ if APR.Faction == "Alliance" then
_index = 10,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 11,
},
}
Expand Down
16 changes: 8 additions & 8 deletions Routes/BattleForAzeroth/BattleForAzeroth_Horde.lua
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ if APR.Faction == "Horde" then
_index = 61,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 62,
},
}
Expand Down Expand Up @@ -4006,7 +4006,7 @@ if APR.Faction == "Horde" then
_index = 566,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 567,
},
}
Expand Down Expand Up @@ -6518,7 +6518,7 @@ if APR.Faction == "Horde" then
_index = 418,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 419,
},
}
Expand Down Expand Up @@ -6649,7 +6649,7 @@ if APR.Faction == "Horde" then
_index = 20,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 21,
},
}
Expand Down Expand Up @@ -8891,7 +8891,7 @@ if APR.Faction == "Horde" then
_index = 374,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 375,
},
}
Expand Down Expand Up @@ -8937,7 +8937,7 @@ if APR.Faction == "Horde" then
_index = 6,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 7,
},
}
Expand Down Expand Up @@ -9038,7 +9038,7 @@ if APR.Faction == "Horde" then
_index = 14,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 15,
},
}
Expand Down Expand Up @@ -9146,7 +9146,7 @@ if APR.Faction == "Horde" then
_index = 15,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 16,
},
}
Expand Down
2 changes: 1 addition & 1 deletion Routes/Cataclysm/Cataclysm_Alliance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ if (APR.Faction == "Alliance") then
_index = 211,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 212,
},
}
Expand Down
4 changes: 2 additions & 2 deletions Routes/Cataclysm/Cataclysm_Horde.lua
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ if (APR.Faction == "Horde") then
_index = 86,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 87,
},
}
Expand Down Expand Up @@ -1627,7 +1627,7 @@ if (APR.Faction == "Horde") then
_index = 199,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 200,
},
}
Expand Down
10 changes: 5 additions & 5 deletions Routes/Dragonflight/Dragonflight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@ APR.RouteQuestStepList["2022-DF03N-WakingShores"] = {
_index = 251,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 252,
},
}
Expand Down Expand Up @@ -3410,7 +3410,7 @@ APR.RouteQuestStepList["2023-DF04-OhnahranPlains"] = {
_index = 293,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 294,
},
}
Expand Down Expand Up @@ -5550,7 +5550,7 @@ APR.RouteQuestStepList["2024-DF05-AzureSpan"] = {
_index = 358,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 359,
},
}
Expand Down Expand Up @@ -6647,7 +6647,7 @@ APR.RouteQuestStepList["2118-DracthyrStart-Evo"] = {
_index = 161,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 162,
},
}
Expand Down Expand Up @@ -6685,7 +6685,7 @@ APR.RouteQuestStepList["2118-DracthyrStart-Other"] = {
_index = 4,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 5,
},
}
6 changes: 3 additions & 3 deletions Routes/Dragonflight/Dragonflight_Alliance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ if APR.Faction == "Alliance" then
_index = 19,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 20,
},
}
Expand Down Expand Up @@ -451,7 +451,7 @@ if APR.Faction == "Alliance" then
_index = 53,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 54,
},
}
Expand Down Expand Up @@ -1379,7 +1379,7 @@ if APR.Faction == "Alliance" then
_index = 158,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 159,
},
}
Expand Down
6 changes: 3 additions & 3 deletions Routes/Dragonflight/Dragonflight_horde.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ if APR.Faction == "Horde" then
_index = 19,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 20,
},
}
Expand Down Expand Up @@ -468,7 +468,7 @@ if APR.Faction == "Horde" then
_index = 53,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 54,
},
}
Expand Down Expand Up @@ -1455,7 +1455,7 @@ if APR.Faction == "Horde" then
_index = 162,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 163,
},
}
Expand Down
2 changes: 1 addition & 1 deletion Routes/ExilesReach/ExilesReach_Alliance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ if APR.Faction == "Alliance" then
_index = 222,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 223,
},
}
Expand Down
2 changes: 1 addition & 1 deletion Routes/ExilesReach/ExilesReach_Horde.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ if APR.Faction == "Horde" then
_index = 201,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 202,
},
}
Expand Down
2 changes: 1 addition & 1 deletion Routes/Legion/Legion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ APR.RouteQuestStepList["672-Mardum"] = {
_index = 125,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 126,
},
}
10 changes: 5 additions & 5 deletions Routes/Legion/Legion_Alliance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ if APR.Faction == "Alliance" then
_index = 285,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 286,
},
}
Expand Down Expand Up @@ -3088,7 +3088,7 @@ if APR.Faction == "Alliance" then
_index = 246,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 247,
},
}
Expand Down Expand Up @@ -4349,7 +4349,7 @@ if APR.Faction == "Alliance" then
_index = 214,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 215,
},
}
Expand Down Expand Up @@ -4396,7 +4396,7 @@ if APR.Faction == "Alliance" then
_index = 6,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 7,
},
}
Expand Down Expand Up @@ -4465,7 +4465,7 @@ if APR.Faction == "Alliance" then
_index = 9,
},
{
ZoneDoneSave = 1,
RouteCompleted = 1,
_index = 10,
},
}
Expand Down
Loading

0 comments on commit 72bd0ce

Please sign in to comment.