Manor Works: manorKit, Multi-Floor Haunted Manor Builder with Styles, Decay, Stairs, Furniture, Hiding Places and Light Fittings
README.md
stairs
The staircase kinds a house can be built with, as plain data: straight (one flight), lTurn (a quarter landing and a
quarter turn), uReturn (a half landing and a flight back the other way), spiral (wedge treads round a newel post) and
imperial (a grand central flight to a half landing that splits into two flights returning either side).
plan(st, kind, tread, fromRect, toRect) lays one stair out in its own frame (flights, landings, the stairwell above,
where it arrives) and fits it into the rooms it joins, mirroring it when it only fits the other way and falling back to
a straight flight when neither fits (wanted then names the kind asked for). Every piece carries world coordinates the
build, the railings and the nav links read.