initial commit
This commit is contained in:
15
domain/script.intro.go
Normal file
15
domain/script.intro.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package domain
|
||||
|
||||
import p "pncdsl/pncdsl"
|
||||
|
||||
func defineIntroScript(g *p.Game) {
|
||||
g.ScriptManager.Register(p.Script{
|
||||
Name: "intro",
|
||||
Actions: p.Seq(
|
||||
p.Wait(0.4),
|
||||
p.Say("player", "Brr, hideg van."),
|
||||
p.Say("player", "Egy kávé kéne, mielőtt szétszakad a fejem."),
|
||||
p.Walk("player", p.Point{X: 160, Y: 130}),
|
||||
),
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user