Appendix A. The complete archive dialogue
The following source blocks form one complete dialogue record. They are useful if you want the exact IDs used in the guide. The graph editor can build the same conversation with its generated node IDs.
1. Create or select the dialogue you intend to replace. Save a project copy first.
2. Confirm that elias is your NPC, archive_key is an inventory item and archive_key_given is a Boolean variable starting false. Substitute your own IDs if needed.
3. Open the selected dialogue’s Inspector → Raw JSON (Advanced). Replace that record only with all of the following blocks in order.
4. Apply the JSON changes and inspect the graph. The start must be greeting.
5. Save the project and run Test Dialogue, then test the actual NPC Talk action.
Copy the code, including the opening and final braces. Do not copy the page headings or the notes below each block. Keep the commas and JSON Boolean values exactly as shown.
This replaces one dialogue record, not the entire project document. It does not create the character, inventory item, variable, voice files or GUI records for you.
