feat(loader): load combinations.yaml; demo matches+torch -> lit_torch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-01 17:38:17 +02:00
parent 8257eb0c02
commit 4ab5ad9d42
8 changed files with 99 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
- a: matches
b: torch
consume: [matches, torch]
produce: lit_torch
response: |
You strike a match and touch it to the torch; it catches with a low hiss
and burns steady. You now hold a lit torch.

View File

@@ -47,3 +47,19 @@
You ease the door shut again.
effects:
- { setFlag: fled }
- type: plain
id: matches
name: Box of Matches
description: A small box of dry matches. They rattle when you shake it.
- type: plain
id: torch
name: Unlit Torch
description: A pitch-soaked torch, waiting for a flame.
- type: plain
id: lit_torch
name: Lit Torch
description: A burning torch, throwing back the dark.
light: true

View File

@@ -23,7 +23,7 @@
exits:
south: kitchen
west: library
items: []
items: [torch]
npcs: []
- id: library
@@ -33,7 +33,7 @@
An old chest stands in the corner.
exits:
east: hallway
items: [shovel]
items: [shovel, matches]
npcs: []
- id: cellar