This commit is contained in:
2026-05-26 07:17:05 +02:00
parent 6895b69a1f
commit e893963743
27 changed files with 412 additions and 436 deletions

18
lib/item.key.go Normal file
View File

@@ -0,0 +1,18 @@
package lib
import p "git.teletypegames.org/games/pncdsl"
var Key = p.Item{
Name: "key",
Sprite: "spr/key",
Description: "rozsdás kulcs",
OnUseWith: map[string]p.Action{
"cupboard": p.Seq(
p.Say("player", "Klikk."),
p.SetFlag(FlagCupboardOpen),
p.Give("beans"),
p.TakeAway("key"),
p.Say("player", "Bab van benne. Pont, ami kell."),
),
},
}