0.7.0: redrawn overworld, cities, and villages, and zone-graph procedural dungeons #63

Merged
ValleyGeek merged 69 commits from 0.7.0/city-redraws into main 2026-11-15 03:26:29 +00:00
Member

Summary

0.7.0 redraws the overworld, all seven cities, and every village, and replaces the dungeon floor generator with a zone-graph generator that has themed zones, safe camps, a hand-built boss hall, and seed-only floor saves. The branch sits on main 33cfa67 (0.6.1). The former 0.8.0/procedural-dungeons line is merged in. VERSION is 0.7.0 (MINOR: new and changed gameplay and a substantial graphical update, per docs/VERSIONING.md).

Overworld and roads

  • A continent surrounded by sea. The High Road winds through prairie, river forest, a red highland gorge, marsh, steppe, desert canyons, jungle coast, a snow pass, an ash plateau, and dead forest. Every leg walks its documented number of steps.
  • The High Road and paths are one tile wide. They follow smooth curves and diagonals and are drawn with lined edges, rounded corners, and slanted half tiles (RoadTiles). Grounds meet with ragged, dithered edges. There are forests, tiled mountain ranges, meandering rivers, and one-tile bridges.
  • Fourteen off-path places and three dead-end valleys. Stepping into an off-path place names it in a field note.
  • Overworld saves made on the straight prototype map relocate to the nearest settlement exit. A save standing on now-blocked ground moves to the nearest road, path, or exit (overworld_rev).
  • tools/map_layout.py and tools/overworld_paint.py write data/world/roads.json, the gate cells, and data/world/overworld.txt. tools/author_maps.gd bakes the scene from them.

Cities and villages

  • Calwen, Merris, Tolvane, Quenma, Hadrin, Solka, Yarith, Brenhal, Vorek, and Malrec are each redrawn with their own size, shape, gate court, and two or three gates. Side gates leave to the overworld on their own side, and the party arrives at the gate on the side it came from. Merris, Tolvane, and Yarith have open edges that leave the town when walked off.
  • Pelden, Odren, Skerri, Brem, Tallen, Ossen, and Heska are redrawn with their own map size and shape and a gate on up to every side. They use biome props, rail fences, stockades, and locked or empty houses.
  • Town biome props and basalt and rime walls. Town exit rules live in TownExit.
  • A town save whose cell is now blocked, off the map, or cut off from the streets moves the party to the town's spawn.

Procedural dungeons

  • DungeonGen (with DungeonBuild, DungeonOps, BossHall) builds sprawling floors of themed zones per biome from data/dungeon_zones.json on the new dungeon tile atlas. Every walkable cell can be reached from the up stairs.
  • About three floors in five hold a safe camp, a warded shrine, or a hunter's rest. No monster appears there and camping is never interrupted.
  • The last floor is a hand-built boss hall.
  • Saves store each layout as {gen, seed}. A layout from another generator version is dropped, and the party stands at the floor's entrance. A weekly regeneration stands the party at floor 1's entrance.
  • Floor standing spots and the teleport circle live in FloorSpots.

Tooling and data

  • tools/build_catalogs.py writes only its own catalogs (items, spells, enemies, towns, dialogue, styles, quests, floors, biomes). The unused south_gate field is gone from data/towns.json.
  • New probes: overworld_views, town_views, dungeon_shots. pad_view zeroes the encounter rate so a random battle cannot take the field before Start.
  • tools/check_town_map.py passes for all 17 maps.

Rebase notes

  • 0.7.0 was rebased onto main 33cfa67 with 60 commits replayed. Each CHANGELOG conflict took main's side and was rewritten at the end.
  • world_view.gd: main's UI language removed the field place banner and clock, so the city branch's banner lines were dropped. Off-path place names now come through the field note instead. The map-zoom tick and the held-direction timing were combined.
  • addons/world_maps/README.md: kept the city text and added main's check_town_map sentence.
  • game_manager.gd went over the 2000-line lint cap twice. TownExit (town exit side, closed-street line) and FloorSpots (circle, healer stand, south-of-stairs) were extracted, and the unused _hash_seed was removed. It is now 1950 lines.
  • The 0.8.0 commits were replayed onto the new 0.7.0. Its old "Merge origin/main" commit dropped out, and the 0.8.0 branch is deleted. The pre-rebase tips stay tagged dev-0.7.0-city-redraws and dev-0.8.0-procedural-dungeons.

