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

moor

Hollow Moor's layout and live state: every shape the `moor_gen` painter surfaces (ground, chapel, trees, tombs, fences, candles, skulls, the open grave's hand, the wraith, mist, moon), the "Grave Light" palette, the wraith's behaviour (it creeps to a closer hiding place when you…

by◐Deata·posted 2d ago
What it does

moor

Hollow Moor's layout and live state: every shape the moor_gen painter surfaces (ground, chapel, trees, tombs, fences, candles, skulls, the open grave's hand, the wraith, mist, moon), the "Grave Light" palette, the wraith's behaviour (it creeps to a closer hiding place when you look away, and dissolves if you stare at it or walk up to it), the hand's reach and the point lights chosen each frame. HollowMoor.component calls tick, packUniforms and packShapes.

Interface

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

conforms to

zero/source-extract/v2

module moor Hollow Moor: every signed-distance shape the `moor_gen` splat painter surfaces (the moor, a ruined chapel, dead trees, a fenced graveyard, candles, skulls, a hand clawing out of an open grave, ground mist, the moon and a wraith), and the live state packed for the GPU each frame: time, moonlight, fog, the players walking through it, the warm point lights (candles, chapel windows, every player's lantern), the wraith's creeping and the hand's reach. `HollowMoor.component` drives it.

lin(c: number) → number

argtypedescription
cnumber

hex(h: string) →

sRGB hex colour to linear `{ r, g, b }`.

argtypedescription
hstring`"#rrggbb"`.

examples

moor.hex("#ff8800")

hash(n: number) → number

Deterministic hash so every peer builds the same graveyard.

argtypedescription
nnumber

yawAlong(dx: number, dz: number) → number

argtypedescription
dxnumber
dznumber

shape(kind: number, x: number, y: number, z: number, n: number, t: { [string]: any }) → void

argtypedescription
kindnumber
xnumber
ynumber
znumber
nnumber
t{ [string]: any }

buildLayout( ) → void

candle(x: number, z: number, count: number, slab: number, seed: number) → void

argtypedescription
xnumber
znumber
countnumber
slabnumber
seednumber

norm3(v: { number }) → void

argtypedescription
v{ number }

approach(cur: number, target: number, rate: number, dt: number) → number

argtypedescription
curnumber
targetnumber
ratenumber
dtnumber

nearestPlayer(x: number, z: number) → void

argtypedescription
xnumber
znumber

inView(x: number, z: number, pl: { number }) → boolean

Is world point (x, z) roughly where the camera is looking? The orbit camera looks over the player's shoulder, so the eye->player line is the view.

argtypedescription
xnumber
znumber
pl{ number }

pickAnchor(pl: { number }, far: boolean, current: number) → number

argtypedescription
pl{ number }
farboolean
currentnumber

tickWraith(s: any, dt: number) → void

argtypedescription
sany
dtnumber

tick(dt: number) → void

Advance the moor by `dt` seconds: the wraith creeps, the hand reaches for whoever is near, and this frame's point lights are chosen.

argtypedescription
dtnumberSeconds since the last tick.

examples

moor.tick(1 / 60)

packUniforms(time: number) →

Pack the per-frame uniforms (`MoorUniforms` in moor_gen).

argtypedescription
timenumberSeconds the shapes animate at.

examples

buf:write(moor.packUniforms(t))

put(i: number, a: number, b: number, c: number, d: number) → void

argtypedescription
inumber
anumber
bnumber
cnumber
dnumber

packShapes( ) →

Pack every shape (`Shape` in moor_gen), in splat order.

examples

buf:write(moor.packShapes())

put(a: number, b: number, c: number, d: number) → void

argtypedescription
anumber
bnumber
cnumber
dnumber

wraith( ) →

Where the wraith is and how solid it is right now.

examples

moor.wraith()
⌬ Metadata
descriptionModule: Hollow Moor layout and live state: shapes, Grave Light palette, creeping wraith, reaching hand, point lights, GPU packing for moor_gen.

Sub-parts

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

3items
This part has no composite children. See the Files segment for its leaf payloads.
backing path · hollowmoor/moor.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. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.