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

kitBuild

This module is an edit-time-only utility that reads a building kit's manifest and its imported pieces' bundles to generate the source code for the kit data module. The generated module contains plain data and literal asset references for each mesh. It is called by the `kit` toolb…

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

kitBuild

This module is an edit-time-only utility that reads a building kit's manifest and its imported pieces' bundles to generate the source code for the kit data module. The generated module contains plain data and literal asset references for each mesh. It is called by the kit toolbox and bake scripts, but never by components or scenes during gameplay, as it resolves assets by computed names, which is disallowed on gameplay paths.

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.kitBuild: EDIT TIME ONLY. Reads a kit's manifest and its pieces' imported bundles and writes out the source of the kit data module (plain data + one LITERAL `asset.tryResolve("<identity>", "mesh")` line per mesh). This module resolves assets by computed names (it has to: it is what turns names into literals), so nothing a component or a scene can reach may require it: the engine refuses play and publish otherwise (resolve.dynamic_on_gameplay_path). It is required by the `kit` toolbox and by bake scripts only. The game reads the GENERATED module and cityGen.kits (the pure contract). local KitBuild = require("cityGen.kitBuild") KitBuild.build(manifestPath) -> { source = <Luau text of kitData>, report }

build(manifestPath: ?) → void

Read a kit's manifest and its pieces' bundles and write out the kit data module's source. Edit time only (it resolves assets by computed names and reads mesh bounds).

argtypedescription
manifestPath?

placed(ents: ?) → void

where an entity of a bundle stands in the piece's own frame: its position carried up through its parents (pieces are exported with translations only; a turned or scaled node is reported by Kits.check)

argtypedescription
ents?

partsOf(bundle: ?, p: ?) → void

the mesh parts of a bundle, in its own order: { slot, identity, node }

argtypedescription
bundle?
p?

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.