◈ SETTLEMENT DESIGN JOURNAL

Build log / Step 32 of 45

STEP 32 · VERSION 0.0.4 · 30 NOVEMBER 2026

Saves you can name and go back to

How we got here. The owner's lot redrew itself: "My starting lot was like 10 when I re-drew it. It got redrawn again after my last save when you made edits." Nothing in the game changes a lot that's in a save. The save showed the earlier redraw had never reached it: the game saved only at dawn and on closing, so a redraw made after the last dawn was lost when the game was stopped. Claude offered to save the moment the land changes. The owner: "Saves would be good. Actually right now… if there is a way to actually save and load different states that would be good. That way I can go back to various points and re-play the simulation after edits to see how it alters things. This especially becomes crucial for my beta testing later so I am not always restarting from March 1824." And: "save would also have a 'save as' so I could name the state and 'load' would let me see other save states."

Planned: never lose a change to the land; save a moment under a name; a list of saved moments to go back to, so a stretch of the game can be played again after a change to the rules.

  • The land saves at once. When the bounds are redrawn or marked, or land changes hands, the game saves then and there, without waiting for dawn.
  • Saves… (beside Save and New world). Name the moment and press Save as. The list shows each saved moment with its name, the game date and hour, and when it was saved, latest game date first.
  • Load asks once more ("Sure? Load"). The loaded moment becomes the game you're playing, and play saves itself from there. What you were playing is kept first, as "Before loading…", so going back costs nothing. Delete asks once more too.
  • Kept automatically. The game also keeps the 1st of each month (the latest 48 months), and the moment before each load or new world (the latest 10). They're hidden unless you tick the box, so the list stays yours. Your named saves are never removed.
  • Older saves load into newer rules. A saved moment is a whole game, upgraded on loading like any save. So after a change to the rules, the same stretch of the game can be played again from the same point to see what the change does.
  • Where they live. Played from the editor, in game/saves/states/, next to the main save. They're kept out of the repository, like the main save.

Also in this step, the owner asked: "As for the hay ricks, I built all four but they appear empty… do they visually fill up as hay is stored, or are they just kind of there for decoration?" They fill: a stack rises inside each rick with the hay in it. But hay goes under the barn roof first, where it keeps better. The loft (with the stack's share) holds 5,500 kg, and the ricks only take what's over that. His game had 4,443 kg in July 1825, so all of it was in the loft. The Stores panel now says so when the ricks are empty.

Then: "I have all this hay storage but unless I order them to get more I have no way of taking it past 365 days of storage. No way to automatically collect excess for selling/trading." The Hay priority now steps past a year: a year and a half, two years, then all there's room for (the loft and every rick). The household makes hay to that mark through the haying window, as for any priority. The priority line now wraps, and says how much is spare to trade beyond what the cattle need. Other stores still stop at a year.

The shots are from a real game: the step 28 game, loaded at 12 April 1826, named, played on to 22 May, named again, then taken back to April.

The Saves window: a name being typed, and four saved moments with Load and Delete
The Saves window in May 1826, showing the kept ones too: two named moments and the 1st of May, kept by the game.
Load asks once more: Sure? Load
Load asks once more before it replaces the game being played.
Back at 12 April 1826, with a Before loading save at the top of the list
Back at 12 April 1826. The May game is kept at the top of the list, as "Before loading…".
The Stores panel: hay in the barn loft, the ricks empty until the loft is full
The Stores panel: the hay is all in the loft, and the ricks stand empty until it's full.
The Hay priority set to keep all there's room for, with how much is spare to trade
Three clicks past a year: the Hay priority keeps all there's room for (17,637 lb with the barn and one rick), and says how much is spare to trade.
Measured in that game: saving a moment takes no noticeable time (a whole game is about 230 KB). Loading the April moment from May put the game back at 12 April 1826, 00:00, with the May game kept as "Before loading 'Spring 1826, before the hay is cut'". The 1st of May was kept on its own at dawn.
Not yet: anyone who comes to buy hay (today the neighbours ask only when they're short, and the Hales can offer it in a deal); a cap on the meadow, so filling every rick costs the season's labour but not the land. Hay in the ricks loses about 0.15% a day, close to half in a year, so hay kept for trade is best traded within the year. Saves for the exported game are in the player's app data, not shown in a folder; no preview picture of each moment; no comparing two runs side by side.
FIELD NOTES · HOW THIS STEP WAS CHECKED

Field notes

Checks: saved states: save as, the list, load, keeping what was being played, deleting, keeping only so many automatic ones (12); hay ricks: empty until the loft is full (1); the Hay priority past a year (4) · 654 checks in all, every one passing

What they show

  • Save as writes a moment under its own name. A second, ten days on, lists first, and each carries its game date.
  • Loading the first puts the game back at its date, and what was being played is kept as "Before loading…". Loading that brings the later game back as it was, down to the firewood.
  • Deleting removes a moment from the list and the disk. Of 52 monthly moments, only the latest 48 are kept, and named saves are never pruned.
  • The checks never save over the player's game: they keep their states elsewhere, and the save-at-once is off for them.
  • With 4,443 kg of hay and a barn, the ricks stand empty and the loft has room for 1,057 kg more.
  • The Hay priority steps from 365 days to 545, 730, then all there's room for, which aims at the loft and every rick. One step down is two years. Firewood still stops at a year.
What playing caught that the checks didn't
  • The owner's redraw that vanished: the checks proved saves round-trip, but not that a change is saved before the game stops.
  • Four empty ricks looked like decoration. The rule (loft first) was right, but nothing said so.
  • With storage for 15,500 kg the household could only aim at a year's hay. The checks tested the ricks' room, not whether the priority could reach it.
  • The longer hay line was cut off at the panel's edge. It wraps now.
  • The first render's list showed the 1st of May twice, because the shot tool kept it as well as the game. The tool now leaves it to the game.