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
+14
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" }