Status: done (2026-11-23) Priority: 3 Size: M Arch: roads Phase: implement Design ref: design.md, Climate and travel beyond walking (Climate; The winter’s dates); Weather, seasons and daylight (Temperature); docs/plans/VB-190.md, sections 5.1 and 6 Goal: Climate by latitude (Kim, 3 Nov, decision 16: colder further north): a world has a latitude, a place has a band, and the winter’s dates are known days that fall due, so that later tasks change the ground a few times a year and never daily. Acceptance criteria:
src/sim/climate.js (sim/climate; find its owner in target-v2 section 4.2 first, and say in the task file where the weather’s module of VB-354 ends and this begins): CLIMATE in src/sim/rules.js, each value with its meaning: the four climates (southern 57, middle 59, northern 62, far north 65 degrees), degPerRow 0.015 (the map’s span north to south, as compressed as its distances), the curve (janAt56 0.5, janPerDeg -1.25, julAt56 17, julPerDeg -0.15, coldest winter day 7), swing 3 degrees (what a hard or a mild winter moves the cold half of the year), and the thresholds snow -1, lake 60, sound 300, soundShut 150 (degree-days of frost, a game day counting 7.6), rot 20 and open 60 (degree-days of thaw).w.lat, set at generation from the climate chosen (the middle one where none is given, so every world of today is the middle world and no seed changes); in the save. Three bands by row (thirds of the map), each read at its middle row and at sea level. The generation screen offers the four climates beside size, seed and scenario (node tests/smoke.js and the browser test that opens the screen).frost (snow lies, the ground bears), lakeBears, soundShut, soundBears, thaw (ice stops bearing, snow goes, the ground is soft) and open (water open, the ground firm), each a whole game day or none. They go into the due-queue as plain data (st.climate, in WORLD, with an owner in src/owners.json and invariants: the dates in order, none in a band whose curve stays above freezing, at most 6 a band); a date falling due sets the band’s state and emits one event. Nothing reads the state yet but the log (a line a band’s change, through log, with an event kind tests/record.js knows) and VB-354’s thaw and frost, which become the band’s (and later by lapse 8 degrees over the land’s height for a field on high ground: a named tunable, reported, with a tuning note).tests/tiny.js): the dates of the plan’s table for the bands at 58, 59, 60, 62 and 65 degrees in a normal, a mild and a hard winter (node docs/plans/VB-190-ice.js prints them); a world at 57 has no date in a normal winter.node docs/plans/VB-190-water.js ROOT medium 3,7,11,42, the plan’s measures), and years on populous small, seeds 7 and 42, 30 years, and founders small, seed 7, 50 years: they are the middle world’s, where the thaw and the frost fall where VB-354 put them, so growth, grain and hungry days should not move; say so with the figures. The northern world’s are reported beside them (principle 6: no target).Noted by VB-190, 16 November 2026. Decisions (22 Nov 2026):
CLIMATE lives in sim/climate, not sim/rules.js: only that module reads it (VB-419), and rules.js would have passed its 700 lines.st.climate is state saved whole, not in WORLD (that list is w’s tile arrays); w.lat goes in the save beside the seed.winterAhead draws winter’s season then, from the same stream
in the same order (nothing else draws from it), so no number moves; its line is still told as winter begins.shiftOf: southern -1/+1 days, northern +2/-2, far north +3/-3), not by a
field’s band: by band the medium map’s middle world would move a day (close call; VB-1483 does the band and the lapse).w.lat does not enter generation (tools/same.js shows the world entries unchanged).docs/agents/usage/2026-11-22-worker-1231b4c6.json).