From 0dfde49a1b8d2740d1b392e633a4d18f857a207f Mon Sep 17 00:00:00 2001 From: xen-42 Date: Mon, 26 Feb 2024 11:20:04 -0500 Subject: [PATCH] Update dialogue.md --- docs/src/content/docs/guides/dialogue.md | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/docs/src/content/docs/guides/dialogue.md b/docs/src/content/docs/guides/dialogue.md index a2f1aa86..77d8631d 100644 --- a/docs/src/content/docs/guides/dialogue.md +++ b/docs/src/content/docs/guides/dialogue.md @@ -159,3 +159,44 @@ Defining `` in the `` tag instead of a ` + + Scientist5 + + + Hi how are you? + example_new_slate_Text + + + + + example_new_slate_Text + + I'm good! + + + +``` + +NH will merge together `` nodes that have the same `` field, adding their `` together. No other changes will be merged. + +NH can also add new `` nodes into the text, however you have to add ``s that link to them for them to ever be read by the player. + +Be careful to use unique names to ensure optimal compatibility between mods. Consider prefixing the names of your nodes with the name of your mod. + +To use this additional dialogue you need to reference it in a planet config file: + +```json +"dialogue": [ + { + "pathToExistingDialogue": "Sector_TH/Sector_Village/Sector_StartingCamp/Characters_StartingCamp/Villager_HEA_Slate/ConversationZone_RSci", + "xmlFile": "planets/text/Slate.xml" + } +] +```