initial commit

This commit is contained in:
2026-05-25 21:28:04 +02:00
commit d74acc58de
22 changed files with 570 additions and 0 deletions

20
domain/script.victory.go Normal file
View File

@@ -0,0 +1,20 @@
package domain
import p "git.teletypegames.org/games/pncdsl"
func defineVictoryScript(g *p.Game) {
g.ScriptManager.Register(p.Script{
Name: "victory",
Actions: p.Seq(
p.Say("player", "Készen is van!"),
p.PlaySound("snd/coffee_done"),
p.Wait(0.6),
p.Say("cat", "Mióóóóu. *boldog macska*"),
p.Say("player", "Reggeli kávé: megmentve."),
p.SetVar("score", 100),
p.SetVar("player.mood", "Boldog"),
p.SetVar("cat.mood", "Boldog"),
p.ShowEnd("Vége — kösz, hogy játszottál!"),
),
})
}