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

massing

From a plan's lot and a game's building rules to one building's program for a kit-of-parts generator: kit, footprint, tiers (storeys and setbacks), seed, placement on the lot, colours, boxes. See the module's head.

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

cityKit.massing

From a plan's lot and a game's building rules to one building's program for a kit-of-parts generator: kit, footprint, tiers (storeys and setbacks), seed, placement on the lot, colours, boxes. See the module's head.

Interface

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

conforms to

zero/source-extract/v2

native

pick01(seed: number, channel: number) → number

argtypedescription
seednumber
channelnumber

ladderDown(ladder: { number }?, n: number) → number

argtypedescription
ladder{ number }?
nnumber

towerTiers(seed: number, storeys: number, w: number, d: number, pitch: number) → void

A tower's tiers for a foot of w by d (metres) with a bay of `pitch`: the form by what the foot allows and the lot's own seed. Returns the form's name and the tiers { { storeys, inset } }.

argtypedescription
seednumber
storeysnumber
wnumber
dnumber
pitchnumber

tiers(parts: { any }) → void

argtypedescription
parts{ any }

program(lot: any, districtName: string, rules: any) → any

The building on a lot (see the head of this module), or nil when the lot is too small for any of its district's kits.

argtypedescription
lotany
districtNamestring
rulesany

all(plan: any, rules: any) → void

Every lot's program, and how many different buildings they ask for: programs[lot.id] = program (or nil), keys = { [key] = { program, count } }.

argtypedescription
planany
rulesany

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.