Moondog, day 13 (2 Nov): a house of your own

29 commits, and nearly all of them were about housing: from an empty plot to a furnished house with a stable out back.

One lost packet, not a stall

First, one more network fix. Movement input was sent reliably, so a lost packet held up every input after it until it was resent. On a link with 147 ms and 0.5–2% loss, the server went 200–290 ms without input in almost every 5-second window. Input is now unreliable-ordered on its own channel. Jump became the sequence number of the input that carried the press, repeated in every input after it, so it survives losing its packet and still fires only once. Corrections per run dropped from about 12 to 3.

Plots and upkeep

GMs place housing plots, and the ground flattens for everyone. E at a plot's sign opens the plot window. You can own one house per account. Buying costs the price plus a month's upkeep, which becomes the house's deposit. Each month the upkeep comes out of the deposit. If it runs short, every login warns you. A month overdue, the plot is freed and goes back on sale.

Building it

Buying a plot gives you a construction site. Each plot size has a design: a list of materials that each fill a pile on site, and a build time of 8, 16 or 32 hours. You deliver what you're carrying, and everyone sees the piles fill by thirds. Once it's all in, the build runs like a crafting job. The clock runs while someone from the account is at the site, or logged out there. The site's model moves on at a third and two thirds (nine construction models in all), and then the house stands.

For roofing, there are reed beds by the lake for thatch, riven oak shingles and stone slates.

Houses

Each plot size has two houses to choose from:

  • Small: a cottage, or a fieldstone cottage
  • Medium: a timber-framed house, or a longhouse
  • Large: a hall, or a stone house with a solar upstairs

Doors open with E at the doorway, only for the owner, and stay as you left them. The two-storey houses got a real flight of stairs to a floor you can stand on.

Furniture, the bank and pets

Furniture and chests go anywhere inside, in oak or pine. A hearth that cooks, and station furniture so your crafting can live at home. You can keep pets at home, and a stable on the plot. When an owner logs out, their pets leave the world rather than wandering about unattended.

There's an account bank now, kept by Barnaby, and Banker is a proper NPC role. Losing a house goes through the bank: if you abandon a house or it's freed for unpaid upkeep, everything in it goes to the bank, furniture and chest contents whole. The bank is allowed to go over its 100 slots for this. I decided nothing should ever be lost that way. It just takes no more until it's back under.

Smaller things

  • Any NPC can now answer in chat, and what they say is edited in the admin panel.
  • Every item has an icon, assigned by name.
  • Moondog has a logo: a wolf with a pack and lantern, howling at the full moon.