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

Achievements

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

by◐CarneJon·posted 12d ago
What it does

Achievements

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

game/Achievements.component — quien cuenta los logros. Los datos están en `game.achievements` (nombre, texto, meta y el contador que lo mueve); aquí está quien los cuenta: un contador por logro que sube desde el kart (objetos usados, monedas, miniturbos, trucos) y desde los objetos (el rayo y el caparazón azul, que se esquivan), y que se guarda en el progreso — es lo único de los logros que sobrevive a un reinicio. Cuando uno se consigue, queda apuntado aquí (`notice` y `noticeTime`) y el HUD lo enseña seis segundos justo debajo del cuadro de objetos. El aviso lo lleva el componente y no el HUD porque el HUD se rehace cuatro veces por segundo y perdería el momento exacto.

refreshDone( ) → void

Vuelve a mirar, contador a contador, qué logros están conseguidos. No avisa de nada: esto es para saber por dónde va la lista al empezar.

awake( ) → void

--!desc Lee los contadores del progreso guardado.

count(key: string, n: number?, detalle: any?) → void

--!desc Suma a un contador y avisa de los logros que se consigan con eso. --!arg key El contador que sube (el que nombra `game.achievements`). --!arg n Cuánto sube; por defecto 1. --!arg detalle Con qué se hizo: `item` (el objeto usado) y `source` (de dónde --!arg vino, por ejemplo "ramp"), que es lo que miran las exclusiones.

argtypedescription
keystring
nnumber?
detalleany?

progressOf(key: string) → number

--!desc Lo que lleva un contador. Es lo que lee la lista de logros.

argtypedescription
keystring

isDone(id: string) → boolean

--!desc Si un logro está ya conseguido.

argtypedescription
idstring

clearNotice( ) → void

--!desc Olvida el aviso en pantalla. Lo llama el HUD cuando se le acaba.

update(dt: ?) → void

argtypedescription
dt?

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
▣
module · born here
❒asset
# achievements <!-- 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.
▲ 0↑ born
▣
module · born here
❒asset
# progress <!-- 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.
▲ 0↑ born
backing path · game/Achievements.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.