inkwell is now released as engines/inkwell v0.1.0, so the `replace => ../inkwell` directive can go. That directive is why this pipeline was failing: it requires a sibling working copy that only exists on a developer's machine, never in a CI checkout. Module paths follow the org move as well — this repo is demos/, inkwell is engines/ — since Gitea's redirect does not apply to Go module paths. GOPRIVATE is exported from the Makefile: our own modules are not on proxy.golang.org and not in the public checksum database. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
44 lines
947 B
Go
44 lines
947 B
Go
package lib
|
|
|
|
import p "git.teletypegames.org/engines/inkwell"
|
|
|
|
var CatMorning = p.Dialogue{
|
|
Name: "cat_morning",
|
|
Start: "start",
|
|
Nodes: []p.DialogueNode{
|
|
{
|
|
Name: "start",
|
|
Lines: []p.DialogueLine{
|
|
{Speaker: "cat", Text: "Mióóóóóóóóu. Késő van."},
|
|
},
|
|
Choices: []p.DialogueChoice{
|
|
{
|
|
Text: "Mindjárt megy a kávé.",
|
|
Actions: []p.Action{p.SetFlag(FlagPromisedCoffee), p.EndDialogue()},
|
|
},
|
|
{
|
|
Text: "Te etted meg a babot?",
|
|
Show: p.Not(p.Flag(FlagCupboardOpen)),
|
|
Actions: []p.Action{p.GotoNode("beans")},
|
|
},
|
|
{
|
|
Text: "Hagyj békén.",
|
|
Actions: []p.Action{p.EndDialogue()},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
Name: "beans",
|
|
Lines: []p.DialogueLine{
|
|
{Speaker: "cat", Text: "A szekrényben van. Mindig ott szokott lenni."},
|
|
},
|
|
Choices: []p.DialogueChoice{
|
|
{
|
|
Text: "Köszi.",
|
|
Actions: []p.Action{p.EndDialogue()},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|