art
Starfall Garden's look, built in code (the model generator was out of quota): a pillowy smiling star, a thorny gloom wisp with glowing eyes, a pearly seed pod in mint leaves, garden flowers that wilt, and the player's firefly. `Art.star(e)`, `Art.gloom(e)`, `Art.pod(e)`, `Art.flo…
art
Starfall Garden's look, built in code (the model generator was out of quota): a pillowy smiling star, a thorny gloom wisp with glowing eyes, a pearly seed pod in mint leaves, garden flowers that wilt, and the player's firefly. Art.star(e), Art.gloom(e), Art.pod(e), Art.flower(e, variant, size), Art.setWilted(flower, bool), Art.firefly(e). Meshes are generated once per peer with renderer.mesh.create and cached; pieces are temporary local children, so synced objects carry only gameplay data. Materials live in materials/.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2Starfall Garden's look, built in code: puffy smiling stars, thorny gloom wisps with glowing eyes, pearly seed pods, garden flowers and the player's firefly. Meshes are generated once per peer and cached; every piece is a local (temporary) child of the entity it decorates, so a synced object carries only its gameplay data and every peer builds the look itself.
mat(name: string) → any
| arg | type | description |
|---|---|---|
| name | string |
smoothNormals(pos: { number }, idx: { number }) → void
Smooth normals by averaging the face normals around each vertex.
| arg | type | description |
|---|---|---|
| pos | { number } | |
| idx | { number } |
starMesh( ) → any
A pillowy five-pointed star in the XY plane, facing +Z, about 1 unit across.
radius(theta: number) → number
| arg | type | description |
|---|---|---|
| theta | number |
ringIndex(side: number, ring: number, s: number) → number
rings from the outline (r=1) to the centre bulge, front and back
| arg | type | description |
|---|---|---|
| side | number | |
| ring | number | |
| s | number |
gloomMesh( ) → any
A round ball with soft thorns, radius about 0.5.
piece(parent: any, name: string, model: any, material: string, p: { number }, s: { number }, rot: { number }?) → any
| arg | type | description |
|---|---|---|
| parent | any | |
| name | string | |
| model | any | |
| material | string | |
| p | { number } | |
| s | { number } | |
| rot | { number }? |
quatAxis(x: number, y: number, z: number, deg: number) → void
| arg | type | description |
|---|---|---|
| x | number | |
| y | number | |
| z | number | |
| deg | number |
star(root: any, size: number?) → any
Dress `root` as a falling star (puffy gold star, smiling face, warm glow).
| arg | type | description |
|---|---|---|
| root | any | The entity to decorate; pieces are temporary local children. |
| size | number? | World size across, metres. |
gloom(root: any, size: number?) → any
Dress `root` as a gloom wisp (thorny purple ball with glowing eyes).
| arg | type | description |
|---|---|---|
| root | any | |
| size | number? |
pod(root: any, size: number?) → any
Dress `root` as a seed pod (pearly bulb wrapped in mint leaves).
| arg | type | description |
|---|---|---|
| root | any | |
| size | number? |
flower(root: any, variant: number?, size: number?) → any
Build a garden flower under `root` (stem, leaves, six petals, glowing centre). `variant` picks the petal colour. Returns { head, petals }.
| arg | type | description |
|---|---|---|
| root | any | |
| variant | number? | |
| size | number? |
setWilted(flower: any, wilted: boolean) → void
Swap a flower's petals to the wilted (or back to the living) colour.
| arg | type | description |
|---|---|---|
| flower | any | |
| wilted | boolean |
firefly(root: any, tint: { number }?) → any
Dress `root` as a player's firefly (a glowing mote with wings and a light).
| arg | type | description |
|---|---|---|
| root | any | |
| tint | { number }? |
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.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ 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".
Scoped to this part · feeds back into the world's score.