Energy that refills only while the world is awake

← All field notes

A god’s budget in The Long Watch comes back on its own — a slow trickle that climbs toward a ceiling and levels off there. The catch we built in on purpose: it refills against the world’s own clock, never the wall clock. Close the game and the trickle stops. Energy returns only while the world is running and time is actually advancing.

Why a god needs a budget at all, how it feels to spend one, and the founding choice never to store the balance — to derive it from your opening allowance less the cost of every deed — are a sibling’s story: a power you have to spend. This post is underneath that. It’s about what happened when we added recovery to a quantity we refuse to store, and the one discipline that keeps a slowly-refilling resource reproducible to the byte.

Recovery as another term in the same sum

The obvious way to make energy come back is to keep a running tank and tick it upward over time — which is exactly the stored, drift-prone number we’d spent so much care avoiding. So the trickle had to fold into the derivation rather than sit beside it. We don’t bank recovered energy anywhere; we recompute the whole balance every time it’s asked for, and the recovery becomes just another term in that sum.

Start at the opening amount. Walk the deeds in the order they happened. For each gap between one deed and the next, add the recovery earned across that gap; subtract each deed’s cost as you pass it. Then add the recovery earned from your last deed all the way up to the present moment of world-time. Whatever that arithmetic lands on is your energy, right now — spending and trickle accounted for in one pass, nothing recovered ever written down. (That the deed-record this walks is also the spine for reload, and what happened the one time it sprang a leak, are two siblings’ stories: remembering what you did, not what it did and the power that reset itself on load.)

This is the part the sibling doesn’t engineer: because the recovery has no stored tally of its own, a reload reproduces the same energy bit-for-bit at the loaded moment. Your deeds and the world’s clock are the only inputs, and both are already part of the saved world — so load a world back and you land on the identical figure, every time, on any machine. A refilling resource is normally a prime suspect for “why did this save load differently?” This one can’t, because there is no recovered number to mis-save.

We don’t bank what trickled back. We keep your deeds and the world’s clock, and re-derive the balance — recovery and all — from scratch every time.

The ceiling lives inside the walk

The shape of all this — spend, wait, recover, the gentle sawtooth that clamps at a hard cap so power can never be hoarded into a flood — is the sibling’s to describe: a power you have to spend. What matters here is where the clamp lives. It isn’t a separate pass that trims an overflowing tank afterward; it lives inside the derivation. As we walk the gaps adding recovery, we never let the running figure climb past the ceiling, so excess trickle is never quietly banked to be spent later. The cap is enforced in the same arithmetic that earns the recovery, not bolted on after it.

A wide golden-hour voxel valley seen from above, soft hills and a winding river bathed in calm warm light, the wild land resting quietly as if slowly gathering itself.Concept art · pre‑alpha
Spend a little, then let the world turn. Power climbs back toward a ceiling and levels off — never past full.

The clock the integral reads

That the trickle is keyed to the world’s own clock rather than your computer’s — so a faster or longer-left machine never hands you a richer god — the sibling already makes the case for. The thing the title turns on is what that choice means inside the arithmetic above. When the walk “adds the recovery earned across a gap,” it is integrating a rate over elapsed world-time. So the term is only ever as large as the world-time that actually elapsed. Pause the world, or close the game entirely, and that clock stops advancing; across that span no world-time elapses, the integral spans nothing, and the recovery term is exactly zero. There is no farming the budget by leaving the game sitting overnight, because as far as the derivation can see, no time passed to integrate over — and a closed world’s clock holds wherever you left it, which is its own story.


Two small honesties in the arithmetic

Two details in that derivation are quieter than the headline but earn their place. The first is how we turn in-game days into the clock’s own units. The recovery rate is authored in the player-legible unit — energy gained per in-game day — but the world’s clock ticks in something finer. We never hard-code the conversion between the two. We recompute it fresh from the world clock’s own settings every time, so if the timescale of a day ever changes, the recovery follows it automatically and the two can never silently drift apart.

The second is whose elapsed time we read. We read the world’s plain elapsed time — the time that has actually passed since the world began — not a clock that starts pre-wound with some offset baked in. Early on, reading the wrong one would have meant a brand-new world thought a chunk of time had already gone by and handed you a sliver of phantom recovery at the very first instant. A fresh world should start with exactly the energy we seeded it with and not a point more, so the derivation starts counting from a true zero.

Built so the refill rule can change

When we laid the spine down with recovery switched off, we didn’t leave a hole; we left a single, clearly-marked place where the recovery rule plugs in. The rest of the budget machinery — the deed record, the cost-and-charge path, the derivation — knows nothing about how recovery is computed. It just asks that one slot, “how much came back across this stretch of world-time?” and folds the answer in. So the day we decided on a passive trickle, wiring it in disturbed nothing underneath, and the day we want a different recovery model — faster early, or shaped by the seasons, or anything else — only that one slot changes. The shape of recovery is a design knob, not a structural commitment.

That discipline made it safe to ship the actual values as honest placeholders. The starting amount, the ceiling, and the per-day rate are all editable data, not baked into code — left for us to dial in by feel against a living world rather than argued over in the abstract. One of them we made deliberate from the start — the world boots a little below the cap so the trickle has somewhere to climb — for reasons the sibling lays out under starting a little hungry; and the part you actually see climbing is its own story.

Here is the whole of it in one small example. Seed the budget below its cap; let one in-game day pass, and the trickle lifts it partway up — toward, but not to, full. Spend a god-act, and the balance drops back by that act’s cost. Save the world there, close it, open it again, and the energy comes back to exactly the figure you left — not the brimming pool an empty derivation would invent, but the real one, recovery and spending both accounted for. The number was never stored. It was always just your deeds and the world’s clock, added up again.

There is a softer reason all of this matters, and it’s the part the arithmetic quietly serves. You don’t win The Long Watch. You tend it — and a budget that returns only while the world breathes makes power something you pace alongside the seasons rather than hoard against them. Spend a little, let the world turn, and your reach recovers in step with it. The recovery isn’t just reproducible. It’s honest about the one thing the game most wants to be true: that the world is only living while you’re here to tend it.

Keep reading

Concept art · pre‑alpha