Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 07a07267-3…

district

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->

by◐lolboy21·posted 1mo ago
What it does

district

<!-- 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/v2

game.district.module — the urban district of UNBROKEN FRONT. Everything the District component builds comes from here: the street grid, the blocks around it, the buildings standing on them with their interiors, and the furniture in the street. It is written as rules rather than as a list of positions, so widening a street or moving a block is one number. Geometry is box-based and batched: a wall with a door and three windows is composed from the few boxes that leave those holes, and each box is one entity carrying a Model and, where a player can touch it, a BoxCollider. Coordinates: +X east, +Z north, +Y up. The ground slab the scene lays down is at y = 0 and is the ONLY base surface — everything here stands on top of it at y >= 0.012, so nothing z-fights with it.

ModelBoxColliderLight

materials( ) → void

Materials Every material the district draws with. Resolved fresh on each build rather than memoised. Re-authoring a material — which is what changing its properties does — mints a NEW guid, so a cached reference becomes a handle to an asset that no longer exists and every Model that names it fails to wake. Twelve resolves per build is nothing next to that.

blocks( ) → void

The rectangles left between the streets, as { x0, x1, z0, z1 }.

budget( ) → void

beginBuild( ) → void

Reset the counter at the start of a build.

box(parent: ?, name: ?, pos: ?, size: ?, material: ?, collide: ?, rotY: ?) → void

argtypedescription
parent?
name?
pos?
size?
material?
collide?
rotY?

wallWithHoles(parent: ?, name: ?, pos: ?, len: ?, height: ?, thickness: ?, material: ?, holes: ?, rotY: ?) → void

A wall running along X, standing in the ZY plane, with holes cut for a door and windows. `holes` is a list of { at, width, bottom, top } measured from the wall's -X end. The wall is composed from the boxes that leave those gaps open — there is no boolean, only what is left standing.

argtypedescription
parent?
name?
pos?
len?
height?
thickness?
material?
holes?
rotY?

emit(x0: ?, x1: ?, y0: ?, y1: ?) → void

argtypedescription
x0?
x1?
y0?
y1?

closeSpan(endX: ?) → void

argtypedescription
endX?

stairFlight(parent: ?, name: ?, origin: ?, dirZ: ?, rise: ?, run: ?, width: ?, material: ?) → void

A flight of steps between two floors, inside a stairwell of `width`. Each step is its own box, which is what makes it walkable: the character controller climbs them as steps, not as a ramp.

argtypedescription
parent?
name?
origin?
dirZ?
rise?
run?
width?
material?

building(parent: ?, cfg: ?, mats: ?) → void

A building `cfg` = { x, z, w, d, floors, floorH, rot (radians), style } The shell has a door on its street face and windows on every other bay; each upper floor repeats the windows; an interior wall divides every floor and leaves a way through; a stairwell sits against one back corner and reaches the roof; the roof carries a parapet, a stair house and vents. Every floor is a real room with a real way in.

argtypedescription
parent?
cfg?
mats?

windowHoles(len: ?, doorAt: ?, sill: ?, head: ?, bayLen: ?, startOffset: ?) → void

Street face (-Z) gets the door; the other three are closed but for windows. Window bays are spaced from the width so they read as a rhythm.

argtypedescription
len?
doorAt?
sill?
head?
bayLen?
startOffset?

container(parent: ?, mats: ?, pos: ?, rotY: ?, wantBlue: ?) → void

Street furniture

argtypedescription
parent?
mats?
pos?
rotY?
wantBlue?

jerseyBarrier(parent: ?, mats: ?, pos: ?, rotY: ?) → void

argtypedescription
parent?
mats?
pos?
rotY?

sandbagWall(parent: ?, mats: ?, pos: ?, rotY: ?, bagsX: ?, bagsY: ?, bagsZ: ?) → void

argtypedescription
parent?
mats?
pos?
rotY?
bagsX?
bagsY?
bagsZ?

drum(parent: ?, mats: ?, pos: ?, tipped: ?) → void

argtypedescription
parent?
mats?
pos?
tipped?

crate(parent: ?, mats: ?, pos: ?, size: ?, rotY: ?) → void

argtypedescription
parent?
mats?
pos?
size?
rotY?

car(parent: ?, mats: ?, pos: ?, rotY: ?, burnt: ?) → void

argtypedescription
parent?
mats?
pos?
rotY?
burnt?

dumpster(parent: ?, mats: ?, pos: ?, rotY: ?, tipped: ?) → void

argtypedescription
parent?
mats?
pos?
rotY?
tipped?

pallet(parent: ?, mats: ?, pos: ?, rotY: ?) → void

argtypedescription
parent?
mats?
pos?
rotY?

trafficSignal(parent: ?, mats: ?, pos: ?, rotY: ?) → void

argtypedescription
parent?
mats?
pos?
rotY?

fenceRun(parent: ?, mats: ?, pos: ?, rotY: ?, length: ?) → void

argtypedescription
parent?
mats?
pos?
rotY?
length?

pipeRun(parent: ?, mats: ?, pos: ?, rotY: ?, length: ?, height: ?, count: ?) → void

argtypedescription
parent?
mats?
pos?
rotY?
length?
height?
count?

rubblePile(parent: ?, mats: ?, pos: ?, radius: ?, count: ?, seed: ?) → void

argtypedescription
parent?
mats?
pos?
radius?
count?
seed?

streetLamp(parent: ?, mats: ?, pos: ?, facing: ?) → void

Lighting and atmosphere the district adds to the scene

argtypedescription
parent?
mats?
pos?
facing?

workLight(parent: ?, mats: ?, pos: ?) → void

The workshop's lit doorway — a warm practical that reads from down the street in the reference's own palette.

argtypedescription
parent?
mats?
pos?

build(root: ?) → void

Assembly

argtypedescription
root?

h(n: ?) → void

argtypedescription
n?

dressSidewalk(x: ?, z: ?, seed: ?) → void

argtypedescription
x?
z?
seed?

dressRoad(x: ?, z: ?, seed: ?) → void

argtypedescription
x?
z?
seed?

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

Showing up to 3 levels deep. Open a part to see what it holds further down.

55+items
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
▣
module · born here
❒asset
# core <!-- 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.
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
backing path · game/district/district.module

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.