mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#959
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/421
Author: @kolacheee
Created: 8/18/2026
Status: ✅ Merged
Merged: 8/18/2026
Merged by: @kolacheee
Base:
staging← Head:feat/pixelforge-rooms-beds📝 Commits (10+)
bb7d9ebfeat(pixelforge): a vista beat that exercises the host's narration-collapse requesta7b37efchore(pixelforge): merge staging (0.7.0 shipped) and open 0.8.05e5dda9feat(pixelforge): see through a roof you are standing under50c9fc8feat(pixelforge): tall buildings and a sanctuary you can walk intod12c05frefactor(pixelforge): drop the narration-collapse CSS workaround862ff81refactor(pixelforge): key the keeper tier on holding a building, not on being an elderf0a22e4feat(pixelforge): homes and shops you can enter, and beds to find people in8fe95f3feat(pixelforge): bedrooms, guest rooms and bunksfa5b50bfeat(pixelforge): families keep their bedrooms, and an inn is built to a capacity3962634feat(pixelforge): a workplace is a home, and everyone gets a bed📊 Changes
20 files changed (+6261 additions, -480 deletions)
View changed files
➕
artifacts/pixelforge-0.8.0.zip(+0 -0)📝
packages/pixelforge/atlas.json(+8 -1)📝
packages/pixelforge/build/build-art.mjs(+78 -0)📝
packages/pixelforge/client.js(+1534 -200)📝
packages/pixelforge/docs/brief-schema.md(+80 -11)📝
packages/pixelforge/manifest.json(+9 -9)📝
packages/pixelforge/src/00-prelude.js(+4 -0)📝
packages/pixelforge/src/10-art.js(+94 -0)📝
packages/pixelforge/src/18-brief.js(+19 -4)📝
packages/pixelforge/src/20-world.js(+1237 -111)📝
packages/pixelforge/src/25-schedule.js(+36 -7)📝
packages/pixelforge/src/30-sim.js(+39 -0)📝
packages/pixelforge/src/40-render.js(+51 -1)📝
packages/pixelforge/src/55-maps-export.js(+8 -1)📝
packages/pixelforge/src/70-hud.js(+25 -75)📝
packages/pixelforge/src/90-element.js(+20 -0)📝
packages/pixelforge/test-brief.mjs(+3018 -59)📝
packages/pixelforge/tiles-sci-fi-colony.png(+0 -0)📝
packages/pixelforge/tiles.png(+0 -0)📝
scripts/build-pixelforge-package.mjs(+1 -1)📄 Description
Linked issue
Closes #420
Why this change
0.7.0 sent NPCs somewhere to rest at night, but there was nowhere to go: dwellings were facades, so a resident's "home" was a box on their own doorstep. The player watched the settlement pace outside its front doors until dawn. This release makes living visible — you can walk into a house at night and find people asleep in beds.
What changed
Interiors. Dwellings and shops become real rooms, entered through the door that already existed. A shop is deliberately not an empty room — counter, stock, and the owner working behind it; an empty shop reads worse than a locked door.
Rooms. A generic partitioner subdivides an interior into rooms with wall runs and doors, dispatching furnishing to a per-purpose table. Bedrooms are its first and only consumer today; kitchens and workshops later are a descriptor plus a furnisher, not a signature change. Rooms are partitions, not zones — a six-person household must not add four zones.
Beds and bunks. One sleeping place per resident. Houses get 1–2 beds a bedroom, inns get guest rooms of 1–4, and an interior whose sleepers outrun its rooms becomes an open dormitory — inferred, so an orphanage or a barracks needs no new brief field. Bunks are driven by density and arrangement, never by who is sleeping: an orphanage of children and a barracks of adults compile to identical tiles, and the cast kind is never threaded into the sleeping layout at all.
A housing model that adds up. A tradesman lives and works in the same building with their family, so one household costs one building. A guard post and a hall are duty stations — nobody lives there, and their owners keep ordinary houses. Housing is then derived from who still needs it. This fixed a real failure: with a five-person cast and three trades, nobody on an outpost or hamlet had a bed at all (0/5), because specials consumed every lot. Now 5/5 at every scale.
Owner's quarters. A building that houses its owner reserves them a private room — an innkeeper should not be bunked in with her own staff, nor sleep in a let room. Where the two conflict, everyone having somewhere to sleep outranks the owner having privacy.
Floors. Upper storeys and cellars as zones joined by stair pairs, ids derived from the parent and capped at one up and one down. Upper storeys are gated (the inn always; a house only at 4+ sleepers or a merged block) because that gate is what keeps zone count in hand. Cellars: workshop and inn always, houses by prosperity. The sanctuary gets a bell tower.
A church, tall buildings (height was previously all roof — every body row was already solid wall, just hidden under it), and a transparency bubble so a roof stops swallowing the player standing under an eave — about 62 walkable-but-roofed tiles per settlement, broken since buildings gained overhangs.
Pre-existing bugs fixed along the way: a settlement's wilds arrival tile was never reserved from tree scatter, so a trunk could land exactly where the portal delivers the player (24 unwalkable arrivals in 960 worlds); an interior place that never claimed a building lot compiled a named, NPC-populated room with no door in either direction; and the stock cozy-village innkeeper had been sleeping on the floor of her own inn.
Package and security impact
pixelforgeonly.pixelforgeis marked incomplete (#410), so its rebuild writes no catalog entry.Validation
node packages/pixelforge/test-brief.mjspasses —brief validator + compiler: all cases passedpackages/pixelforge/src/*.jsclient.jssha256 and byte count matchmanifest.json(all 11 entries verified)CONTRIBUTING.mdManual verification notes
Live-playtested in a running Engine twice during development — the church, the tall facade, the transparency bubble, the cutscene seam and the daypart schedules were confirmed on screen by the maintainer.
Not yet seen on screen: stairs, cellars, the bell tower, the reshaped inn, and the
bunk/stairsUp/stairsDown/belltiles. Geometry, reachability and occupancy are proven headlessly; legibility is not. Bunks in particular are functionally correct (both berths slept in, every sleeper individually talk-targetable) but hard to read at 16px — recorded for the art pass rather than fixed here.Every behavior added in this release was verified by breaking it and confirming a real assertion fires — 28 mutations on the sleeping/housing work, 15 on floors. Three tests passed for the wrong reason during development and were rewritten: one counted wall tiles instead of proving enclosure, one would have passed against the very bug it was written for, and one swept only where NPCs happened to land and survived the rule being deleted.
z1exteriors are byte-identical across the interiors, rooms and floors work. The housing model does move buildings — fewer are built — which is quantified in the commits and is acceptable while the package is unlisted.Documentation impact
packages/pixelforge/docs/brief-schema.md— the newsanctuaryplace kind, the interiors and housing arithmetic in §4.5, and §8's "one building, one location". The old spec described a residential-filler formula the compiler never implemented.UI evidence (if applicable)
Screenshots from the mid-development playtests are in the linked issue thread. The floors work has no screenshots yet — see the note above.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.