Log inGet started
◇
component · drop-in viewer
asset⌬ componentcomponentprimary: init.luau·originates fromworld c94b6bf7-7…

GlAtmos

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. -->

by◐victue·posted 2mo ago
What it does

GlAtmos

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. -->

TODO: describe this component.

Interface

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

conforms to

zero/source-extract/v2

gl.atmos.GlAtmos — SLICE 5: the day, the weather and the wildlife. Attach to `Mount_Atmos`. One full day is GL.DAY_MINUTES real minutes (24). The clock drives the sun's arc, its colour and strength, the ambient fill and the procedural sky's time of day; torches in the village light at dusk and go out at dawn. Weather is per island, chosen from the island's own `weatherSet` in gl_core — which is why Alabasta can sandstorm, Skypiea can throw lightning and Water 7 can rain, without any other slice knowing how. Publishes: timeOfDay() -> 0..24 nightFactor() -> 0..1 weather() -> current setWeather(name) isNight() dayLengthMinutes()

ModelLight

findByName(name: string) → any

argtypedescription
namestring

worldSlice( ) → any

lerp(a: number, b: number, f: number) → number

argtypedescription
anumber
bnumber
fnumber

spawnProp(name: string, pos: { number }, scale: { number }, tint: { number }, opts: any?) → void

argtypedescription
namestring
pos{ number }
scale{ number }
tint{ number }
optsany?

timeOfDay( ) → number

The hour, 0..24, on the world clock.

nightFactor( ) → number

0 in full day, 1 in the deep of the night, with dusk and dawn shoulders.

isNight( ) → boolean

buildTorches( ) → void

buildWildlife( ) → void

awake( ) → void

update(dt: number) → void

argtypedescription
dtnumber

timeOfDay( ) → number

The current hour, 0..24.

nightFactor( ) → number

0 in full day, 1 at the dead of night.

isNight( ) → boolean

Whether it is dark enough for torches.

weather( ) → string

The weather running now, by name.

weatherNames( ) → void

Every weather this world knows.

setWeather(name: string) → boolean

Force a spell of weather. Turns auto-weather off so it sticks.

argtypedescription
namestring

dayLengthMinutes( ) → number

How many real minutes a full day takes.

setHour(h: number) → void

Jump the clock to an hour, for looking at a time of day on demand.

argtypedescription
hnumber

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.

11+items
◇
component · born here
❒asset
# GlWorld <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. --> TODO: describe this component.
▲ 0↑ born
▣
module · born here
❒asset
# gl_core One-paragraph description of what this module provides and who consumes it. ## Exports - `M.exampleFn(arg) -> result` — what it does and when to call it. - `M.exampleValue: type` — what value it carries. ## Usage Replace `<identity>` with the string `asset.create` returned — this module's source path with `/` written as `.` and each segment's type suffix dropped, the way a module at `/source/lib/thing.module` is `lib.thing` and one at `/source/kit.package/thing.module` is `kit.thing`. ```luau local M = require("<identity>") M.exampleFn("foo") ``` ## Notes - Anything callers need to know about THIS module: required runtime ordering, state ownership, side effects.
▲ 0↑ born
backing path · gl/atmos/GlAtmos.component

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.