From aa2da3a4c7230e637694d8967017c44b71d94c0a Mon Sep 17 00:00:00 2001 From: xen-42 Date: Wed, 9 Oct 2024 23:02:17 -0400 Subject: [PATCH] Document ReuseDialogueOptionsListFrom --- docs/src/content/docs/guides/dialogue.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/src/content/docs/guides/dialogue.md b/docs/src/content/docs/guides/dialogue.md index 77d8631d..450b8317 100644 --- a/docs/src/content/docs/guides/dialogue.md +++ b/docs/src/content/docs/guides/dialogue.md @@ -27,6 +27,24 @@ A persistent condition is similar to a condition, except it _persists_ through l A remote trigger is used to have an NPC talk to you from a distance; ex: Slate stopping you for the umpteenth time to tell you information you already knew. +### ReuseDialogueOptionsListFrom + +This is a custom XML node introduced by New Horizons. Use it when adding new dialogue to existing characters, to repeat the dialogue options list from another node. + +For example, Slate's first dialogue with options is named `Scientist5`. To make a custom DialogueNode using these dialogue options (meaning new dialogue said by Slate, but reusing the possible player responses) you can write: + +```xml + + ... + + NEW DIALOGUE FOR SLATE HERE. + + + Scientist5 + + +``` + ## Example XML Here's an example dialogue XML: