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

20
lib/assets.go Normal file
View File

@@ -0,0 +1,20 @@
package lib
import p "git.teletypegames.org/games/pncdsl"
// Assets lists every asset the game references. Files don't need to
// exist on disk — the library substitutes deterministic colored
// placeholders for anything missing.
var Assets = []p.Asset{
{Name: "bg/bedroom", Path: "assets/bg/bedroom.png", Kind: p.AssetImage},
{Name: "bg/kitchen", Path: "assets/bg/kitchen.png", Kind: p.AssetImage},
{Name: "spr/key", Path: "assets/spr/key.png", Kind: p.AssetImage},
{Name: "spr/beans", Path: "assets/spr/beans.png", Kind: p.AssetImage},
{Name: "spr/mug", Path: "assets/spr/mug.png", Kind: p.AssetImage},
{Name: "spr/player", Path: "assets/spr/player.png", Kind: p.AssetImage},
{Name: "spr/cat", Path: "assets/spr/cat.png", Kind: p.AssetImage},
{Name: "mus/wakeup", Path: "assets/mus/wakeup.ogg", Kind: p.AssetAudio},
{Name: "mus/calm", Path: "assets/mus/calm.ogg", Kind: p.AssetAudio},
{Name: "snd/coffee_done", Path: "assets/snd/coffee_done.ogg", Kind: p.AssetAudio},
}