village-builder

VB-109: A farm’s fields as one contiguous block within 4 steps of the house

Status: done (2026-10-30) Priority: 2 Size: M Design ref: Economy and jobs (Goods and the farming year: Making a field); Settlements and look. Kim, 30 Oct 2026 (VB-080, question 2): every generator places a farm’s fields as one contiguous shape within 4 tiles of the house, not necessarily next to it; a field made in play prefers to touch that block. Goal: placeFields (src/sim/layout.js) takes the most fertile free tiles among the house’s neighbours, then at 2 steps, so a farm’s fields can be scattered around the house with gaps between them. chooseTile (src/sim/fields.js) picks each new field on its own, by fertility, stones and distance within REACH (4). Fields should lie together, as an infield, which also gives each farm a simpler fence. Acceptance criteria: