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

ui

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

byPolar Night·posted 3mo ago
What it does

ui

<!-- 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

firstlight.ui — First Light's interface, on the GameDirector entity. The HUD reads Rules.state every play frame and redraws when a reading changes; the title, death, First Light, sleep-fade and frostbite screens answer Rules.events. The trees live in firstlight.ui.*; this file only decides what shows when.

Audio

hide(name: ?) → void

argtypedescription
name?

hideAll( ) → void

registerAll( ) → void

showTitle( ) → void

showHud( ) → void

showDeath(payload: ?) → void

argtypedescription
payload?

showWin(payload: ?) → void

argtypedescription
payload?

soundSource( ) → void

clickClip( ) → void

The two UI clips, resolved once each; `false` records a clip that is absent.

toneClip( ) → void

play(c: ?, opts: ?) → void

argtypedescription
c?
opts?

click( ) → void

tone(pitch: ?) → void

argtypedescription
pitch?

asModule(ok: ?, mod: ?) → void

argtypedescription
ok?
mod?

requireForecast( ) → void

requireInteract( ) → void

requireLegacy( ) → void

forecastForTomorrow(dt: ?) → void

argtypedescription
dt?

currentPrompt(dt: ?) → void

argtypedescription
dt?

tickHud(dt: ?) → void

argtypedescription
dt?

tickOverlays(dt: ?) → void

argtypedescription
dt?

titleDismissed( ) → void

Any key or click after the title has settled dismisses it.

awake( ) → void

say(p: ?) → void

argtypedescription
p?

death(p: ?) → void

argtypedescription
p?

firstLight(p: ?) → void

argtypedescription
p?

sleep( ) → void

bear(p: ?) → void

argtypedescription
p?

newRun( ) → void

update(dt: ?) → void

argtypedescription
dt?

editorUpdate(dt: ?) → void

argtypedescription
dt?

onCallback(id: ?, data: ?) → void

argtypedescription
id?
data?

onDestroy( ) → void

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.