remove demo game

This commit is contained in:
2026-05-25 21:28:17 +02:00
parent b1ea3447a8
commit 76f910ab36
75 changed files with 115 additions and 815 deletions

14
item.def.go Normal file
View File

@@ -0,0 +1,14 @@
package pncdsl
type Item struct {
Name string
Sprite string // Asset.Name
Description string
OnUseSelf Action
// OnUseWith: targetName -> action. Target may be a hotspot Name or another item Name.
OnUseWith map[string]Action
}
func (i Item) GetName() string { return i.Name }
func (i Item) TypeLabel() string { return "item" }