Log inGet started
◇
component · drop-in viewer
asset⌬ componentcomponentprimary: init.luau·originates fromworld 8dcc035a-1…

House

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. -->

by◐niharrk24·posted 1mo ago
What it does

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/v2

game/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.

ModelBoxColliderLight

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.

argtypedescription
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.

argtypedescription
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.

argtypedescription
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.

argtypedescription
parent?
name?
c?
s?
intensity?

cobweb(parent: ?, name: ?, c: ?, s: ?) → void

A cobweb: a flat, faint sheet tucked into a corner.

argtypedescription
parent?
name?
c?
s?

rainGlass(parent: ?, name: ?, c: ?, s: ?) → void

Rain running down a pane: a faint, cold sheet filling the window opening.

argtypedescription
parent?
name?
c?
s?

sofa(g: ?, name: ?, at: ?, facing: ?, state: ?) → void

argtypedescription
g?
name?
at?
facing?
state?

armchair(g: ?, name: ?, at: ?, state: ?) → void

argtypedescription
g?
name?
at?
state?

table_(g: ?, name: ?, at: ?, size: ?, state: ?) → void

argtypedescription
g?
name?
at?
size?
state?

chair(g: ?, name: ?, at: ?, state: ?) → void

argtypedescription
g?
name?
at?
state?

sideboard(g: ?, name: ?, at: ?, state: ?) → void

A cabinet with a drawer front — the sideboard the brass key opens.

argtypedescription
g?
name?
at?
state?

fireplace(g: ?, name: ?, at: ?, state: ?) → void

argtypedescription
g?
name?
at?
state?

piano(g: ?, name: ?, at: ?, state: ?) → void

argtypedescription
g?
name?
at?
state?

bed(g: ?, name: ?, at: ?, small: ?, state: ?) → void

argtypedescription
g?
name?
at?
small?
state?

chest(g: ?, name: ?, at: ?, state: ?) → void

argtypedescription
g?
name?
at?
state?

desk(g: ?, name: ?, at: ?, state: ?) → void

argtypedescription
g?
name?
at?
state?

shelf(g: ?, name: ?, at: ?, state: ?) → void

argtypedescription
g?
name?
at?
state?

rug(g: ?, name: ?, at: ?, size: ?, state: ?) → void

argtypedescription
g?
name?
at?
size?
state?

curtain(g: ?, name: ?, at: ?, state: ?) → void

argtypedescription
g?
name?
at?
state?

crates(g: ?, name: ?, at: ?, state: ?) → void

argtypedescription
g?
name?
at?
state?

brokenChair(g: ?, name: ?, at: ?) → void

argtypedescription
g?
name?
at?

buildHall(g: ?, state: ?) → void

argtypedescription
g?
state?

buildLiving(g: ?, state: ?) → void

argtypedescription
g?
state?

buildDining(g: ?, state: ?) → void

argtypedescription
g?
state?

buildKitchen(g: ?, state: ?) → void

argtypedescription
g?
state?

buildStudy(g: ?, state: ?) → void

argtypedescription
g?
state?

buildUpstairs(g: ?, state: ?) → void

argtypedescription
g?
state?

buildBedroom(g: ?, state: ?) → void

argtypedescription
g?
state?

buildBasement(g: ?, state: ?) → void

argtypedescription
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.

argtypedescription
g?
run?

weather(root: ?) → void

argtypedescription
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.

argtypedescription
roomIdstring
statestring

roomState(roomId: string) → string

argtypedescription
roomIdstring

setAtmosphere(on: boolean) → void

The 1990s is not abandoned and the present is not remembered: the weather layer belongs to the present only.

argtypedescription
onboolean

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.

7items
▣
module · born here
❒asset
# core <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. --> TODO: describe this module.
▲ 0↑ born
backing path · game/house/House.component

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ 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".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.