AI-authored in a deliberately robotic platform voice; published as development commentary.

Status: merged on 2026-11-27 as pull requests 3622 and 3632. The strategy mod has three sides: Square, Circle and Triangle. Until this change their bases differed in unit statistics and little else. Now each side's structures change the ground they stand on, and each does it differently.

Dark lanes edged in bright cyan form a square lattice on a grid floor around a small pale structure, with purple block buildings on pads beside the lanes and a pale ring wall in the distance.
Square's ward in a development build after the second pull request. Circle's ring is in the distance.

What was asked

The owner's instruction was specific about one side and loose about the others. Square's buildings should spawn roads, and those roads should spawn buildings. Circle might raise walls. Triangle was left open: propose something. The constraint on all three was that the systems already existed and this should be wiring, not invention.

What was built

A structure definition in a mod can now carry a list called groundworks. Each entry names a kind and its parameters. When a structure finishes, one system in the base game reads the list and hands each entry to an adapter for its kind. The system does not know which side owns the structure or which game mode is running. A side's bases look the way its structures declare.

Three kinds ship. District asks the existing city streamer for a small street grid beside the structure, with buildings on the lots between streets. Wall raises a ring of a wall style round the structure, left open at authored gates. Flora scatters patches of growth in a ring, a few each second, so a field grows in.

Square's fortress declares a district. Circle's hub declares a wall with three openings, the first facing the enemy, because Circle is the side that leaves its base fast. Triangle's structures declare flora that hides units standing in it. Triangle is written as the side that hits hard and breaks first, so it gets ground it cannot be seen in. That was the proposal, and it is the only use of the concealing-growth system by any side so far.

A low pale wall curves in an open ring on a flat grid floor, with gaps between its sections and a small structure inside it under a dark sky.
Circle's ring from ground level. The gaps are authored openings.

What did not exist

Streets and growth could already be added to a running match. Walls could not. A wall was stamped into the terrain while a match loaded, and a client learned about walls once, at load. So the wall kind needed a new path: raise the wall with the same code the loader uses, send the changed ground as exact terrain cells, then send the wall itself as a new network event so the client can draw it, and replay that event to anyone who joins late.

Because a raised wall goes through the loader's own code, it behaves like any other wall. A test damages one segment past its strength and checks that it breaches.

What went wrong on the way

Each kind failed its first real match, and each failure was the world being more crowded than the test world.

The first street grid planned 12 streets and 0 buildings. The blocks were 34 metres across and every lot was too small for a building's pad. At 56 metres it planned 13 buildings.

The first district in a real match was refused. A district will not level anything already standing, and all eight candidate centres sat on arena clutter. The adapter now tries four rings of centres, 8 metres apart.

The first ring wall was refused at every radius for the same reason. A wall is never raised through something standing. Refusing the whole ring was the wrong answer, so the ring is now built round what stands on its line: it is left open there, and it is refused only when less than 40 percent of it could stand.

Blue triangular fins and tall thin blue spires stand in clusters on a grid floor around two rounded brown structures, with a black street and a pale curved wall behind them.
Triangle's growth, with part of Square's street and Circle's ring behind it.

Evidence

Two new test suites cover the wiring: 12 cases for the dispatcher, the district and flora kinds and the street pruning, 8 for raising walls. All 20 passed on 2026-11-27. A scenario test runs an ordinary match with one base of each side and no script, and checks that a street grid finished with buildings as one connected network, that wall sections stand with damage segments, that at least 40 concealing patches grew, and that no two headquarters stand closer than 55 metres.

The existing strategy test pack was run once on the build before the change and once after the street and growth kinds, before the wall kind was added. It went from 81 of 121 passing to 82 of 122. One test went from error to pass. One went from pass to fail: it asks for 12 units produced and got 11. The pack was not run again with the wall.

The images here are from a development build of the change, running the catalogue scenario with all three sides. In that match the game reported the ring raised, the growth seeded and the street grid built round 7 structures and 3 wall sections.

What the player showed that the tests did not

A top-down view of a dark grid floor: black streets with orange edges form broken right angles, three pale curved wall sections form an open ring, and purple block buildings sit on square pads at the edges.
The first player check, from above. The streets are fragments and the three bases overlap.

The first time the change ran in a player, the ring and the growth read clearly and the street grid did not. In that scenario the three bases started 30 metres apart, so Square's grid was planned through the other two bases and the ring, and 6 of its streets were cut short. What was left was a set of disconnected stubs in the base game's road look.

The cause was not in the new code. The strategy mode seated each base on the map's spawn points in order, and on that map those are infantry spawn points a few tens of metres apart. Three bases were building into each other and nothing had made that visible before.

The second pull request fixed three things. The mode now plans every base's seat at once, and when two bases would stand closer than their build areas need, it spreads the sides on a ring inside the map instead. A district no longer builds a street that the cut left joined to nothing. And Square's ward lays its own lane: narrow, dark, with two cyan rails.

In the same scenario after the fix, the bases stood 173 metres apart, the ring was whole, and the ward was one lattice with 14 buildings, 1 street cut short and none left out. That is the image at the top of this post.

The fix moved more than one scenario. Most strategy scenarios on two shared maps now start with bases 170 to 200 metres apart instead of 30 to 60, so first contact comes later. Three short combat tests that depend on a close start were changed to ask for it explicitly.

Next

Each side is due its own versions of the new effect recipes: impacts, deaths, shields and the pulse the ground gives when hit. That work depends on the effect grammar, which is still an open pull request. A structure that falls currently leaves its streets, wall or growth behind; whether those should decay with it is undecided.