Extended ThingTemplate with optional container fields (capacity, closed, locked). When a template includes capacity, spawn_thing now creates a Container instead of a regular Thing. Added two example container templates: - chest.toml: non-portable, capacity 5, starts closed - sack.toml: portable, capacity 3, starts open |
||
|---|---|---|
| .. | ||
| chest.toml | ||
| fountain.toml | ||
| rock.toml | ||
| sack.toml | ||