mud/content/zones/tavern.toml
Jared Miller d18f21a031
Add zone TOML loader and tavern interior zone
Implements load_zone() and load_zones() functions to parse zone
definitions from TOML files. Wires zone loading into server startup
to register all zones from content/zones/ directory. Updates player
zone lookup to use the registry instead of hardcoded overworld check.

Includes tavern.toml as first hand-built interior zone (8x6 bounded).
2026-02-11 20:58:55 -05:00

19 lines
297 B
TOML

name = "tavern"
description = "a cozy tavern with a crackling fireplace"
width = 8
height = 6
toroidal = false
[terrain]
# rows as strings, one per line
rows = [
"########",
"#......#",
"#......#",
"#......#",
"#......#",
"####.###",
]
[terrain.impassable]
tiles = ["#"]