shell
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
shell
<!-- 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.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2game/shell.module/init.luau The house's shell, as geometry: floors, walls with their doorways and windows, staircases and the roof. Everything here reads its numbers out of `game.core`, so the shell and the rules can never drift apart. The shell is STRUCTURE ONLY — no furniture, no dressing, no doors, no cobwebs, no surface character. Those belong to the house slice, which builds on top of this without touching it. Every entity this makes is named, so the dressing can find it: `w_<runId>_<n>`, `s_<slabId>`, `t_<stairId>_<n>`.
box(name: string, o: ?) → void
One box, with a model on it and (unless told otherwise) a collider.
| arg | type | description |
|---|---|---|
| name | string | |
| o | ? |
runFrame(run: ?) → void
Where a wall run sits, in world terms.
| arg | type | description |
|---|---|---|
| run | ? |
splitRun(run: ?) → void
Split `from..to` into the solid spans left after the openings are cut out, plus the openings themselves.
| arg | type | description |
|---|---|---|
| run | ? |
wallPiece(name: ?, run: ?, a: ?, b: ?, y0: ?, y1: ?, material: ?, parent: ?) → void
One piece of wall, `a..b` along the run, from `y0` to `y1`.
| arg | type | description |
|---|---|---|
| name | ? | |
| run | ? | |
| a | ? | |
| b | ? | |
| y0 | ? | |
| y1 | ? | |
| material | ? | |
| parent | ? |
wallRun(run: ?, o: ?) → void
One wall run: its solid spans, plus a lintel over and a sill under every opening — which is what turns a hole into a doorway or a window.
| arg | type | description |
|---|---|---|
| run | ? | |
| o | ? |
slab(slab: ?, o: ?) → void
A floor or ceiling slab. `top` is the height you walk on.
| arg | type | description |
|---|---|---|
| slab | ? | |
| o | ? |
stair(st: any, o: ?) → void
A straight flight. Each step is a solid box from the floor up to its own tread, so the flight is walkable and collidable without a mesh.
| arg | type | description |
|---|---|---|
| st | any | |
| o | ? |
pitchedRoof(name: string, o: ?) → void
A pitched roof over a rectangle, ridged along Z. `ridgeX` is where the two slopes meet; the eaves sit at `eaveY` and the ridge at `ridgeY`.
| arg | type | description |
|---|---|---|
| name | string | |
| o | ? |
gableEnd(name: string, o: ?) → void
A gable end: the triangular wall that closes the space between the top of a wall and a pitched roof. Built as a short flight of steps, which reads as a true triangle from any distance and keeps every piece an axis-aligned box.
| arg | type | description |
|---|---|---|
| name | string | |
| o | ? |
build(o: ?) → void
The whole shell, from `Core.WALLS` / `Core.SLABS` / `Core.STAIRS`.
| arg | type | description |
|---|---|---|
| o | ? |
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.