Dread
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. -->
Dread
<!-- 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/v2game/Dread.component/init.luau THE MISSING FLOOR — the sound, the presence, and the building moving. The reason it is frightening, which is mostly not a monster. * THE SOUND. A quiet bed of the building, and then rare cues. Silence is the default: a cue that fires constantly stops being a cue, so every one of these is on a long cooldown and most of them need a reason. * THE PRESENCE. Never a monster on patrol. It is a shape at the end of a corridor that is gone when the torch reaches it, footsteps one floor up, a figure behind you that is not there when you turn. It drifts toward noise, and it does not like being looked at. * DANGER. One number, 0 to 1. Running, noise, the eleventh floor and being looked at by it push it up; it settles on its own. At the top it does not kill you — the lights flicker, the torch fails, a door closes behind you, and then it takes you: Session puts you back at the checkpoint with no memory of the walk. * THE BUILDING MOVING. On a stage advance the place answers back.
keep(ok: ?, ref: ?) → void
The clips, resolved from literals at the callsite so the engine can pin them. Missing ones are simply silent — the game plays without them, and they arrive when the generation lands.
| arg | type | description |
|---|---|---|
| ok | ? | |
| ref | ? |
dreadRoot( ) → void
cue(name: ?, pos: ?, volume: ?) → void
One shot. Spawns a small temporary source where the sound is, and lets it clean itself up — the shortest honest way to play a one-off cue.
| arg | type | description |
|---|---|---|
| name | ? | |
| pos | ? | |
| volume | ? |
flickerLight(n: ?, seconds: ?) → void
Drop a strip for a moment. Never all of them, never twice in a row on the same one, and never for long enough to be a strobe.
| arg | type | description |
|---|---|---|
| n | ? | |
| seconds | ? |
presenceEntity( ) → void
playerState( ) → void
Where the player is, and which way they are facing.
isBeingWatched(ps: ?, pp: ?) → void
Hide it when it is being looked at. This is the whole of its behaviour that matters: it can only be seen out of the corner of your eye.
| arg | type | description |
|---|---|---|
| ps | ? | |
| pp | ? |
raise(amount: ?) → void
| arg | type | description |
|---|---|---|
| amount | ? |
taken( ) → void
offerEleventhFloor(on: ?) → void
The eleventh button appears on the cab panel once you know about it and can get there. Nothing announces it; it is simply there the next time you look.
| arg | type | description |
|---|---|---|
| on | ? |
wire( ) → void
awake( ) → void
start( ) → void
update(dt: ?) → void
| arg | type | description |
|---|---|---|
| dt | ? |
onDestroy( ) → 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.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
Inside
10 problems across 1 itemagent_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.