rimecrest
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
rimecrest
<!-- 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/rimecrest — Rimecrest Pass, the snowy mountain village on the high pass west of the Murmurwood (area origin -600, 0, 0). local Rimecrest = require("game.areas.rimecrest") Rimecrest.build(root) -- static content under `root` Areas.register("rimecrest", Rimecrest.def) -- at play start Layout (local metres, +Z toward the camera): x -25 .. -18 west ledge: the Heartwick shrine under the cliffs x -18 .. -12 the chasm, a frozen waterfall at its head (z -13), the arched stone bridge across it at z = 0 with prayer flags x -12 .. 24 the village: snow-capped log cabins, the "Kindled Hearth" inn, a stone house, a well, along a muddy road (z ~ 0.8) that leaves east (x = +24) for the Murmurwood z < -12 snowy granite cliffs as the backdrop Talkable sprites (unique names): Bram, Innkeeper, Woodcutter, Child, Fox. Interactable: HeartwickShrine.
hash(i: number, s: number) → number
| arg | type | description |
|---|---|---|
| i | number | |
| s | number |
node(name: string, parent: any, pos: { number }?) → any
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| pos | { number }? |
prim(model: string, name: string, parent: any, mat: any, pos: { number }, scale: { number }, rot: { number }?, shadows: boolean?) → any
| arg | type | description |
|---|---|---|
| model | string | |
| name | string | |
| parent | any | |
| mat | any | |
| pos | { number } | |
| scale | { number } | |
| rot | { number }? | |
| shadows | boolean? |
box(name: string, parent: any, mat: any, pos: { number }, scale: { number }, rot: { number }?, shadows: boolean?) → any
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| mat | any | |
| pos | { number } | |
| scale | { number } | |
| rot | { number }? | |
| shadows | boolean? |
sprite(name: string, parent: any, key: string, x: number, z: number, h: number, opts: any?) → any
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| key | string | |
| x | number | |
| z | number | |
| h | number | |
| opts | any? |
sx(v: any, i: number) → number
| arg | type | description |
|---|---|---|
| v | any | |
| i | number |
eachDesc(e: any, fn: (any) → void
| arg | type | description |
|---|---|---|
| e | any | |
| fn | (any |
drift(name: string, parent: any, x: number, z: number, w: number, d: number, h: number?) → void
a soft snow mound (a flattened sphere half sunk into the ground)
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| x | number | |
| z | number | |
| w | number | |
| d | number | |
| h | number? |
patch(name: string, parent: any, x: number, z: number, w: number, d: number, yaw: number, y: number?) → void
a ragged snow patch lying flat on the ground (cutout)
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| x | number | |
| z | number | |
| w | number | |
| d | number | |
| yaw | number | |
| y | number? |
snowRoof(root: any) → void
Lays a ragged cutout snow sheet on every roof slab, a snow roll on the ridge and a cap on the chimney.
| arg | type | description |
|---|---|---|
| root | any |
houseDrifts(parent: any, x: number, z: number, w: number, d: number, seed: number) → void
| arg | type | description |
|---|---|---|
| parent | any | |
| x | number | |
| z | number | |
| w | number | |
| d | number | |
| seed | number |
logCabin(name: string, parent: any, x: number, z: number, opts: { [string]: any }) → any
A log cabin: an Arch house with log walls, round log ends at the front corners, a plank porch, then snow.
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| x | number | |
| z | number | |
| opts | { [string]: any } |
streetLamp(name: string, parent: any, x: number, z: number) → any
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| x | number | |
| z | number |
cliff(name: string, parent: any, x: number, z: number, w: number, d: number, h: number, yaw: number?) → void
a cliff block standing on the chasm floor (y = -14) up to `h`, snow on top
| arg | type | description |
|---|---|---|
| name | string | |
| parent | any | |
| x | number | |
| z | number | |
| w | number | |
| d | number | |
| h | number | |
| yaw | number? |
build(root: any) → void
| arg | type | description |
|---|---|---|
| root | any |
ropeY(t: number) → number
| arg | type | description |
|---|---|---|
| t | number |
setLight(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 the 199 items nearest this part. It holds more than this page lists.
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.