NPC Interaction Tasks
Tasks involving NPC dialogue, item delivery, and NPC-driven objectives.
Task Types
Section titled “Task Types”- VisitTask — Talk to a specific NPC to complete the objective.
- DeliverItemTask — Deliver an inventory item to an NPC.
- DeliverInjectedItemTask — Deliver a quest-injected (auto-given) item to an NPC.
For properties common to all tasks (header, completion items, journal text) see the Task Overview.
VisitTask
Section titled “VisitTask”Talk to a specific NPC to complete the objective.
<이름> discriminator: 방문Task
tasks: - taskId: 1 type: VisitTask nextTaskId: 2 journalText: "@quest:1001001" body: npcId: "64,1049" dialogueId: 5| YAML property | Type | Description |
|---|---|---|
npcId | string | NPC to visit. Composite format: "huntingZoneId,templateId". |
dialogueId | int | Dialogue script reference. |
| YAML property | XML element | XML location |
|---|---|---|
npcId | <NPCId> | <Body> → <방문그룹> → <방문그룹> (entry) |
dialogueId | <대사작성> | <Body> → <방문그룹> → <방문그룹> (entry) |
<Body> <방문그룹> <방문그룹> <NPCId>63001</NPCId> <대사작성>5</대사작성> </방문그룹> </방문그룹> <저널Text>@quest:1001001</저널Text></Body>DeliverItemTask
Section titled “DeliverItemTask”Deliver an inventory item to an NPC.
<이름> discriminator: 아이템전달Task
tasks: - taskId: 1 type: DeliverItemTask body: itemId: 98765 itemCount: 1 targetNpc: "63,1001" completionDialogue: 5| YAML property | Type | Description |
|---|---|---|
itemId | int | Item to deliver. |
itemCount | int | Quantity to deliver. |
targetNpc | string | Delivery NPC spec string. |
completionDialogue | int | Dialogue ID shown on completion. |
incompleteDialogue | int | Dialogue ID shown when incomplete. |
completionButtonText | string | Completion button label. |
| YAML property | XML element | XML location |
|---|---|---|
itemId | <아이템Id> | <Body> → <아이템지정> → <아이템지정> (entry) |
itemCount | <전달수량> | <Body> → <아이템지정> → <아이템지정> (entry) |
targetNpc | <대상NPC지정> | <Body> → <대상NPC지정> |
completionDialogue | <완료시대사작성> | <Body> → <완료시대사작성> |
incompleteDialogue | <미완료시대사작성> | <Body> → <미완료시대사작성> |
completionButtonText | <완료버튼Text> | <Body> → <완료버튼Text> |
<Body> <아이템지정> <아이템지정> <아이템Id>98765</아이템Id> <전달수량>1</전달수량> </아이템지정> </아이템지정> <대상NPC지정>63,1001</대상NPC지정> <완료시대사작성>5</완료시대사작성></Body>DeliverInjectedItemTask
Section titled “DeliverInjectedItemTask”Deliver a quest-injected (auto-given) item to an NPC.
<이름> discriminator: 찔러준아이템전달Task
tasks: - taskId: 1 type: DeliverInjectedItemTask body: giverName: "Seris" deliveryQuantity: 1 targetNpc: "63,1001" dialogue: 5| YAML property | Type | Description |
|---|---|---|
giverName | string | Name of the item giver NPC. |
flagItemName | string | Flag item name reference. |
deliveryQuantity | int | Quantity to deliver. |
targetNpc | string | Delivery NPC spec string. |
dialogue | int | Dialogue ID shown during delivery. |
completionButtonText | string | Completion button label. |
| YAML property | XML element | XML location |
|---|---|---|
giverName | <수여자명입력> | <Body> → <수여자명입력> |
flagItemName | <Flag아이템이름> | <Body> → <Flag아이템이름> |
deliveryQuantity | <전달수량> | <Body> → <전달수량> |
targetNpc | <대상NPC지정> | <Body> → <대상NPC지정> |
dialogue | <대사작성> | <Body> → <대사작성> |
completionButtonText | <완료버튼Text> | <Body> → <완료버튼Text> |
<Body> <수여자명입력>Seris</수여자명입력> <Flag아이템이름>...</Flag아이템이름> <전달수량>1</전달수량> <대상NPC지정>63,1001</대상NPC지정> <대사작성>5</대사작성></Body>