AllOf
Require every enclosed condition table to match. Useful for repeated predicates such as several quest-presence checks.
- Формат значения
- table
- Область применения
- step-condition, parallel-group-condition, next-route-condition, prefab-condition
Технические описания сохранены на английском языке оригинала. Имена полей и примеры Lua не изменены.
Примеры
Пример из исходной документации. Замените идентификаторы и значения для своего маршрута; этот сайт не выполняет Lua.
Lua · 01
AllOf = { { IsQuestNotOnQuest = 10 }, { IsQuestNotOnQuest = 20 } }Документированные параметры
| Документированные параметры | Поведение и подробности | Формат значения |
|---|---|---|
IsQuestNotOnQuest | Shown in the source example; this does not establish a required field. | number |
Поведение и подробности
Forms shown in the documentation, not an exhaustive runtime schema. Constant runtime types are not inferred.
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
| Scope | Supported conditions / result |
|---|---|
Steps and parallelSteps[].conditions | All filters below; group conditions control insertion, while a failed step filter skips that step. |
Route conditions: visibility | InterfaceVersion, InterfaceVersionExact, DontHaveSpell, IsQuestReadyForTurnIn, HasAchievement, DontHaveAchievement, Faction, Race, Class, ClassNot, Event, AlliedRace, IsQuestCompleted, IsQuestUncompleted. Failure hides the route. |
Route conditions: availability | Numeric Level, MinLevel, MaxLevel, BeLvl, plus ClassSpec and Zones. Failure disables the route. |
Route-level AnyOf | Alternatives use step filters; failure hides the route, including failures of nested level conditions. |
Conditional nextRoute / prefab entries | Use step filters; these affect the suggestion or prefab membership. |