Tests

  • tools/lint_gdscript.sh: clean (gdformat and gdlint, 124 files).
  • GUT: 134/134 passing. New: test_town_exit, test_floor_spots, an off-path place note test, plus the dungeon suite.
  • python3 -m unittest tools/art/test_art_owners.py: OK.
  • Probes: all 24 pass (battle_flow, battle_focus, battle_opening, boot_flow, calwen_town, controls, dev_menu, dungeon_shots, gate_court, menus, npc_services, overworld_views, pack_art, pad_view, scene_art, settings_dialog, settlements, status_tab, title_menu, town_pack, town_services, town_views, view_scale, waking_field).
  • UI tour: exit 0, 38 shots.
  • tools/check_town_map.py --brief: all 17 maps pass.
  • The playtest bot is not run (parked, #61).

Follow-ups

  • The playtest bot needs a refresh for the redrawn maps and zone-graph dungeons (#61).
  • Off-path places are named but hold no quests or items yet.
  • Consider a field HUD place name if the UI language wants one back.
## Summary 0.7.0 redraws the overworld, all seven cities, and every village, and replaces the dungeon floor generator with a zone-graph generator that has themed zones, safe camps, a hand-built boss hall, and seed-only floor saves. The branch sits on main 33cfa67 (0.6.1). The former 0.8.0/procedural-dungeons line is merged in. `VERSION` is **0.7.0** (MINOR: new and changed gameplay and a substantial graphical update, per docs/VERSIONING.md). ## Overworld and roads - A continent surrounded by sea. The High Road winds through prairie, river forest, a red highland gorge, marsh, steppe, desert canyons, jungle coast, a snow pass, an ash plateau, and dead forest. Every leg walks its documented number of steps. - The High Road and paths are one tile wide. They follow smooth curves and diagonals and are drawn with lined edges, rounded corners, and slanted half tiles (`RoadTiles`). Grounds meet with ragged, dithered edges. There are forests, tiled mountain ranges, meandering rivers, and one-tile bridges. - Fourteen off-path places and three dead-end valleys. Stepping into an off-path place names it in a field note. - Overworld saves made on the straight prototype map relocate to the nearest settlement exit. A save standing on now-blocked ground moves to the nearest road, path, or exit (`overworld_rev`). - `tools/map_layout.py` and `tools/overworld_paint.py` write `data/world/roads.json`, the gate cells, and `data/world/overworld.txt`. `tools/author_maps.gd` bakes the scene from them. ## Cities and villages - Calwen, Merris, Tolvane, Quenma, Hadrin, Solka, Yarith, Brenhal, Vorek, and Malrec are each redrawn with their own size, shape, gate court, and two or three gates. Side gates leave to the overworld on their own side, and the party arrives at the gate on the side it came from. Merris, Tolvane, and Yarith have open edges that leave the town when walked off. - Pelden, Odren, Skerri, Brem, Tallen, Ossen, and Heska are redrawn with their own map size and shape and a gate on up to every side. They use biome props, rail fences, stockades, and locked or empty houses. - Town biome props and basalt and rime walls. Town exit rules live in `TownExit`. - A town save whose cell is now blocked, off the map, or cut off from the streets moves the party to the town's spawn. ## Procedural dungeons - `DungeonGen` (with `DungeonBuild`, `DungeonOps`, `BossHall`) builds sprawling floors of themed zones per biome from `data/dungeon_zones.json` on the new dungeon tile atlas. Every walkable cell can be reached from the up stairs. - About three floors in five hold a safe camp, a warded shrine, or a hunter's rest. No monster appears there and camping is never interrupted. - The last floor is a hand-built boss hall. - Saves store each layout as `{gen, seed}`. A layout from another generator version is dropped, and the party stands at the floor's entrance. A weekly regeneration stands the party at floor 1's entrance. - Floor standing spots and the teleport circle live in `FloorSpots`. ## Tooling and data - `tools/build_catalogs.py` writes only its own catalogs (items, spells, enemies, towns, dialogue, styles, quests, floors, biomes). The unused `south_gate` field is gone from `data/towns.json`. - New probes: `overworld_views`, `town_views`, `dungeon_shots`. `pad_view` zeroes the encounter rate so a random battle cannot take the field before Start. - `tools/check_town_map.py` passes for all 17 maps. ## Rebase notes - 0.7.0 was rebased onto main 33cfa67 with 60 commits replayed. Each CHANGELOG conflict took main's side and was rewritten at the end. - `world_view.gd`: main's UI language removed the field place banner and clock, so the city branch's banner lines were dropped. Off-path place names now come through the field note instead. The map-zoom tick and the held-direction timing were combined. - `addons/world_maps/README.md`: kept the city text and added main's check_town_map sentence. - `game_manager.gd` went over the 2000-line lint cap twice. `TownExit` (town exit side, closed-street line) and `FloorSpots` (circle, healer stand, south-of-stairs) were extracted, and the unused `_hash_seed` was removed. It is now 1950 lines. - The 0.8.0 commits were replayed onto the new 0.7.0. Its old "Merge origin/main" commit dropped out, and the 0.8.0 branch is deleted. The pre-rebase tips stay tagged `dev-0.7.0-city-redraws` and `dev-0.8.0-procedural-dungeons`. ## Tests - `tools/lint_gdscript.sh`: clean (gdformat and gdlint, 124 files). - GUT: 134/134 passing. New: `test_town_exit`, `test_floor_spots`, an off-path place note test, plus the dungeon suite. - `python3 -m unittest tools/art/test_art_owners.py`: OK. - Probes: all 24 pass (battle_flow, battle_focus, battle_opening, boot_flow, calwen_town, controls, dev_menu, dungeon_shots, gate_court, menus, npc_services, overworld_views, pack_art, pad_view, scene_art, settings_dialog, settlements, status_tab, title_menu, town_pack, town_services, town_views, view_scale, waking_field). - UI tour: exit 0, 38 shots. - `tools/check_town_map.py --brief`: all 17 maps pass. - The playtest bot is not run (parked, #61). ## Follow-ups - The playtest bot needs a refresh for the redrawn maps and zone-graph dungeons (#61). - Off-path places are named but hold no quests or items yet. - Consider a field HUD place name if the UI language wants one back.
Grok added 69 commits 2026-11-15 02:07:02 +00:00
Brandon asked for each city after Calwen to be redrawn with interesting
buildings, landscaping, and decorations, using Calwen as the benchmark.
The atlas only carried Calwen's green-town dressing, so the other biomes
had nothing of their own to stand in their yards.

This adds cells cropped from the licensed HAS sheets already used by the
bake: palm, cactus, dead, snow, autumn, gnarled, frost, blight, fire, and
mushroom trees; tents, a flag, angel and idol statues, a crystal spire;
the Buildings Pack ore, gold, gems, crystal, sulfur, wagon, and skeleton;
and small litter from the biome LandTilesets. Litter is walked over like
flowers; every other new prop blocks like a tree. Two room-wall families,
basalt (wall_dark) and rime (wall_frost), are the stone run recolored, so
the dark and frozen cities need not reuse grey stone. The hearth already
is the campfire art, and the sheet has no anvil, so neither was added.

New ids append to tiles.json, so existing scenes keep their atlas cells;
the fringe rows move down to follow the longer id list. Town scenes are
unchanged here. tools/probes/town_views.gd renders any town for review
and opens every service.

Checks: gdscript lint clean; GUT 73/73 tests, 3943 asserts;
check_town_map.py ok for all nine cities.
Brandon asked for each city after Calwen to be redrawn with interesting
buildings, landscaping, and decorations, using Calwen as the benchmark.
Merris was one packed strip of rooms under a nearly square rampart, with
bare banks and a floating sandbar in the river.

Merris is now two rows of distinct rooms on a two-plank boardwalk: timber
boatwright, plaster clinic, the flagstone Piling Hall as the largest room,
and a timber Ferry Office to the north; the timber Net and Lamp, stone
River Gate, the Rootvault stair court, and a plaster Tackle Row on the
quay to the south. Two canals pass under the deck beside the gate lane,
with bridges, and the pier circle sits at the head of that lane. Outside
the stepped rampart the Ashwater has a curved grass bank, two flagged
timber jetties, islands, trees, and reeds. Every service, the south
court, the spawn, and the keepers-behind-counters rule are unchanged.

A save made while standing inside Merris keeps its cell, which may now
be a wall or room interior; saves are not rewritten.

Checks: check_town_map.py merris ok; gdscript lint clean; GUT 74/74
tests, 3972 asserts (new per-city dressing test); town_views probe
opened all 9 Merris services.
Tolvane was one shelf of rooms on a plain plaza. It is now a tall
stepped rampart up the Redscar gorge with four shelves joined by
cut-stone switchback stairs: High Bed and Shelf Gate by the gate stair,
Red Anvil and the Cliffwell stair on the second shelf, Bone-setter's
House and Shelf Market on the third, Cliff Hall across the top, and the
tower yard and circle under the Watch Tower. Mountain, rock, pines,
dead and gnarled trees, pebbles, twigs, and bones dress the scree.
Every service keeps its building id, keeper, and role; the gate and
spawn contract is unchanged.

A save made inside Tolvane keeps its cell, which may now be a wall.

Checks: check_town_map tolvane ok; lint clean; GUT 74/74, 3991 asserts;
probe opened all 9 Tolvane services.
Quenma had rooms along two boardwalk streets on dry ground. The mere now
runs under the fort: each service is a walk-in room on its own platform,
joined by a boardwalk causeway from the gate and short jetties, with reed
islets in the channels. Stilt Hall spans the peaked north end beside the
Mirekeep stair court; Dry Loft and Lamp Clinic stand west, Lantern House
and Reed Market east, Causeway Gate and Oilman's Stall flank the gate,
and the circle sits on a stone platform on the causeway. Pools, reed
beds, gnarled and dead trees, and shrooms dress the mud outside. Every
service keeps its building id, keeper, and role; the gate and spawn
contract is unchanged.

A save made inside Quenma keeps its cell, which may now be water or a wall.

Checks: check_town_map quenma ok; lint clean; GUT 74/74, 4018 asserts;
probe opened all 9 Quenma services.
Hadrin's rooms stood on a bare yard. The oval rampart now holds every
service as a walk-in room with its back to the ring: Caravan Hall as
the north keep, Trail Clinic and The Long Water above the cross track,
Mill Market and Wagon Yard below it, and Wind Gate and the Dusthall
stair court either side of the stone wagon road. A caravan camps in the
open yard with tents, wagons, a well, logs, and flags, and dunes,
cacti, bushes, dead trees, and bones dress the steppe outside. Every
service keeps its building id, keeper, and role; the gate and spawn
contract is unchanged.

A save made inside Hadrin keeps its cell, which may now be a wall.

Checks: check_town_map hadrin ok; lint clean; GUT 74/74, 4040 asserts;
probe opened all 8 Hadrin services. Playtest seeds 1,2,3 after Quenma:
all boss_defeated.
Solka's rooms stood on a plain sand court. The castle now has chamfered
north corners, four corner towers, and a stepped gatehouse: Shade Clinic
and Cistern House fill the north corner towers, Sun Hall stands at the
centre, Glassdeep and Salt Market face each other across the court, Cistern
Inn holds the south-west corner, and Sun Gate and Glasswright are the two
gatehouse rooms on the sun road. The cistern pond sits under palms in
the west court and salt traders camp in the east court. Dunes, cacti,
glass crystals, palms, and bones dress the sand outside. Every service
keeps its building id, keeper, and role; the gate and spawn contract is
unchanged.

A save made inside Solka keeps its cell, which may now be a wall.

Checks: check_town_map solka ok; lint clean; GUT 74/74, 4063 asserts;
probe opened all 9 Solka services.
Yarith's rooms stood along a plain quay. The palace now fills the upper
town, with Harbor Hall at the centre and Ropewalk and the Light Tower as
side towers, and a harbor basin fills the lower town with quays on both
sides and the gate road on a bridge. Vinedeep and Tide Clinic face each
other across the basin, The Salt Stair and Spice Market close the south
quay, Harbor Gate stands by the gate road, and the quay circle sits on a
paved square. Gardens fill the gaps inside; vineyards, orchards, a
lagoon, and the sea dress the outside. Every service keeps its building
id, keeper, and role; the gate and spawn contract is unchanged.

A save made inside Yarith keeps its cell, which may now be water or a wall.

Checks: check_town_map yarith ok; lint clean; GUT 74/74, 4090 asserts;
probe opened all 9 Yarith services.
Brenhal's rooms stood on a plain snow court. The palace now steps up from
low east and west wings to a tall centre block: Pass Hall and the
Whitevault stair are frost-walled, Frost Clinic and White Anvil hold the
upper wings, Fur Hall and The Closed Gate the lower wings, and the Pass
Gate checkpoint faces Whitevault across the High Road in the south court.
Snow pines, frost trees, two frozen ponds, and drifts fill the yard, and
peaks, ice, and frost crystals dress the snowfield outside. Every service
keeps its building id, keeper, and role; the gate and spawn contract is
unchanged.

A save made inside Brenhal keeps its cell, which may now be a wall.

Checks: check_town_map brenhal ok; lint clean; GUT 74/74, 4114 asserts;
probe opened all 8 Brenhal services.
Vorek's rooms stood on a plain ash court. The castle now has chamfered
corners with towers, side bastions, and a stepped gate. Ash Hall and the
Cinderdeep stair are dark-walled; the Foundry stands east of the avenue
with forge fires, ore, and gold beside a rock-rimmed lava pool that
leaves the path open; Ore Market and Cinderdeep hold the west; and the
thick-walled Cool Room, Ash Gate, and Cinder Clinic line the south. Ore
stacks, a wagon, fire trees, and cinders fill the yards, and lava
rivulets, sulfur, and bones dress the ash outside. Every service keeps
its building id, keeper, and role; the gate and spawn contract is
unchanged.

A save made inside Vorek keeps its cell, which may now be a wall or lava.

Checks: check_town_map vorek ok; lint clean; GUT 74/74, 4140 asserts;
probe opened all 8 Vorek services.
Malrec's rooms stood on a plain blighted court. The curtain now carries a
raised keep on the north wall and towered corner bastions. Black Hall
fills the keep, the Seal Court beside it is a stone hall of statues, an
old graveyard lies west of the hall, The Last Lamp and Night Clinic hold
the middle court, Pale Market and Keep Stores the lower court, and Black
Gate and the dark-walled Nightwell flank the gate square. Ruined statue
fountains, spires, and blight trees stand in the dead court, and blight,
ash, rock, idols, and skeletons dress the outside. Every service keeps
its building id, keeper, and role; the gate and spawn contract is
unchanged.

A save made inside Malrec keeps its cell, which may now be a wall.

Checks: check_town_map malrec ok; lint clean; GUT 74/74, 4165 asserts;
probe opened all 9 Malrec services.
Adds the blank line after the heading that the other sections use.
Pelden was one row of sheds under a long hall with a stone rampart. It
is now a hamlet of walk-in timber barns ringed by hedges and trees: the
granary barn and Field Shop on the north with a wheat strip between them,
The Two Fields and Herb Loft across the green, and the guild post and
Gate on the lower lane. A duck pond, well, logs, and flowers dress the
green, and a dry-stone field wall runs along the north. The village
profile drops the old row layout and wide footprint limits for this
shape. Every service keeps its building id, keeper, and role. The south
gate, arrival tile, and overworld landing are unchanged, so no warp or
trigger data moves.

Adds the village checks: each redrawn village is dressed, keepers stay
behind counters, and every village round-trips from its overworld
landing to its arrival tile, out through the gate, and back to the
landing.

A save made inside Pelden keeps its cell, which may now be a wall.

Checks: check_town_map pelden ok; lint clean; GUT 76/76, 4263 asserts;
probe opened all 7 Pelden services.
Odren was one street of rooms under a pier hall. The Ferry Dock is now a
timber room on piles out in the Ashwater, Ferry Gate stands on piles at
the end of a boardwalk quay that runs between two flood walls, and a
tree-lined street leads south to the gate past The Crossing, River
Clinic, Net Loft, and the guild post. Reeds line the wandering bank. The
village profile drops the old row layout and wide footprint limits. Every
service keeps its building id, keeper, and role. The south gate, arrival
tile, and overworld landing are unchanged, so no warp or trigger data
moves.

A save made inside Odren keeps its cell, which may now be water or a wall.

Checks: check_town_map odren ok; lint clean; GUT 76/76, 4289 asserts;
probe opened all 7 Odren services; the village round-trip test passes.
Skerri's sheds stood around a square rock yard. The yard now opens under
a mountain quarry face with cut stone, ore, and a haul wagon at the cut,
and a haul road runs from the gate to the quarry floor. The Quarry Office
faces the cut, the guild post and Yard Gate stand below it on the west,
and the bunkhouse, Stone Counter, and Setter's Shed line the east. Short
jagged retaining walls, rocks, dead trees, and litter dress the yard.
The village profile drops the old footprint limit. Every service keeps
its building id, keeper, and role. The south gate, arrival tile, and
overworld landing are unchanged, so no warp or trigger data moves.

A save made inside Skerri keeps its cell, which may now be a wall or rock.

Checks: check_town_map skerri ok; lint clean; GUT 76/76, 4303 asserts;
probe opened all 7 Skerri services; the village round-trip test passes.
Brem's sheds stood on a solid platform. They now stand on stilts over
open water, joined by a front walk under the smokehouse and Stilt Gate,
a boardwalk south across the water between reed clumps, and a plank
platform for the circle by the guild post and Lamp Room. Mud banks with
reed beds, gnarled trees, toadstools, and a broken stockade wander in
from the edges. The village profile drops the square footprint limits.
Every service keeps its building id, keeper, and role. The south gate,
arrival tile, and overworld landing are unchanged, so no warp or trigger
data moves.

A save made inside Brem keeps its cell, which may now be water or a wall.

Checks: check_town_map brem ok; lint clean; GUT 76/76, 4329 asserts;
probe opened all 7 Brem services; the village round-trip test passes.
Tallen's rooms stood in a square around a bare yard. A round low wall
now rings the stop: the Wagon Circle holds the north of the ring, The
Long Canvas and the guild post the upper sides, and Circle Gate and
Trail Cot the lower sides by the wagon road. The Water Stall becomes an
open-air counter under two tents beside the well; its keeper stands
behind the counter, closed in by the tents, well, and stores. A caravan
camps in the yard with tents, a wagon, and logs, and dunes, cacti, dead
trees, and bones lie on the sand outside. The canvas circle moves to the
north-west of the yard. The village profile drops the old footprint
limit. Every service keeps its building id, keeper, and role. The south
gate, arrival tile, and overworld landing are unchanged, so no warp or
trigger data moves.

A save made inside Tallen keeps its cell, which may now be a wall.

Checks: check_town_map tallen ok; lint clean; GUT 76/76, 4353 asserts;
probe opened all 7 Tallen services; the village round-trip test passes.
Ossen's rooms stood in rows on a small walled sand yard. They now stand
around a court with the cistern pond at its heart: the Well House with
the well inside across the north, Well Gate beside it, Shade Room and
Cistern Rest on the west, and the guild post and Dry-goods Stall on the
east. A lane runs from the gate past a traders' tent to the pond, palms
shade the water, and broken mud-brick wall arcs, dunes, cacti, and rocks
mark the edge. The village profile drops the square footprint limits.
Every service keeps its building id, keeper, and role. The south gate,
arrival tile, and overworld landing are unchanged, so no warp or trigger
data moves.

A save made inside Ossen keeps its cell, which may now be a wall or the pond.

Checks: check_town_map ossen ok; lint clean; GUT 76/76, 4371 asserts;
probe opened all 7 Ossen services; the village round-trip test passes.
Heska's huts stood inside a compact square rampart. They now huddle in a
snow hollow closed in by mountain, rock, snow pines, and frost trees: the
frost-walled bell shed and Refuge Gate on the north behind a cairn wall,
The Shut Door and Fur Stall either side of a log fire, and the guild post
and the frost-walled Warm Room on the lower path by the gate. Ice
patches, drifts, and frost lie on the snow. The village profile drops the
square footprint limits. Every service keeps its building id, keeper, and
role. The south gate, arrival tile, and overworld landing are unchanged,
so no warp or trigger data moves.

A save made inside Heska keeps its cell, which may now be a wall or rock.

Checks: check_town_map heska ok; lint clean; GUT 76/76, 4395 asserts;
probe opened all 7 Heska services; the village round-trip test passes.
Brandon found the redrawn villages formulaic: every one was a 20 by 20
square with the same south gate and a grid of rooms of one size. He asked
for more variety in shape, size, sprawl, and placement, a few houses,
farms, gathering spots and rural fixtures, some empty and some
inaccessible buildings, and small areas to explore.

Villages drop the shared template. A village plan is now its own width
and height (map_w and map_h in towns.json, map_side is the larger edge).
Gate tiles on the plan's edge are its exits, one per side, and the plan
line "primary SIDE" names the main gate, which sets the spawn and the
village guard. The baker writes a gate marker with its side and an
exit_gate marker for each other gate. MapBook builds gates and landings
per side. Entering from the overworld lands inside the gate on the side
the party came from. Leaving by a north, east, or west gate sets the
party on the overworld cell on that side of the village tile when that
cell is open ground, else on the south landing as before. Cities and
Calwen are unchanged. The surround view unrolls each side of a village
map from its tile, lined up on that side's gate. map_check compares a
village map with map_w and map_h and checks every gate tile.

check_town_map checks a gated village on its own terms: each gate on the
edge with a walkable landing, the main gate reaching every door and every
other gate with the guard post blocked, keepers sealed behind counters and
served from the front, region ground, and the quest site floor. The
rampart, footprint, layout, and junction rules no longer apply to
villages.

New dressing from the licensed HAS sheets already in the bake: a timber
stockade wall family from Universal-Buildings-and-walls, and ripe wheat
and furrow cells from Universal-Fields. A door tile with no building is a
locked door and says so when faced. A save inside a town whose cell is
now blocked or off the map moves to that town's spawn.

Pelden is 34 by 26 with gates north (main, the High Road spur), south,
and east. Winding dirt lanes join a green with a well, a duck pond, a
fire ring, and an open-air Field Shop stand. The granary barn stays the
largest room. An L-shaped inn, a stone gate lodge, a small herb loft and
a guild booth stand apart among an open field, a timber pen beside a
doorless hay barn, an orchard, and a shrine grove. One cottage is open
and empty; the orchard farmhouse is locked. A hidden track behind the
granary, the shrine grove, the herb garden, and an orchard bench are the
nooks.

The village round-trip test now enters by every gate from the overworld
and leaves by every gate, and checks each side opens onto open ground
that reaches a road.

Checks: gdscript lint clean; GUT 76/76 tests, 4714 asserts;
check_town_map.py ok for all 17 towns; town probe opens all seven
Pelden services.
Second village of the v2 pass Brandon asked for after finding the first
village redraws formulaic: each village gets its own size, shape, and
exits, a sparse organic layout, some empty and inaccessible buildings,
and small places to explore.

Odren is 40 by 14 along the north bank of the Ashwater. Its main gate is
on the north, where the spur from the High Road arrives, and the river
road leaves by gates at the west and east ends; each gate opens onto the
overworld on its own side of the village tile. One winding street runs
the length of the bank. The Ferry Dock is the timber hall on piles over
the water and stays the largest room. The inn, a guild booth, a stone
gate lodge, the River Clinic, and an open-air Net Loft stall sit at
different depths along the street. A pier runs out past the dock to a
bench, a boathouse in the river has no door, the cottage on the bank is
open and empty, and the cottage on the water is locked. A fenced
vegetable patch, a well and bench, a track behind the inn to a hidden
bench, and a reed bank fill the rest.

The authored-plan test now starts from a village's main landing, since
Odren has no south gate.

Checks: gdscript lint clean; GUT 76/76 tests, 4992 asserts;
check_town_map.py ok; town probe opens all seven Odren services.
Third village of the v2 pass Brandon asked for: its own size, shape, and
exits, a sparse organic layout, empty and inaccessible buildings, and
small places to explore.

Skerri is 22 by 30. The main gate is on the north, where the spur
arrives; a haul track leaves by the east gate and a lower track by the
south gate, each onto the path cells beside the village tile. Haul roads
wind down to a stepped quarry cut of crags and rock in the south-west.
The Quarry Office faces the cut and stays the largest room. The
Bunkhouse, a guild booth, a stone gate lodge, Setter's Shed, and an
open-air Stone Counter stall stand apart around a fire ring. The hut by
the lower track is open and empty, the dark powder store is locked, and
a roofless ruin has no door. A trail through the rocks ends at a lookout
bench, and a dead-end ledge in the cut holds old bones. Rocks are drawn
on dirt so no grass shows under them.

Checks: GUT 76/76 tests, 5244 asserts; check_town_map.py ok; town probe
opens all seven Skerri services.
A reed tuft is walkable dressing. Drawn on a water cell it made that cell
walkable, so the party could step onto open water at one cell in Odren
and four in Yarith. Those cells are plain water again.

check_town_map.py now rejects walkable dressing on water, lava, or sea in
every town plan.

Checks: GUT 76/76 tests; check_town_map.py ok for all 17 towns except
Brem's current plan, which the Brem redraw replaces next.
Fourth village of the v2 pass Brandon asked for: its own size, shape,
and exits, a sparse organic layout, empty and inaccessible buildings, and
small places to explore.

Brem is 24 by 18 and mostly open water. The main gate is on the north,
where a mud lane comes down the bank from the spur; a plank way leaves by
the south gate. The smokehouse on the north bank stays the largest shed.
Stilt Gate is now an open toll booth beside the lane. Boardwalks wander
over the water to a mud islet with a fire ring and the platform circle,
and on to The Smoke Loft, the Lamp Room, and the guild post, each on its
own platform. The Reed Stall is an open-air counter on the west walk.
The net shed is open and empty, a drowned hut in the corner has no door,
the east walk ends at a fishing bench, and a mud track behind the
smokehouse leads to a hidden bench. Reeds stay on mud, never on water.

Checks: gdscript lint clean; GUT 76/76 tests, 5329 asserts;
check_town_map.py ok; town probe opens all seven Brem services.
Fifth village of the v2 pass Brandon asked for: its own size, shape, and
exits, a sparse organic layout, empty and inaccessible buildings, and
small places to explore.

Tallen is 30 by 22. The main gate is on the north, where the spur
arrives, and the caravan road, the drovers' track, and the south trail
leave by gates on the east, west, and south; each opens onto the
overworld on its own side of the village tile. The roads wind in to an
open camp ground with tents, wagons, logs, and a fire ring. The Wagon
Circle barn stays the largest room, and the Water Stall stays an
open-air counter, now under an awning by the well on the east road. A
stone gate lodge, a guild booth, the Long Canvas, and Trail Cot stand
apart around the camp. The teamsters' lodge is locked, the wagon shed is
open and empty, and a small store has no door. A dry gully, a cactus
garden, and a dune lookout are the nooks.

Checks: GUT 76/76 tests, 5794 asserts; check_town_map.py ok; town probe
opens all seven Tallen services.
Sixth village of the v2 pass: its own size, shape, and exits, a sparse
organic layout, empty and inaccessible buildings, and small places to
explore.

Ossen is 26 by 24. The main gate is on the west, where the path from the
road comes in, and a dune track leaves by the south gate. Lanes wind
round one palm-shaded cistern pond on packed earth. The Well House
north of the pond stays the largest room and the water quest site; the
Dry-goods Stall is now an open-air counter under a sand awning. Well
Gate, Shade Room, Cistern Rest, and the guild booth stand apart around
the pond among traders' tents. The mud-brick house south of the pond is
open and empty, the stone house in the south-east is locked, and an old
cistern house has no door. Sand tracks lead to hidden benches in palm
groves in two corners.

Also sets Brem's size in build_catalogs.py to the 24 by 18 it was drawn
at.

Checks: GUT 76/76 tests, 5907 asserts; check_town_map.py ok; town probe
opens all seven Ossen services.
Last village of the v2 pass: its own size, shape, and exits, a sparse
organic layout, empty and inaccessible buildings, and small places to
explore.

Heska is 18 by 26, a tall hollow walled by mountain, snow pines, and
frost trees. It keeps a single gate, on the north where the spur comes
in; a refuge with one way in is the point of the place. A path winds
down past Refuge Gate, the Warm Room, a log fire on the slope, the Fur
Stall (now an open-air counter under an awning), the Shut Door, and a
guild booth to the Bell Shed at the foot, which stays the largest room
and the hunt and rescue site. A shut storehouse is locked and the hut
in the south-east is open and empty. A cairn shrine, a frozen tarn, and
a gap behind the guild post each end at a bench.

Also sets Heska's size in build_catalogs.py to 18 by 26.

Checks: lint ok; GUT 76/76 tests, 5913 asserts; check_town_map.py ok on
all 17 towns; town probe opens all seven Heska services.
Brandon asked for a last pass on the villages: lighter rural fencing
in place of the heavy stockade where it fits, and open stalls that each
have their own shape. The licensed sheets have no light fence or
blanket cell, so both are drawn in tools/bake_field_art.py in the
timber palette of the HAS stables pen and copy no cells.

rail is a wall family like stockade: the baker picks rail_<mask> from
the joined neighbours, and it blocks. rug is walkable ground dressing.
The tiles are appended to data/tiles.json, so every existing id keeps
its atlas cell; the fringe rows move down one band (sand 38, dirt 40,
grass 42, path 44, highroad 46). TownTile, check_town_map,
TechnicalOutline, THIRD_PARTY, and the CHANGELOG name them.

Checks: lint ok; GUT 76/76 tests, 5907 asserts.
Brandon's last village pass: service buildings should not all be
rectangles with a counter wall to wall, open stalls should each have
their own shape, edges should vary, and the heavy stockade should give
way to lighter fencing where a rural feel fits.

The granary is now an L-shaped barn and its keeper stands behind a short
corner counter in the far corner. The Gate is a one-room stone hut that
serves through a counter in its front window, and the guild post is a
timber kiosk with a window counter and an awning beside it. The Two
Fields keeps its back room of beds behind a door in the partition, with
a corner counter, a hearth, and a plank porch. Herb Loft has a notched
corner and a corner counter by the stove. The Field Shop is a farm cart
on the green: wagon, crate, and sacks around the farmer. The pen by the
hay barn is a low rail fence. There is no ring: a broken hedge runs on
the north and west, and the fields and orchard run out to the south and
east edges.

Size and gates are unchanged, so warps are unchanged.

Checks: GUT 76/76 tests; check_town_map.py ok; town probe opens all
seven Pelden services.
Part of the last village pass: varied footprints and short counters,
stalls with their own shapes, and edges that differ from village to
village.

The Ferry Dock hall steps back in a notch on the street side and its
clerk stands behind a short counter in the far corner. The Ferry Gate
is a one-room stone hut serving through a window counter. The
Crossing's innkeeper stands inside an island counter, with a plank
porch on the street. The guild post is a one-room hut with a corner
counter, and the River Clinic is a plaster house with a low west wing
and a corner counter. The Net Loft is a three-sided timber lean-to with
nets piled beside it. The vegetable patch has a low rail fence. The
river stays the south edge; the north is open meadow with a thin,
broken tree line instead of a ring.

Size and gates are unchanged, so warps are unchanged.

Checks: GUT 76/76 tests; check_town_map.py ok; town probe opens all
seven Odren services.
Part of the last village pass: varied footprints and short counters,
stalls with their own shapes, and edges that differ from village to
village.

The Quarry Office is an L-shaped stone building with a raised wing and
the foreman behind a short corner counter. The Yard Gate is a one-room
stone hut and the guild post a kiosk, both serving through window
counters. The Bunkhouse is two rooms, a common room with a corner
counter and a bunk room through a door in the partition. Setter's Shed
has a corner counter. The Stone Counter is now a ring of crates and cut
stone around the seller. The fire ring moves off the bunkhouse step.
Cliffs still close the pit on the west, east, and south, but the north
is loose scree that thins out instead of a wall of rock.

Size and gates are unchanged, so warps are unchanged.

Checks: GUT 76/76 tests; check_town_map.py ok; town probe opens all
seven Skerri services.
Part of the last village pass: varied footprints and short counters,
stalls with their own shapes, and edges that differ from village to
village.

The smokehouse is L-shaped, its curing wing out on piles, with the
smoker behind a corner counter. The Smoke Loft's innkeeper stands
inside an island counter. The Lamp Room is a plaster hut with a bay on
one corner and a corner counter, and the guild post has a corner
counter. Stilt Gate is a toll post between a flag and a strongbox with
a low rail behind it, and the bank's stockade becomes a rail. The Reed
Stall is reed mats spread on the planks round the weaver. The ring of
gnarled trees is gone: the marsh is the edge, with a few trees and
toadstools on the banks.

Size and gates are unchanged, so warps are unchanged.

Checks: GUT 76/76 tests; check_town_map.py ok; town probe opens all
seven Brem services.
Part of the last village pass: varied footprints and short counters,
stalls with their own shapes, and edges that differ from village to
village.

The Wagon Circle barn gains a bay porch on its south side and the wagon
master stands behind a corner counter. Circle Gate is a one-room stone
hut serving through a window counter. The Long Canvas has the innkeeper
inside an island counter and a back room of cots through a door in the
partition. Trail Cot is a small hut with a bay and a corner counter, and
the guild post has a corner counter. The Water Stall is a water wagon
and a cask under a blue canvas shade. The edge ring is gone: rocks,
dunes, and cacti thin out into open desert, with a few stretches of an
old broken mud wall.

Size and gates are unchanged, so warps are unchanged.

Checks: GUT 76/76 tests; check_town_map.py ok; town probe opens all
seven Tallen services.
Part of the last village pass: Ossen and Heska were the tightest
villages, so Ossen grows from 26 by 24 to 38 by 30 with more open sand
and its nooks far apart, and it gets varied buildings, a stall of its
own, and an edge that is not a ring.

The main gate stays on the west and the south gate stays; a new east
gate opens onto the salt road on the east side of the village tile. The
Well House is a T-shaped hall with its keeper inside an island counter.
Well Gate and the guild post are one-room huts serving through window
counters. Shade Room has a low annex and a corner counter. Cistern Rest
has a corner counter and a back room of beds. The Dry-goods Stall is a
carpet spread on the ground with gold and gems round the trader. Dunes
drift in on the south and east, old wall stubs stand on the west and
north, and the north sand is open.

Warps: towns.json map_w and map_h (and the build_catalogs size table)
are 38 and 30. The baker writes an exit_gate marker for the east gate,
and MapBook leaves by it to the open cell east of the village tile. The
round-trip test enters and leaves by all three gates.

Checks: GUT 76/76 tests, 6076 asserts; check_town_map.py ok; town probe
opens all seven Ossen services.
Part of the last village pass: Heska was the tightest village, so it
grows from 18 by 26 to 30 by 32 with more open snow and its nooks far
apart, and it gets varied buildings, a stall of its own, and an edge
that is not a ring.

The main gate stays on the north; a new east gate opens onto the pass
track on the east side of the village tile. Refuge Gate is a one-room
stone hut serving through a window counter. The Warm Room has a bay and
a corner counter. The Shut Door is an L-shaped inn with a corner counter
and a wing of beds. The guild post and the Bell Shed have corner
counters. The Fur Stall is the trapper between two frames of hung hides.
Mountain and pines wall the west and east, the north edge is broken
pines, and the south opens onto a snowfield. Nooks: a cairn shrine, a
frozen tarn, a gap behind the guild post, and a frost grove.

Warps: towns.json map_w and map_h (and the build_catalogs size table)
are 30 and 32. The baker writes an exit_gate marker for the east gate,
and MapBook leaves by it to the open cell east of the village tile. The
round-trip test enters and leaves by both gates.

Checks: lint ok; GUT 76/76 tests, 6155 asserts; check_town_map.py ok;
town probe opens all seven Heska services.
Ten cells from Universal-Trees-And-Mountains join the field atlas: green,
pine, and snow forest fills, brown, sand, slate, and snow mountain ranges,
and lone sand, slate, and snow peaks. All of them block a step. The fringe
rows move down one row to make room.
The High Road is now a chain of straight runs between gates that doubles
back across the map instead of a straight strip. Every leg keeps its
documented tile count, so walking the road takes as long as before.
tools/map_layout.py lays out the gates, legs, village paths, tracks, and
city plots, and tools/overworld_paint.py paints regions, forests, ranges,
rivers, lakes, narrows, coasts, and fourteen named off-path places into
data/world/overworld.txt, which author_maps bakes into the scene.

RoadNet indexes road and path cells for MapBook, SettlementPlot, MapCheck,
and the bake. Loading an overworld save made on the old map moves the
party to the new exit of the nearest old settlement; a saved cell that is
now blocked or off the map moves to the nearest open road, path, or exit.
New tests walk every leg, every gate and dungeon entrance round trip,
off-path reachability, encounter coverage, and save relocation.
World 1.2 records the scale: one tile per step at four tiles a second,
each leg walking its documented tiles, with straight-line gaps about two
thirds of the walk. World 1.4 lists each region's ground, open and tight
ground, the off-path places, and the dead-end valleys. The Technical
Outline gives the new gate, village, and track cells, the plan file, and
the save relocation rule.
Overworld High Road and path cells are drawn from the road sheet's edge
pieces over the ground beside them: 47 shapes from the eight neighbours,
so road sides are lined and corners round. A ground cell with road on two
adjacent sides gets a slanted half tile, so a staircase of single steps
reads as one diagonal edge. Overworld grounds now meet with ragged,
dithered edges, including mud, ash, snow, and blight; town and dungeon
maps keep the narrow fringe.
Each High Road leg is a centripetal Catmull-Rom spline through its gates
and the middle of each run of its corridor sketch, bent by smooth noise
that leans away from high hill noise, and rasterized to single steps.
Every leg still walks its documented tile count (tolerance 2 tiles, all
exact today); the chosen bend for each leg is fixed in LEG_SHAPES and
--tune searches again. The second road tile now sits on the right-hand
side of each step, in Python and RoadNet alike. Village paths and tracks
curve off the road, rivers meander around the road network without new
crossings, the desert ridges taper, and scrub breaks up bare Redscar.
The overworld probe can render listed cells into a chosen folder.
World 1.2 describes the curved legs and their two-tile tolerance. The
Technical Outline covers the spline layout, the right-hand road twin, the
moved village and track cells, curved rivers, the road edge pieces, and
the soft overworld ground edges.
A city plan with gate tiles is now its own width and height, like a
village plan, and draws each gate court itself: the outer rank is a row
of gate tiles on the map edge, the middle rank the highroad checkpoint.
towns.json may set "court" to fix the court span for a sized city.
Side gates of a city open beside its overworld building, as village side
gates do, and a city lands the party on the gate of the side it enters.
check_town_map checks sized cities (courts, checkpoint leaks, reach,
keepers, guild hall, outline). A loaded save on a cell that is open but
walled off from the streets moves to the spawn. Tests walk every gate
pair of every town and check sized city courts and outlines.
The Ashwater fills the north with two jetties and a drowned boat shed;
a boardwalk quay runs the shore and a canal crosses it into a market
basin. Piling Hall (largest room) stands on the canal bank, the docks
hold the Boatwright, Ferry Office and a locked warehouse, the west is
houses, Stillwater Clinic and The Net and Lamp round a well square, and
River Gate and the Rootvault stair court flank the south gate. A stepped
rampart closes the south, a rail palisade the reed marsh on the west and
east. Gates: south (road, main), west towpath, east wharf road.
The High Road was two tiles wide, the second tile on the right-hand side
of each step. It is now its centre-line steps only, like the paths:
map_layout.py drops the second tile and RoadNet no longer adds it, so the
painter and the runtime index still agree. Each leg still walks its
documented count exactly, the gates are unchanged, and bridges are one
tile. The road edge pieces and the slanted half tiles in the open corners
of a diagonal staircase draw the one-tile road as a smooth band.

A leg may no longer turn back beside itself within eight steps; the
Calwen-Merris and Solka-Yarith legs are re-laid without their hairpins
(LEG_SHAPES updated). Some village paths, tracks, and the Merris, Quenma,
Yarith, and Brenhal buildings sit a few tiles from where they were, since
they now meet a narrower road; the site table in TechnicalOutline follows.
A test checks the road is only its centre line and never forms a two-by-
two block away from a gate. Docs and CHANGELOG updated.
Cliffs of mountain and rock close the gorge on both sides, narrowing to
the north. Rock ledges split it into four terraces joined by switchback
stairs. The lower terrace is the gate square with Shelf Gate, a roomy
Shelf Market hall (counter, rugs, ore, gems, stores; no longer cramped)
and The High Bed in the west cliff. The second terrace is the forge
quarter: Red Anvil's forge hall with an island counter and the Bone-
setter's House. The third is civic: Cliff Hall (largest room) and the
tower-yard circle on a flagged square, with a goat pen. The top shelf
holds the Watch Tower, the Cliffwell stair room, a quarry yard and an
angel shrine. Cliff dwellings, some locked or doorless, fill the gaps.
Gates: south (road, main) and north up onto the shelf.
A ragged mud-and-grass island stands in open water, ringed by a timber
stockade, with islets and reeds in the shallows. Boardwalk streets wind
from the gates to a boardwalk square where the Reed Market and the
Oilman's stall stand in their crates beside a well and the platform
circle. Stilt Hall (largest room) is the peaked timber hall on the north
rise; The Dry Loft has a common room and a bunk room on the west, Lamp
Clinic is on the east, and the Lantern House guides stand by the north
gate. Causeway Gate's office watches the south causeway, and a bridge
leads to Mirekeep's stair room on its own islet. Stilt huts (some locked
or doorless) and fish racks fill the rest. Gates: south causeway (main),
east boardwalk, and north marsh walk.
An oval rampart with towers rings packed earth on the open barrens. A
ring street runs inside the wall with spokes to the sand wagon yard in
the middle, where wagons and tents stand round a trough well and the
yard circle. Caravan Hall (largest room) is the keep on the north arc;
Mill Market is a plaster hall with a long counter in the east; Wagon
Yard keeps a stable shed on the yard. The Long Water inn and Trail
Clinic stand on the west, with a caravan camp by the west gate. Wind
Gate's office and the sunken Dusthall stair court flank the south gate.
Houses round the ring, some locked or roofless. Gates: south (road,
main), west, and east on the caravan roads.
Open ground outside a rampart runs to the map edge, so the outline test
now counts row spans of the cells reachable from the spawn, as
check_town_map does.
A bowed curtain wall with four square corner bastions stands on the
sand; long gate passages run in from the south, east, and north. A sun
avenue climbs from the south gate to a flagged cistern court with the
one pond, palms, benches, and the court circle. Sun Hall (largest room)
stands north of the court; the stone Cistern House with its well is
beside it. The salt market by the east gate is a booth among tents and a
wagon. The glass quarter on the west holds the Glasswright's furnace hall
with gems and crystal and the Glassdeep stair room. Cistern Inn, Shade
Clinic, and Sun Gate's office stand in the south. Mud-brick houses fill
the lanes, some locked or roofless. Gates: south (road, main), east salt
road, north.
The sea fills the west, with a sandy shore, a mud flat with reeds, and a
small harbor basin. A two-plank quay runs the whole waterfront, and a
breakwater runs out to the Light Tower. The palace wall closes the south
and east only; vineyards lie outside the east wall. Harbor Hall (largest
room) is the palace on the rise, with statues, angels, and a stone tower
on each side. The spice market is a booth among tents on the quay beside
the quay circle; the Ropewalk is a long timber shed of rope coils along
the south-west quay. The Salt Stair inn stands by the east gate, Tide
Clinic on the middle terrace, Vinedeep's stair room in the east garden,
and Harbor Gate's office by the south gate, by a fountain square.
Houses and gardens fill the rest, some locked or roofless. Gates: south
(road, main), east vineyard road, and north.
Mountain faces close the west and east, so the frost rampart only runs
across the valley on the north and south, with a gate in each: south
(road, main) and north (up the pass). An ice grotto is cut into the
west face. Pass Hall (largest room) is a T-shaped frost hall across the
axis, with a ring street round it to the pass yard and its circle. The
fur market lies west round Fur Hall and its square; White Anvil and the
Whitevault stair house stand east below the frozen tarn and its shrine.
The Closed Gate inn, Frost Clinic, and the Pass Gate office line the
lower town by the south gate. Houses fill the rest, some locked or
roofless.
A squat, leaning curtain with corner towers stands on the ash, with
gates south (road, main) and west. Inside is dirt, with ash drifts
under the keep and a slag yard in the south-east. A lava vent pool
burns beside the Foundry, and its channel runs east under a bridge and
out through the wall. Ash Hall (largest room) is the keep on the north,
over the forge cross and its circle-free square. The Foundry has a
counter in the middle of its floor, with the circle in the foundry court
before it. The ore market is a booth on its own square to the west, and
the Cinderdeep stair house sits in an ash crater in the north-west. The
Cool Room inn, Cinder Clinic, and the Ash Gate office fill the lower
town. Houses fill the rest, some locked or roofless.
A bowed rampart with four corner bastions stands on the blight, with a
seven-rank gate court on the south (road, main), east, and west. The
ground inside is no longer flat blight: dirt streets of the living town,
ash where the fires were, and blight creeping in, with cracks, bones,
and blight trees. Black Hall (largest room) is the keep on the north;
the Seal Court beside it is a hall of statues and angels around its
counter. The circle sits in the middle of the court where the three gate
roads meet. The Pale Market booth has its own square to the west, Keep
Stores sits by the north-west bastion, and the Nightwell stair house
stands over a blight crack in the south-east. The Last Lamp inn, Night
Clinic, and the Black Gate office fill the lower town, with a graveyard
by the south-west bastion. Houses fill the rest, some locked or roofless.
The redrawn cities test wants more yard dressing than twice the map
side; Brenhal had 102 of 128 because the mountain flanks take so much
of the map. More snow pines, frost trees, drifts, and rocks stand in
the valley and the town.
The probe still wanted Malrec at 46 by 54 and Pelden at 20 by 20. It now
wants Malrec at 60 by 56 and Pelden at 34 by 26, the sizes their plans
bake to.
World.md §2 now gives each city's map width and height, court side, and
gates in the city table, says how a city's outline follows its ground,
and describes each redrawn city's districts, edges, and buildings. The
catalog builder reads the new table, so a rebuilt towns.json keeps each
city's map_w, map_h, and court, and it now reads the boss from the boss
column instead of the court column. CHANGELOG lists the redrawn cities,
the side gates, and the save move for cells cut off from the streets.
Calwen now uses the sized city plan like the other nine: its own width
and height, a three-rank court on each gate, and gates south (the
waking path, main), east (toward Merris), and north (onto the meadow).
The overworld building, its south and east entrances, the landings at
(0, 1) and (1, 0), and the Calwen-Merris leg are unchanged.

The Calwen brook runs down the west edge as the town's west wall, and a
winding rampart closes the rest. The High Road climbs to a paved market
square round the Town Well board, whose keeper stands closed in behind
the well and two benches. Guild Hall (largest room, island counter) and
its yard circle stand in the north-west, Green Stair in a ruined court
under the north wall, Penny Market off the square, Timber Stall as an
open-air stand in a lumber yard by the east road, Herb Cottage by the
brook, and the Wayhouse and South Gate office on the road quarter.
A millpond shrine, allotments, and houses (open, locked, doorless) fill
the rest.

The field past each gate now unrolls from the cell that gate leaves to,
so the north field no longer crosses Calwen's own building
(TownSurround.side_anchors). The pause after a jump to a new map is
timed on the game clock instead of the wall clock, so a held direction
waits the same number of frames at any speed; on the wall clock a fast
headless run held the key for hundreds of frames at Calwen's gate, which
the playtest bot reported as a cell it could not step onto.

Tests and probes read Calwen's size from towns.json, the round trip now
covers Calwen's three gates, and the catalog builder keeps Calwen's
map_w, map_h, and court.
The playtester is no longer a standard check. AGENTS.md no longer tells
agents to run it after map, art, menu, or opening changes, and Technical
Outline §11.1 says it is sidelined and lists the standard checks
instead. tools/run_tests.sh and CI never called it, so they are
unchanged. The harness stays in tools/playtest/ and still runs by hand;
run.sh and a new tools/playtest/README.md mark it as sidelined and list
what is stale. The PlaytestState GUT test stays in the default run: it
checks that the game's read-only export is inert without --playtest,
not the bot's navigation.
Three cities let the streets reach the map edge away from a gate: the
Merris riverbank north of the east court, the top of the Tolvane gorge
on either side of the north gate, and both ends of the open Yarith quay.
Walking into that edge did nothing, and the view drew a tree line past it.

Each open edge is now marked where the town ends: a signpost, a broken
rail fence with flag posts, and a trail of path to the edge (two gaps
across the Tolvane gorge top, one at Merris, and one at each end of the
Yarith quay; the slot between two Tolvane houses is fenced shut).

MapBook keeps each town's open edges (the edge cells other than the gate
that the streets reach from the spawn without passing a gate tile). In a
city, a step off the map from one leaves the town by the side walked
toward when that side has a gate, is the south side, or opens onto
overworld ground, and by the nearest gate otherwise. Merris east lands
on the east gate's exit, Tolvane north on the north gate's exit, and the
Yarith quay on the north exit or the south landing. The field past an
open edge is drawn as open overworld, with mountain, forest, or tree
there swapped for the edge ground. A village edge stays closed.

