House
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. -->
House
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. -->TODO: describe this component.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2game/house/House.component/init.luau SLICE: house — the place. Builds every room of the Trelawnes' house TWICE: once as the abandoned present, once as the warm remembered past the game keeps flashing back to. Switching a room is enabling one set of entities and disabling the other, which is what makes the memory transition happen in place, around the player. It owns no rules. It provides `house` through Core.provide and answers House.setRoomState(roomId, state) for the memory slice; it subscribes to nothing and requires no other slice. Everything it makes hangs under a group entity per room per state, named g_<room>_<state>, so the whole thing is one setActive call to switch and one despawn to tear down.
box(parent: ?, name: ?, c: ?, s: ?, mat: ?, tint: ?, solid: ?) → void
One solid box. `tint` is { r, g, b, blend } — a runtime tint on the Model, so the same handful of materials dress the whole house.
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | ? | |
| c | ? | |
| s | ? | |
| mat | ? | |
| tint | ? | |
| solid | ? |
lamp(parent: ?, name: ?, at: ?, kind: ?, color: ?, intensity: ?, radius: ?) → void
A pool of warm or cold light, so a room's own rig is one entity either way.
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | ? | |
| at | ? | |
| kind | ? | |
| color | ? | |
| intensity | ? | |
| radius | ? |
dustVolume(parent: ?, name: ?, c: ?, s: ?, intensity: ?, colour: ?) → void
A big translucent volume the spore shader fills with drifting motes.
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | ? | |
| c | ? | |
| s | ? | |
| intensity | ? | |
| colour | ? |
lightShaft(parent: ?, name: ?, c: ?, s: ?, intensity: ?) → void
A shaft of cold light coming through a window and standing in the room.
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | ? | |
| c | ? | |
| s | ? | |
| intensity | ? |
cobweb(parent: ?, name: ?, c: ?, s: ?) → void
A cobweb: a flat, faint sheet tucked into a corner.
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | ? | |
| c | ? | |
| s | ? |
rainGlass(parent: ?, name: ?, c: ?, s: ?) → void
Rain running down a pane: a faint, cold sheet filling the window opening.
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | ? | |
| c | ? | |
| s | ? |
sofa(g: ?, name: ?, at: ?, facing: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| facing | ? | |
| state | ? |
armchair(g: ?, name: ?, at: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| state | ? |
table_(g: ?, name: ?, at: ?, size: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| size | ? | |
| state | ? |
chair(g: ?, name: ?, at: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| state | ? |
sideboard(g: ?, name: ?, at: ?, state: ?) → void
A cabinet with a drawer front — the sideboard the brass key opens.
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| state | ? |
fireplace(g: ?, name: ?, at: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| state | ? |
piano(g: ?, name: ?, at: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| state | ? |
bed(g: ?, name: ?, at: ?, small: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| small | ? | |
| state | ? |
chest(g: ?, name: ?, at: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| state | ? |
desk(g: ?, name: ?, at: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| state | ? |
shelf(g: ?, name: ?, at: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| state | ? |
rug(g: ?, name: ?, at: ?, size: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| size | ? | |
| state | ? |
curtain(g: ?, name: ?, at: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| state | ? |
crates(g: ?, name: ?, at: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? | |
| state | ? |
brokenChair(g: ?, name: ?, at: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| name | ? | |
| at | ? |
buildHall(g: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| state | ? |
buildLiving(g: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| state | ? |
buildDining(g: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| state | ? |
buildKitchen(g: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| state | ? |
buildStudy(g: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| state | ? |
buildUpstairs(g: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| state | ? |
buildBedroom(g: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| state | ? |
buildBasement(g: ?, state: ?) → void
| arg | type | description |
|---|---|---|
| g | ? | |
| state | ? |
glaze(g: ?, run: ?) → void
The atmospheric layer Two things fill the whole present-day house rather than one room: the rain at every pane, and the dust the torch beam finds. Both are built once, as children of a group that is only active in the present.
| arg | type | description |
|---|---|---|
| g | ? | |
| run | ? |
weather(root: ?) → void
| arg | type | description |
|---|---|---|
| root | ? |
buildAll( ) → void
setRoomState(roomId: string, state: string) → void
The slice's API Switch one room between its abandoned present and its remembered past. Safe on a room that was never dressed, and it touches nothing else.
| arg | type | description |
|---|---|---|
| roomId | string | |
| state | string |
roomState(roomId: string) → string
| arg | type | description |
|---|---|---|
| roomId | string |
setAtmosphere(on: boolean) → void
The 1990s is not abandoned and the present is not remembered: the weather layer belongs to the present only.
| arg | type | description |
|---|---|---|
| on | boolean |
mount( ) → void
awake( ) → void
Lifecycle
start( ) → void
onDestroy( ) → void
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.