initial commit

This commit is contained in:
2026-05-25 18:09:51 +02:00
commit df7219677e
58 changed files with 3646 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
package pncdsl
type Verb struct {
Name string
Label string
Default Action
}
func (v Verb) GetName() string { return v.Name }
func (v Verb) TypeLabel() string { return "verb" }
// defaultVerbs returns the built-in SCUMM-style verb set. A game can replace
// or extend these by registering its own Verbs after NewGame.
func defaultVerbs() []Verb {
return []Verb{
{Name: "look", Label: "Nézd"},
{Name: "use", Label: "Használd"},
{Name: "talk", Label: "Beszélj"},
{Name: "take", Label: "Vedd fel"},
}
}