initial commit
This commit is contained in:
20
domain/script.victory.go
Normal file
20
domain/script.victory.go
Normal 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!"),
|
||||
),
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user