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

classes

The `cityGen.classes` module defines the properties and rules for different classes of ways (roads, paths, rails) and for districts. It provides default values for attributes like width, lanes, speed, and maximum grade for various way types (e.g., highway, street, pedestrian). It…

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

classes

The cityGen.classes module defines the properties and rules for different classes of ways (roads, paths, rails) and for districts. It provides default values for attributes like width, lanes, speed, and maximum grade for various way types (e.g., highway, street, pedestrian). It also defines a comprehensive set of rules for districts, including street patterns, lot dimensions, and building massing, along with how these rules are overridden by specific patterns. This module is called by other city generation modules to retrieve and resolve class-specific properties and district rules.

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.classes: what each class of way is, and the rules a district is built by when it states none. A way's `width` is its whole right of way, building line to building line: carriageway, median and both pavements. `lanes` is the lanes each way. A template may restate any of it for one arterial or one district (see the README, "Templates"); the numbers here are the defaults, not constants of the generator.

way(name: ?, overrides: ?) → void

The class record for a name, with a way's own overrides laid over it.

argtypedescription
name?
overrides?

resolve(district: ?) → void

A district's whole rule set: the defaults, its pattern's changes, then what it states itself.

argtypedescription
district?

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.