village-builder

VB-1123: Page: plan mode: the household’s season planned on the map, in place of the Plan tab

Status: blocked Waits for: VB-1765 Priority: 2 Size: L Design ref: docs/mocks/plan-mode-l.html with its screenshots docs/mocks/img/plan-mode-l.png and plan-mode-l-2.png (the latest; and -a to -k); design.md section 7 (The plan panel; a design pass comes first); principles “The future is someone’s estimate”, “Like is shown alike” and “Every act is a pawn’s” Goal: A head plans its household’s season where the land is: who does what and when, what does not fit and why, and what the plan is expected to bring against what the household needs. Acceptance criteria: Kim’s decisions are marked with their day (17 or 18 Nov 2026). Where a point is the mocks’ and not Kim’s, it says “proposed”.

The frame

The strip: a member’s season

Acting

The map

The outcome

How it is judged

Walks through the interface

Each walk is a requirement told as what a player does and sees. The household is the mocks’: Norrgården, year 3, spring; Torsten 32, the head, and Märta 29; four fields, six meadows; Karin, 14, hired at the moving round, comes on the first day of summer. After each step: the mock and frame that draws it. They were checked on 18 Nov by a script that opens each mock and looks for the step’s part (46 parts found; the two not found are meant: a hidden mark’s slot, and the overlay off at rest). “Not drawn” means no mock shows it; “drawn, not working” means the picture is there and the click does nothing. The walks marked (Kim’s) are the cases Kim gave.

W1. Pottery for Märta in place of her raking (Kim’s).

  1. The player clicks “Rake meadows” on Märta’s bar. It takes the dark frame, a delete button appears at its corner, and the six meadows it covers are ringed on the map. (L, frame 1)
  2. The player clicks the house. Its menu opens and its first line says the action chosen will take the place of “Rake meadows”, Märta’s. (L, frame 1)
  3. The menu lists what is done at the house. “Pottery” shows Märta’s hands and Torsten’s: her skill, the days of work, the grade likeliest. It carries the red mark: no clay in store; it can be planned and waits for clay. (L, frame 1)
  4. The warning offers “Dig clay first, Märta, 1 day”. The player takes it. (L, frame 1: drawn, not working)
  5. On Märta’s bar the raking is gone; “Dig clay” and “Pottery” stand in its place with the yellow frame of a change, linked: the pottery waits for the clay. The bank where the clay is dug has a disc in her colour. The pottery’s warning is gone, since the plan now meets its need. Her days read “full”. (L, frame 2)
  6. The estimates have moved: with no one raking, the hay’s bar has lost a part, drawn where it stood; its poor year’s pointer has moved back; the row is marked as changed. The meadows’ discs are grey and carry a problem’s mark: no one rakes them. (L, frame 2)
  7. Undo puts the raking back. (drawn as a button; the result not drawn) Had the player only wanted pottery, the free stretch on Märta’s bar (“1½ d free”, L frame 1) is where it would go with nothing selected.

W2. An action is deleted (Kim’s). The player selects a bar and presses Delete or Backspace, or clicks its delete button. The bar is removed, the actions after it close up, the member’s free days grow, and each need the action fed shows what was lost (as step 6 of W1). (The button and the keys’ names: L, frame 1. The estimate moving: K and L, frame 2. A bare deletion’s result: not drawn.)

W3. An ill worker (Kim’s). A member falls ill, or is asked for more days than the season has. The red mark stands by the member’s name, in a slot that is there whether a mark is shown or not; a click opens the member’s card, which begins with the problem. (The mark by Torsten’s name, six days over: I to L. Its slot kept when hidden: I and J with ?plain=1, measured. An illness, and the card beginning with it: not drawn.)

W4. Two fields of one crop and two of another (Kim’s). Each field is planted on its own. On the map a field shows its crop, its place in the order of planting and, as a ring, how far the crop has come; on the bar the same number and crop. The player clicks a field to change its crop or its place in the order, and reads there what it was sown with before and what each crop would give. (Crop, order and ring, on the map and the bar: I to L, with two fields of barley, one of peas and one of rye standing from autumn; the game has no wheat. A field’s own menu, and so the choosing of a crop: not drawn.)