A new test walks off every open edge of every town: cities land on the
side's exit on open ground with open field drawn past, villages stay in
town, and only Merris, Tolvane, and Yarith have open edges, each with a
signpost.
build_catalogs.py writes items, spells, enemies, towns, dialogue,
styles, quests, floors, and biomes from docs/World.md. It no longer
writes data/tiles.json or data/world/roads.json, reads the village
table up to its last row, takes village sizes without a default, and
places each city's map_w, map_h, and court after inn_tier as in
data/towns.json. The Technical Outline and the World Maps README list
the files it writes.
No script, test, or tool reads a town's south_gate key. build_catalogs.py no longer writes it, and data/towns.json matches its output.
Move town exit rules into TownExit and keep the pad probe free of encounters
All checks were successful
CI / test (push) Successful in 21s
CI / lint (push) Successful in 31s
CI / release (push) Successful in 1m5s
d87745a750
game_manager.gd stays under the 2000-line lint cap. TownExit decides which side a town step leaves by and what a closed street says. The pad_view probe zeroes the encounter rate so a random battle cannot take the field before Start opens pause.
assets/tiles/dungeon.png is a second 32-pixel atlas of 436 cells baked by
tools/bake_dungeon_art.py from the licensed HAS Overworld 2.1 and Buildings
Pack sheets under ANIMRPG_ART_ROOT: biome grounds, decals, canopy and rock
walls, trees, crags, props, and multi-tile set pieces. Dungeon art used to
come from the single wall/floor/cave cells in terrain.png.

