Status: done (2026-11-16) Priority: 3 Size: S Design ref: design.md, Carts Goal: A player can see whether a farm has a cart, which kind, and when it is on the road Acceptance criteria:
household.carts, a cart whose pawn is at no job with it), drawn inside the farm’s own tile, as the yard and the woodpile are; a farm with several shows them.CART.mendAt) looks worn.src/page/words.js, as it names the fishing boat).st: which cart is out is read as sim/carts reads it (a read exported from the module, not a second rule in the page).node tests/smoke.js passes, with a check that a farm with a cart draws one; a screenshot of a village with carts is in the PR (node tools/village-shot.js).Notes (the distance review, 13 November): carts were built without art (src/sim/carts.js; design.md, Carts, “Not yet”). The art is
drawn on canvases in src/page/farmart.js (the yard, the stooks, the byre); a pawn’s load is a.carry (sheaf, hay, logs), and
a load above TRAVEL.load means a cart. Dung is carted with no carried load (KINDS.manure.carted): the cart stands on the field then.
Needs review by Kim only for the look; no rule is decided here.
docs/review-blocks.md): with VB-474 a pawn’s place comes from its leg through the Sim API; draw the cart there. If this lands first, VB-474 moves it.sim/carts exports out and cartOf (the rule that says which cart is out); the page reads them (Carts in page/animate.js), no second rule.drawCarts (animate.js): a pool of sprites (cartDraw, reset with the farms) refilled each frame. A cart at home stands below the stuga
(YARD.cart), several side by side; one out is drawn behind its pawn with the load it carries baked into the texture, the ox cart with the
team ahead (the team is hidden at the byre meanwhile, as at the plough). The pawn is posed without its back load and with both arms forward.CART.mendAt): a grey texture with a plank gone and a wheel out of true. The card (cartWords, words.js) names each cart, its
soundness, worn, and out on the road.tools/village-shot.js now seeds carts (one in four worn). Screenshot: docs/img/vb-410-carts.jpg (a hand cart below the house, left).page/farmart is over its baseline (958 > 901): task VB-596 opened to split it.docs/img/vb-410-carts-out.jpg (village-shot.js --cart-out: hay on a hand cart, an ox cart with its team ahead). The pawn is read through drawX/drawY, the page’s one place for drawn pawns.