nextRoute

Follow-up route keys. Conditional entries must also pass the target route's selection rules.

值的格式
table
作用范围
route

技术说明保留英文原文。字段名称和 Lua 示例保持不变。

示例

源文件示例。请根据你的路线替换 ID 和数值;本网站不会执行 Lua。

Lua · 01
nextRoute = { "Shared", { route = "Class", conditions = { Class = "MAGE" } } }
Lua · 02
nextRoute = {
    "Forever-Shared-Route",
    { route = "Forever-Class-Route", conditions = { Class = "MAGE" } },
},

已记录的参数

已记录的参数行为与详情值的格式
routeShown in the source example; this does not establish a required field.string
conditionsShown in the source example; this does not establish a required field.table
ClassShown in the source example; this does not establish a required field.string

行为与详情

Forms shown in the documentation, not an exhaustive runtime schema. Constant runtime types are not inferred.

Route Definition Options

A file may register several independent APR.RouteQuestStepList["route-key"] = { ... } entries. Follow-up routes, prerequisites and prefabs reference these keys, not file names.

Filters and Conditions

Conditions on the same table combine with AND. Use AnyOf for alternatives, AllOf for repeated predicates and Not to invert a whole condition table.

Filters and Conditions
ScopeSupported conditions / result
Steps and parallelSteps[].conditionsAll filters below; group conditions control insertion, while a failed step filter skips that step.
Route conditions: visibilityInterfaceVersion, InterfaceVersionExact, DontHaveSpell, IsQuestReadyForTurnIn, HasAchievement, DontHaveAchievement, Faction, Race, Class, ClassNot, Event, AlliedRace, IsQuestCompleted, IsQuestUncompleted. Failure hides the route.
Route conditions: availabilityNumeric Level, MinLevel, MaxLevel, BeLvl, plus ClassSpec and Zones. Failure disables the route.
Route-level AnyOfAlternatives use step filters; failure hides the route, including failures of nested level conditions.
Conditional nextRoute / prefab entriesUse step filters; these affect the suggestion or prefab membership.
Resource conditions and Hardcore routes

Follow-up suggestions can mix existing string keys and conditional entries:

Resource conditions and Hardcore routes
nextRoute = {
    "Forever-Shared-Route",
    { route = "Forever-Class-Route", conditions = { Class = "MAGE" } },
},
Resource conditions and Hardcore routes

The target must pass normal route visibility requirements and the entry's

conditions must pass the existing step filter evaluator. This preserves class

branches without duplicating a complete route.

搜索百科

开始使用 APR路线与兼容性按你的意愿自动化打造自己的界面卡在某一步?常用命令创建并分享路线组队做任务
浏览百科