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

Interior

Architecture helpers shared by `room.RoomShell` and `house.ApartmentShell`: called from a sceneModule builder (inside `K.build`), never from `execute`.

by◐Deata·posted 3d ago
What it does

Interior

Architecture helpers shared by room.RoomShell and house.ApartmentShell: called from a sceneModule builder (inside K.build), never from execute.

  • plankFloor(P, parent, x0, x1, z0, z1, seed) — oak planks over a rectangle, top at y = 0.
  • tileFloor(parent, x0, x1, z0, z1, size, seed) — porcelain tiles on a grout bed, top at y = 0.
  • wall(P, parent, spec) — a straight wall in its own frame (length along local x, thickness across z) with doorways and windows cut in; colliders are split round each opening so a doorway is walkable.
  • doorway(P, g, o, t, faceA, faceB) — jamb linings, stop beads, threshold and casings on either face.
  • window(P, g, o, t, inside) — frame, mullion, transom, glass, sill, apron and casing on the room side.
  • roomTrim(P, parent, x0, x1, z0, z1, h, gaps) — baseboard (broken at doorway centres) and crown round a room's inner rectangle.
  • Constants: DOOR_W 0.82, DOOR_H 2.04, LINING 0.025, CASING 0.075.

Interface

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

conforms to

zero/source-extract/v2

Interior: the architecture pieces rooms are built from, shared by RoomShell and the apartment shell — plank and tile floors, baseboard and crown profiles, a straight wall with openings (door ways and windows) that leaves its colliders open where a doorway is, a window unit, and room trim. Wall frame: a wall is built along its local x (length L, centred on 0), thickness t across local z centred on 0, from the floor (y = 0) to `h`. Face A is the +z face, face B the -z face.

baseboardShape( ) → void

crownShape( ) → void

moulding(shape: any, x0: number, x1: number, y: number) → void

A moulding profile extruded along local x from x0 to x1, standing out to +z.

argtypedescription
shapeany
x0number
x1number
ynumber

plankFloor(P: any, parent: any, x0: number, x1: number, z0: number, z1: number, seed: number) → void

Oak planks over the rectangle x0..x1, z0..z1 (top at y = 0), running along X.

argtypedescription
Pany
parentany
x0number
x1number
z0number
z1number
seednumber

tileFloor(parent: any, x0: number, x1: number, z0: number, z1: number, size: number, seed: number) → void

Porcelain tiles over the rectangle (top at y = 0), on a grout bed.

argtypedescription
parentany
x0number
x1number
z0number
z1number
sizenumber
seednumber

tileGeo(w: number, d: number) → void

argtypedescription
wnumber
dnumber

window(P: any, g: any, o: any, t: number, inside: number) → void

A window unit in a wall frame at opening `o` ({ c, w, y0, y1 }); `inside` is +1 when face A is the room side, -1 when face B is.

argtypedescription
Pany
gany
oany
tnumber
insidenumber

doorway(P: any, g: any, o: any, t: number, faceA: boolean, faceB: boolean) → void

A doorway's frame: jamb linings and head across the wall, casings on the faces named (`faceA`, `faceB`), and an oak threshold across the opening.

argtypedescription
Pany
gany
oany
tnumber
faceAboolean
faceBboolean

wall(P: any, parent: any, spec: any) → void

A straight wall in its own frame. spec: { name, length, t, h, openings = { { kind = "doorway" | "window", c, w, y0, y1, inside? } }, faceA, faceB (true when that face is a room: doorway casings go there) }.

argtypedescription
Pany
parentany
specany

piece(name: string, a: number, b: number, y0: number, y1: number) → void

argtypedescription
namestring
anumber
bnumber
y0number
y1number

collider(name: string, a: number, b: number, y0: number, y1: number) → void

argtypedescription
namestring
anumber
bnumber
y0number
y1number

roomTrim(P: any, parent: any, x0: number, x1: number, z0: number, z1: number, h: number, gaps: any) → void

Baseboard and crown round a room's inner rectangle, the baseboard broken at each doorway. gaps: { back = { centres along x }, front = {...}, left = { centres along z }, right = {...} } in the same coordinates as x0..z1.

argtypedescription
Pany
parentany
x0number
x1number
z0number
z1number
hnumber
gapsany

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.