Skip to content

Give city hall and the town square their landmark ground - #52

Merged
Sagyam merged 1 commit into
mainfrom
claude/landmark-ground
Nov 26, 2026
Merged

Sagyam merged 1 commit into
mainfrom
claude/landmark-ground

Conversation

@Sagyam

@Sagyam Sagyam commented Nov 26, 2026

Copy link
Copy Markdown
Owner

First step of the landmark plan: landmarks can now stand on sites bigger than a lot.

What changes

  • Landmark sites (SITES in layout.rs): a landmark spans several slots, both rows deep — a half block (2 × 2 lots) or a whole block (4 × 2).
  • Civic Centre (new block at (1, −2), north of Church Hill across Mill Lane): city hall (L5) in the west half, the town square (L6) in the east half, both facing Church Hill. It's a new neighbourhood, so finishing it is a set.
  • Nothing else moves. A landmark still takes its turn in its district's slots, so the water, power and other civic lots after it keep their places. The two Church Hill lots that city hall and the square leave stay empty for a later civic building.
  • App:
    • LotInfo now carries cols and rows (they default to 1, so older daemons and clients still work).
    • Buildings are centred on their sites. City hall gets a stone forecourt with lawns, flagpoles, lamps and benches, plane trees down both sides, and a garden behind.
    • The square is laid out at half-block size around a larger fountain, ringed with lime trees and benches.
    • An unbuilt site is drawn as one staked plot, and clicking anywhere on a site selects its building.
  • Docs: the GAME.md ground section covers landmark sites. The roadmap gets the agreed landmark table (site and the level each unlocks at), and why landmarks are unlocks rather than needs: adding a need to a level a player has passed would undo their graduation on the next fold.

Effect on existing cities

Players who have built city hall or the square see it move to the Civic Centre on upgrade. Its address changes; its name and history stay.

Tested

  • cargo test, cargo clippy --all-targets, bun test, tsc --noEmit.
  • ui/src/layout.json regenerated (UPDATE_FIXTURES=1 cargo test).
  • Checked by eye in ?mock=metropolis (both built) and ?mock=city (square built, city hall's site still empty).

🤖 Generated with Claude Code

Landmarks now stand on sites of several slots, both rows deep: a half
block (2 x 2 lots) or a whole one. The first landmark block, the Civic
Centre north of Church Hill across Mill Lane, holds city hall in its west
half and the town square in its east half, both facing Church Hill.
A landmark still takes its turn in its district's slots, so no other lot
moves; the two lots they leave in Church Hill stay empty for later.

Lots carry their span (cols, rows) to the app, which centres a landmark
on its site, gives city hall a forecourt with lawns, flagpoles and lamps
and a garden behind, lays the square out at its new size round a bigger
fountain, and draws an unbuilt site as one staked plot. Picking tests the
site's rectangle.

The roadmap gets the agreed landmark plan: sites, the level each unlocks
at, and why they are unlocks rather than needs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Sagyam
Sagyam merged commit 471840d into main Nov 26, 2026
7 checks passed
@Sagyam
Sagyam deleted the claude/landmark-ground branch November 26, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant