Skip to content

Flow Control Tasks

Tasks that control quest progression: branching, conditions, and repeatable loops.

  • BranchTask — Present the player with choices that route to different next tasks.
  • ConditionTask — Complete based on a specific game condition. Routes to true/false next tasks.
  • RepeatTask — A repeatable objective container with configurable repeat method and target.

For properties common to all tasks (header, completion items, journal text) see the Task Overview.


Present the player with choices that route to different next tasks.

<이름> discriminator: 분기Task

YAML
tasks:
- taskId: 1
type: BranchTask
body:
targetNpc: "63,1001"
branchType: "manual"
preBranchDialogue: 5
YAML propertyTypeDescription
targetNpcstringNPC presenting the choices.
preBranchDialogueintDialogue ID shown before choices appear.
branchTypestringBranch type (auto or manual).
completionButtonTextstringCompletion button label.

Complete based on a specific game condition. Routes to true/false next tasks.

<이름> discriminator: 조건Task

YAML
tasks:
- taskId: 1
type: ConditionTask
body:
conditionType: useItem
conditionItemId: 98
conditionItemCount: 1
YAML propertyTypeDescription
conditionTypestringCondition variant. Values: useItem, rest, enhance, gamble, learnSkill, winBattlefield.
conditionItemIdintItem ID — only valid when conditionType: useItem.
conditionItemCountintItem quantity — only valid when conditionType: useItem.

A repeatable objective container with configurable repeat method and target.

<이름> discriminator: 반복Task

YAML
tasks:
- taskId: 1
type: RepeatTask
body:
repeatMethod: "daily"
repeatCount: 3
YAML propertyTypeDescription
repeatMethodstringRepeat method type.
repeatTargetstringRepeat target specification.
repeatCount / targetCountintNumber of repetitions. repeatCount takes precedence over targetCount.
maxFlagCountintMaximum flag item count.
sequentialDistributionstringSequential distribution mode.
targetNpcstringTarget NPC spec string.
normalDialogueintDialogue ID shown normally.
incompleteDialogueintDialogue ID shown when incomplete.
rewardChoiceTextstringReward choice button label.