From 3102525d97aa6f1ad152c74b2ccfbd4b3a9b83f5 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 26 Jun 2026 02:52:31 -0400 Subject: feat: simplified conversation trees and output won't overwrite prompts now --- internal/validate/checks.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/validate') diff --git a/internal/validate/checks.go b/internal/validate/checks.go index 9cff717..f1d6b5e 100644 --- a/internal/validate/checks.go +++ b/internal/validate/checks.go @@ -806,12 +806,12 @@ func validateTalkConfig(prefix string, cfg *behavior.TalkConfig, itemIDs map[str if node.Action != nil { issues = append(issues, validateNodeAction(nodePrefix, node.Action, itemIDs, roomIndex)...) } - if node.Next != "" { - if _, ok := cfg.Nodes[node.Next]; !ok { + if node.Goto != "" { + if _, ok := cfg.Nodes[node.Goto]; !ok { issues = append(issues, Issue{ Level: "ERROR", Type: "reference", - Message: fmt.Sprintf("%s: next points to nonexistent node %q", nodePrefix, node.Next), + Message: fmt.Sprintf("%s: goto points to nonexistent node %q", nodePrefix, node.Goto), }) } } -- cgit v1.2.3