register logic

This commit is contained in:
2026-08-29 23:59:56 +02:00
parent ddea3b0893
commit 94649a38fe
83 changed files with 830 additions and 699 deletions
+3 -3
View File
@@ -4,8 +4,8 @@ import (
inkwell "git.teletypegames.org/engines/inkwell"
)
func dialogDexTalk() inkwell.Dialogue {
return inkwell.Dialogue{
func init() {
DialogManager.Register(Dialog{
Name: DlgDex,
Start: "root",
Nodes: []inkwell.DialogueNode{{
@@ -52,5 +52,5 @@ func dialogDexTalk() inkwell.Dialogue {
},
},
}},
}
})
}