diff options
Diffstat (limited to 'internal/behavior/behavior.go')
| -rw-r--r-- | internal/behavior/behavior.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/internal/behavior/behavior.go b/internal/behavior/behavior.go index f81c73c..e01d8a7 100644 --- a/internal/behavior/behavior.go +++ b/internal/behavior/behavior.go @@ -30,10 +30,12 @@ type TalkConfig struct { } type TalkNode struct { - Message MessageList `yaml:"message"` - Options []TalkOption `yaml:"options"` - Action *NodeAction `yaml:"action"` - Next string `yaml:"next,omitempty"` + Message MessageList `yaml:"message"` + Sequence []string `yaml:"sequence,omitempty"` + Condition *Condition `yaml:"condition,omitempty"` + Options []TalkOption `yaml:"options"` + Action *NodeAction `yaml:"action"` + Goto string `yaml:"goto,omitempty"` } type TalkOption struct { |
