VB-1927: A log building is taken down and raised elsewhere for hours and no new timber
Status: blocked
Waits for: VB-1911
Priority: 3
Size: M
Design ref: design.md, Goods, production and animals (Facilities); docs/architecture/target-v2.md 4.3; backlog/VB-1911.md
Touches: sim/facilities; sim/building; tests/facilities.js; new tests/moving.js
Goal: A log building in the facility registry is taken down and raised on another site for the hours of the work and no new timber, and what is undone costs something to undo.
Acceptance criteria:
A verb to take down a log building and raise it on a named site: the building keeps its kind and parts, is out of use while down, and costs hours by a rule of the kind’s size (a number, set in the task and noted), no new timber, and loses a share of its condition.
Only a log building can be moved (a stone one cannot); a tent or booth is not one; an empty farm’s buildings may be fetched by the claimant of the plot they go to.
The work is a job of the site as a build is (stages, hands, a party’s days), nothing teleports, and a save in the middle plays on (tests/saves.js).
tests/moving.js on a constructed state: a barn down and up on another farm, the hours and the timber booked, a stone building refused.