W5. Someone is known to come, or to leave (Kim’s: “if Astrid has accepted marriage and will leave at a date”). Karin was hired at the round and comes on the first day of summer: she has a row, empty until that day, and a place for the chores she can take from then. A member who has accepted a marriage has her bar end at the day she leaves, and the seasons after are without her. Nothing is shown of what is not yet settled. (Karin’s row and day: G to L. A member leaving at a known day: not drawn.)

W6. A fifth field that does not fit.

  1. The player chooses “Break a field”. The open tiles in reach show their fertility, stronger for richer soil. (H to J)
  2. The player clicks a rich tile by the river. Its menu shows the action in Torsten’s hands and Märta’s, and “About this tile”: the soil, the yield Torsten expects with its range, the walk, the seed it takes. (H to J)
  3. Placed on Torsten’s bar, two of its nine days fit this spring. The tile is outlined as planned, not yet the farm’s, and carries the red mark; Torsten’s name carries one too, six days over. (I to L)
  4. A click on the tile’s mark opens the menu, which begins with the problem and what could be done. (H to J)
  5. The summer’s cell on Torsten’s row is already red: mowing, the rye and the field’s seven days ask fourteen days of his ten. “Let it wait” is not offered as a way out; Karin’s nine free days in summer are. (J)

W7. Reading what the plan brings. The player looks at “To get through the year”. Food is one bar: the colours are its sources, the solid part is in store, the striped part is what this plan is expected to add, the mark is the need, the pointer is the poor year. Food is safe; hay clears its mark in a likely year and not in a poor one, and reads “tight”. The i opens food’s breakdown, a row a source. Under the needs: the surplus above the food’s need, likely and in a poor year, and what it is for at the house, a feast and crafts. (I and J)

W8. Who should do it. The player clicks Märta’s name. Her card opens: skilled at brewing and raking, able at planting and manure, a novice at breaking land and fishing; her aptitudes; her days this spring. On the strip each work bar ends in the same four bars. (J, ?pawn=1; the card’s opening works)

W9. A chore handed over. Märta’s chores are three pills under her name, seven days of her twelve. The player drags “Milk” to Karin’s name; from summer it is Karin’s, Märta’s grey foot is thinner and her free days more. (The pills and Karin’s place: J to L. The drag and its result: not drawn.)

W10. Small work. On Märta’s bar a lighter block, “Small work, 3”. A click opens it: mending the hay rakes, whetting the scythes, churning the butter, each with its share of a day. They are laid out one by one on the day’s strip. (L, frame 2; the day’s strip: docs/mocks/day-strip.html, drawn before these decisions)

W11. The frame. Undo is by the date and reset apart from it; the question mark unfolds the legend over the map; the bell is the reminder’s switch; the tick goes on with the plan. Nothing moves when any of these is used. (H to L; the legend: ?legend=1)

Planning ahead

Kim, 18 Nov: how feasible is planning ahead, assuming the last season’s plan held? The calendar’s part is cheap and sure: each crop’s windows and each field’s stage give the routines of the seasons ahead; sim/outlook already projects the supplies four seasons on, and the plan’s ahead (VB-254) looks a season on for wood and hay. Not there: a season’s order and hands made before its first review. To build: the review’s order-making callable for a season not begun, on a projected state, on demand while the mode is open. The limit: ranges compound, so the second season ahead is wide; births, deaths, leavings not yet known and the weather are not in it. Not measured.

Kim’s answers, 18 Nov

The five questions this task raised, with their answers (in full in QUESTION_ARCHIVE.md); each is written into the criteria above.

  1. Does a head still hold a level it fills a store to, with the stepping gone? “Yes, the player does it in their head, an npc does too calculated from a margin preference over survivability (influenced by traits and skills), 1.5 times the baseline is a good starting point.”
  2. Where is the next action drawn? “The task is drawn at the end of uncertainty, but is started when the previous task is done, shifting the plan to reflect reality.”
  3. Is giving an action to a member a verb for every head? “Yes, assign or so.”
  4. What mechanism cuts a bar from small work? “That is left for future work.”
  5. What is the surplus for, beside a feast and crafts? “We need a game info panel, collecting e.g. what actions are in the game and where they apply, preconditions, what they produce etc.” It is VB-1124.

Notes: