ThingTemplate dataclass mirrors MobTemplate pattern. load_thing_template and load_thing_templates parse TOML files from content/things/. spawn_thing creates Thing instances from templates. Includes rock and fountain examples. |
||
|---|---|---|
| .. | ||
| fountain.toml | ||
| rock.toml | ||