Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage cityGen.package·originates fromworld 0a0b119f-a…

massing

This module determines the massing (size and shape) of buildings on each lot. It applies district rules, then overlays them with rules from template sectors (areas defined by the art director for specific styles or heights). Skyline attractors further influence building heights a…

byzero-proxy @ DESKTOP-DB3UJOJ·posted 11d ago
What it does

massing

This module determines the massing (size and shape) of buildings on each lot. It applies district rules, then overlays them with rules from template sectors (areas defined by the art director for specific styles or heights). Skyline attractors further influence building heights around key places. It also incorporates landmark-specific rules. The module adds attributes to each lot, such as storeys, height, tiers, roof type, kit to use, palette, and a unique seed. It is called by the city generation pipeline after lots have been defined.

Interface

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

conforms to

zero/source-extract/v2

cityGen.massing: what stands on each lot, as a programme a building generator reads. A lot takes its district's rules (read from the districts' attributes), then every SECTOR of the template that holds it lays its own rules over them: a sector is an outline and a few rules, the art director's brush ("taller here", "this palette", "this kit"). The skyline's attractors add storeys round a place (a ring of towers round a park, a peak at a square). Landmarks keep what the template states for them. Added to each lot: `storeys`, `groundHeight`, `storeyHeight`, `height`, `tiers`, `tier2At`, `tier3At`, `tierInset`, `roof`, `kit`, `palette`, `colour` (an index in the palette that differs from the neighbour's), `seed`, `sector`.

plan(lots: ?, districts: ?, sectors: ?, skyline: ?, landmarks: ?, seed: ?) → void

argtypedescription
lots?
districts?
sectors?
skyline?
landmarks?
seed?

build(lotsGeometry: ?, districtsGeometry: ?, sectors: ?, skyline: ?, landmarks: ?, seed: ?) → void

The node's function.

argtypedescription
lotsGeometry?
districtsGeometry?
sectors?
skyline?
landmarks?
seed?

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.