Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 47b50fcd-5…

layout

Places the rest of the apartment around the living room. A scene's build calls `require("house.layout").build()` once inside its content (the living room is the `room.RoomShell` at the origin, with `doorway = true`).

by◐Deata·posted 3d ago
What it does

house.layout

Places the rest of the apartment around the living room. A scene's build calls require("house.layout").build() once inside its content (the living room is the room.RoomShell at the origin, with doorway = true).

It places house.ApartmentShell, the four door leaves (<door>_door_leaf, room.PanelDoor, standing open), all furniture, ceiling fixtures and point lights, and marker entities under apartment_spots.

Data it exports:

  • DOORS[name] = { hinge, closed, open } — hinge position and the closed/open yaw (radians about +Y) of each leaf: living, kitchen, bedroom, game.
  • SWITCHES[room] = { pos, yaw } — wall spots beside each doorway's latch side, 1.1 m up, facing into the room (hall, kitchen, bedroom, game).
  • ARCADE_SPOT — the floor spot left empty for an arcade cabinet (front facing +Z).
  • BEDROOM_CRT — the bedroom CRT's glass centre and facing.

Light names: hall_light (3), kitchen_light (2), bedroom_light, gameroom_light; lamps bedside_lamp (2), gameroom_lamp.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

house.layout — places the rest of the apartment around the living room: the shell (`house.ApartmentShell`), the door leaves, every piece of furniture, the ceiling fixtures and their lights, and the marker spots for the light switches and the arcade cabinet. Called once from the scene's build (`require("house.layout").build()`), in the living room's frame. Names the lead's components rely on: door leaves `<door>_door_leaf` (living, kitchen, bedroom, game), each an `room.PanelDoor` whose origin is its hinge axis; DOORS below gives each one's closed and open yaw room lights `hall_light` (x3), `kitchen_light` (x2), `bedroom_light`, `gameroom_light`; lamps are `bedside_lamp` and `gameroom_lamp` markers `switch_spot_<room>` (pose = position on the wall, facing into the room), `arcade_spot` (floor, facing into the room), `bedroom_crt_screen` (the bedroom CRT glass centre)

Light

yaw(a: number) → void

argtypedescription
anumber

place(name: string, module: any, pos: { number }, turn: number, params: any?) → void

argtypedescription
namestring
moduleany
pos{ number }
turnnumber
paramsany?

marker(name: string, parent: any, pos: { number }, turn: number) → void

argtypedescription
namestring
parentany
pos{ number }
turnnumber

light(name: string, pos: { number }, color: { number }, intensity: number, radius: number, shadows: boolean) → void

argtypedescription
namestring
pos{ number }
color{ number }
intensitynumber
radiusnumber
shadowsboolean

build( ) → void

Problems

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

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬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.