data/world/dungeon_zones.json, written by tools/build_dungeon_zones.py, lists
103 zone kinds and a palette for each of the 17 floor biomes: the zones a
biome may use and their weights, its grounds, walls, fluids, and prop slots.
THIRD_PARTY.md credits the new atlas.
DungeonGen builds a floor from a seed. It grows a connected graph of zones on
a chunk grid from the landing, adds a camp, treasure nook, dead ends, and a
champion's ring, and sets the descent in the zone farthest from the landing.
Zone painters from data/world/dungeon_zones.json shape and dress each zone
with the floor biome's own grounds, walls, fluids, props, and set pieces.
Blockers are only placed where they keep their neighbours joined, and a final
flood fill tunnels any cut-off pocket back to the stairs. Stone dungeon and
Ancient ruins floors get a lever, a button, and doors and seals on optional
branches only. Each layout carries its generator version (GEN 2) and seed.

BossHall is the hand-built last floor. tools/probes/dungeon_shots.gd renders
whole floors to PNG for review. This replaces the single rectangular rooms
joined by corridors that every floor used.
Floors now come from DungeonGen and draw from the dungeon atlas. A new game
salts every floor seed, so each run gets new layouts and a playtest seed
still repeats. Steps and camping on a safe-camp cell start no battle. Saves
store each floor's generator version and seed instead of its cells; loading
regenerates the floor from that seed and keeps the party's cell. A save from
the old generator drops that layout and its chest and switch flags and stands
the party at the floor entrance. The weekly reshuffle now also moves the
party to floor 1's entrance instead of leaving it at the old cell.
tests/test_dungeons.gd checks that one seed gives one floor and new seeds give
new floors and stair positions, that 200 seeds per biome are completable
in every lever and button state, that floors use only their biome's zones
and real atlas cells, that safe camps draw no encounter and allow
uninterrupted rest, and that mid-floor and old-generator saves load as
documented.
GameDesign §3.4 describes floors as sprawls of themed zones with safe camps
instead of 5x5 chunks or tile noise. World §6 adds the shared zones and each
biome's walls, camp, and zone list; with World §4 it maps every dungeon floor
to its theme. TechnicalOutline §8 gives the seed, salt, sizes, growth,
painters, connectivity pass, layout fields, and generator version; §10 gives
the save and migration rule; §11 adds the dungeon tests and the render probe.
CHANGELOG [Unreleased] lists the player-facing changes.
Move floor standing spots and the teleport circle into FloorSpots
All checks were successful
CI / lint (push) Successful in 29s
CI / test (push) Successful in 2m57s
CI / release (push) Successful in 1m10s
43757f2bdc
game_manager.gd stays under the 2000-line lint cap with the dungeon generator in place. The unused _hash_seed is gone; DungeonGen.floor_seed seeds floors.
The field banner that showed the place name is gone from the field HUD, so stepping into a landmark's radius from outside it says the name through the field note. The playtest README describes the harness against the zone-graph dungeons.
Set VERSION to 0.7.0 and write the 0.7.0 changelog
All checks were successful
CI / lint (push) Successful in 31s
CI / lint (pull_request) Successful in 29s
CI / test (push) Successful in 3m1s
CI / release (push) Successful in 1m7s
CI / test (pull_request) Successful in 2m58s
CI / release (pull_request) Has been skipped
d5fca09bfd
The 0.7.0 section covers the redrawn overworld, cities, and villages, the off-path places, the zone-graph dungeon floors with safe camps and seed saves, and build_catalogs writing only its own catalogs.
ValleyGeek deleted branch 0.7.0/city-redraws 2026-11-15 03:26:29 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ai-collab/animrpg202610!63
No description provided.