murmurwood
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
murmurwood
<!-- 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/v2game.areas.murmurwood — The Murmurwood: a deep sunbeam forest the Hush is creeping into. East entrance from Emberbrook, a winding dirt path over a stream footbridge, Wren's herb-gathering clearing midway, and a ring of standing stones around the dimmed Heartwick lantern-shrine at the west end. local root = entity.spawn("Murmurwood"); root.localPosition = { -300, 0, 0 } require("game.areas.murmurwood").build(root) -- static, baked into scene.json Areas.register("murmurwood", require("game.areas.murmurwood").def) Layout (local metres, +x east, +z toward the camera): x = +29 east exit x = +12 stream + footbridge (z 0.9 .. 3.1) x = +1 Wren's clearing x = -25 Heartwick shrine + standing stones Everything in build is static; the only runtime work (grey Hush motes) is started by def.look and swept when Amelia leaves.
norm(x: number, y: number, z: number) → void
| arg | type | description |
|---|---|---|
| x | number | |
| y | number | |
| z | number |
cross(ax: number, ay: number, az: number, bx: number, by: number, bz: number) → void
| arg | type | description |
|---|---|---|
| ax | number | |
| ay | number | |
| az | number | |
| bx | number | |
| by | number | |
| bz | number |
rnd( ) → number
range(a: number, b: number) → number
| arg | type | description |
|---|---|---|
| a | number | |
| b | number |
flat(name: string, parent: any, mat: any, x: number, y: number, z: number, sx: number, sz: number, yaw: number?) → any
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| mat | any | |
| x | number | |
| y | number | |
| z | number | |
| sx | number | |
| sz | number | |
| yaw | number? |
pathDist(x: number, z: number) → number
distance from (x, z) to the path polyline
| arg | type | description |
|---|---|---|
| x | number | |
| z | number |
inHush(x: number, z: number, pad: number?) → boolean
| arg | type | description |
|---|---|---|
| x | number | |
| z | number | |
| pad | number? |
nearTrunk(x: number, z: number, pad: number) → boolean
| arg | type | description |
|---|---|---|
| x | number | |
| z | number | |
| pad | number |
nearStream(x: number, pad: number) → boolean
| arg | type | description |
|---|---|---|
| x | number | |
| pad | number |
buildGround(root: any) → void
| arg | type | description |
|---|---|---|
| root | any |
buildStream(root: any) → void
| arg | type | description |
|---|---|---|
| root | any |
trunk(name: string, parent: any, x: number, z: number, r: number) → void
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| x | number | |
| z | number | |
| r | number |
buildTrees(root: any) → void
| arg | type | description |
|---|---|---|
| root | any |
beam(name: string, parent: any, gx: number, gz: number, len: number, width: number) → void
additive sunbeam cards slanting down the sun direction, turned to the camera
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| gx | number | |
| gz | number | |
| len | number | |
| width | number |
buildLight(root: any) → void
| arg | type | description |
|---|---|---|
| root | any |
pickFlora( ) → void
buildFlora(root: any) → void
| arg | type | description |
|---|---|---|
| root | any |
buildProps(root: any) → void
| arg | type | description |
|---|---|---|
| root | any |
buildCamp(root: any) → void
| arg | type | description |
|---|---|---|
| root | any |
buildShrine(root: any) → void
| arg | type | description |
|---|---|---|
| root | any |
buildHush(root: any) → void
| arg | type | description |
|---|---|---|
| root | any |
build(root: any) → void
Spawn the Murmurwood's static content under `root` (local coordinates).
| arg | type | description |
|---|---|---|
| root | any |
sweepHush( ) → void
startHush( ) → void
setFields(name: string, kind: string, vals: { [string]: any }) → void
| arg | type | description |
|---|---|---|
| name | string | |
| kind | string | |
| vals | { [string]: any } |
look( ) → void
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.