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

village

The village/trees/water part's entry module (paintedValley.village.village): build / update / setHour / destroy for the core's scene driver. Exposes trees, cast, tagEntities, buildingMaterial.

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

village

The village/trees/water part's entry module (paintedValley.village.village): build / update / setHour / destroy for the core's scene driver. Exposes trees, cast, tagEntities, buildingMaterial.

Interface

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

conforms to

zero/source-extract/v2

paintedValley.village.village — the village/trees/water part of the Painted Valley port (blendi/painted-valley on Patch, MIT): src/valley/village.js (every building in the valley: the village on its rise and the farmsteads), src/valley/trees.js (the great tree, the groves, the far trees, the bushes, and their shade on the ground) and src/valley/water.js (the tarn). The scene driver requires this module and calls build / update / setHour / destroy. The part's table carries what main.js uses from these files: trees the { x, z, kind, scale, turn } list, in the original's order (kinds 0-3 the near trees first, then the far trees 4-6, then the bushes): collisions, sounds and physics colliders stop at the first kind > 3 cast(sunDir) lays the trees' shade on the ground for this sun (tShade); done for you on build, on setHour and when the hour drifts by more than 0.04, as main.js does tagEntities { { entity, tag = 0.4 }, ... }: every building's entity, for the frame's "already painted" tag buildingMaterial, drawShells, meshFrom (for anything else drawn as the original's buildings are)

sunNow(v: any) → void

argtypedescription
vany

hourNow(v: any) → number

argtypedescription
vany

cast(v: any) → void

argtypedescription
vany

cast(sunDir: any) → void

Lays the trees' shade for this sun (main.js trees.cast).

argtypedescription
sunDirany

putUpBuildings( ) → void

Every building a local entity under one root (temporary: never saved into a scene), tagged 0.4 for the frame.

build(v: any) → void

argtypedescription
vany

rootAlive( ) → boolean

update(v: any, _dt: number) → void

argtypedescription
vany
_dtnumber

setHour(_v: any, _hour: number) → void

The sky owns the hour; the trees' shade is cast again for it on the next update, once the sky has moved the sun.

argtypedescription
_vany
_hournumber

destroy(v: any) → void

argtypedescription
vany

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.

15+items
▣
module · born here
❒asset
# trees Port of Painted Valley's src/valley/trees.js (blendi/painted-valley, MIT): growTree (with ports of three's CatmullRomCurve3, Frenet frames and IcosahedronGeometry), plant, the near trees, far trees and bushes (createTrees), the leaf-spray texture, and the shade cast onto the ground (tShade).
▲ 0↑ born
▣
module · born here
❒asset
# buildings Port of Painted Valley's src/valley/village.js (blendi/painted-valley, MIT): the shapes of the village's buildings (eight kinds), layVillage / layFarm, and drawing them with the building material (building.shader) through renderer.mesh.drawInstanced.
▲ 0↑ born
▣
module · born here
❒asset
# tarn Port of Painted Valley's src/valley/water.js (blendi/painted-valley, MIT): createTarn, one square of water drawn with tarn.shader over the tarn.
▲ 0↑ born

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.