Status: done (2026-11-11)
Priority: 2
Size: S
Arch: life
Phase: implement
Design ref: Inheritance, expansion and other bodies (Marriage as a negotiation: The player’s doors); The player and what they see (Marriage; What the player sees; Skip to the next event).
Goal: VB-293 stores an offer that waits for the player in st.offers, and Sim.answer answers it. The player has to see it and answer it in the page. The world does not wait: the 7 days run at whatever speed is set.
Acceptance criteria:
Sim.opportunities (VB-209) lists the open offers that wait for the played pawn: for each, the offer’s id, the two who would marry (name, age, household’s farm), the home and its farm, the player’s part (the one to marry or head of the household for whom), the other answers given so far, and the game days left.src/page/play.js) shows each such offer as a question above the queue, with Yes and No buttons that call Sim.answer. It is gone once answered or closed. The panel then says how the offer ended (married, refused by whom, lapsed and why) until the next offer or the next round.src/page/notices.js) when an offer is made, which opens the pawn panel. A skip that stops on an offer (VB-293’s offer reason) shows the same question.tests/browser.js plays a pawn to a round where its match waits, answers No from the panel, and finds both unmarried and the refusal in the History tab. A screenshot of the question under docs/img/ (node tools/shot.js).st.offers (a few entries at most) while the panel is open.
Notes:src/page/play.js, as VB-274 does: one at a time.Sim.opportunities adds one item for each open offer that waits for the pawn (verb: 'answer', when: 'offer', an
offer with the two, home and farm, part, answers so far and days left); the Actions sheet (src/page/play.js, offerBox) shows each above the queue
with Yes and No (Sim.answer), and the offer’s ending beneath it. src/page/notices.js (watchOffers) keeps the ended offer’s words, read from the
record, until the next offer or the round’s eve (Sim.skipFrom(st).eve; page state, never st), and toasts an offered event that waits for the
played pawn, a click on which opens the sheet. A skip’s offer stop shows the same question: the sheet is the pawn panel.tests/browser.js (new block at its end), tests/offers.js, npm test, node tests/golden.js (unchanged; Sim gained no key). Screenshot:
docs/img/vb273-offer.png. Not run: the whole of npm run verify.