VB-1840: The page tells the player what automatic answers, and its sleep as of now
Status: ready
Priority: 3
Size: S
Design ref: design.md section 15, Parity of command; review of VB-1776, F2 and F5
Touches: page/play; sim/sleep (sleepOf); tests/sleep.js
Goal: The player sees what its pawn decides on automatic, and its sleep as it is
Acceptance criteria:
The play panel shows an icon and the word Automatic for the switch; one tap on it opens the sentence, which says that, with automatic on, offers due at once to the played pawn (a gift, help or grain asked, a loan, leave, advice; an inheritance elsewhere) are answered by its own judgement, and that turning automatic off holds them for the player (review of VB-1776, F2).
Sim.sleepOf reads the played pawn’s owed hours and asleep flag as of now, projected from its last reckoning without writing (the hourly reckoning since VB-1776 lags up to an hour; F5), with a check at mid-hour in tests/sleep.js.