Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 47b50fcd-5…

progress

Each player's hangout progression, kept on their own machine (runtime data, survives restarts) and shared with the room as a small card.

by◐Deata·posted 3d ago
What it does

progress

Each player's hangout progression, kept on their own machine (runtime data, survives restarts) and shared with the room as a small card.

  • Play time: per console and per game, while you are the one playing (holding the Game Boy, or a controller on a TV game with a game running).
  • XP and level: playing earns 10 XP a minute (15 when two people play the TV together), hanging out with at least one other person earns 2 a minute, milestones add a bonus. Level n needs 100 + 60 (n-1) XP.
  • Milestones: real things done in the room (first game, co-op on the TV, passing the Game Boy on, uploading a cartridge, an hour on a console, playing every console, playing from the sofa...).
local Progress = require("stations.progress")
Progress.playing(consoleId, title, dt, coop)   -- each frame you play
Progress.event("upload")                        -- "upload", "handover", "seated", "watched", "pinned"
Progress.photo()                                -- a photo taken with the instant camera
Progress.tick(dt)                               -- once a frame (HangoutHud does it)
Progress.level() -> (level, xpIntoLevel, xpForLevel)
Progress.cards() -> { {peer, name, level, xp, minutes, top, milestones} }   -- everyone, you first
Progress.milestones() -> { {id, title, text, done} }
Progress.onToast(fn(title, text))               -- a milestone or level up

Channel: progress.card (each peer's card, on change and every 15 s; answered on progress.hello).

Interface

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

conforms to

zero/source-extract/v2

strict

encode(t: any) → string

argtypedescription
tany

decode(s: string) → any

argtypedescription
sstring

load( ) → void

save( ) → void

toast(title: string, text: string) → void

argtypedescription
titlestring
textstring

level( ) → void

addXp(n: number) → void

argtypedescription
nnumber

award(id: string) → void

argtypedescription
idstring

playing(consoleId: string, title: string, dt: number, coop: boolean?) → void

Each frame the local player plays `consoleId` (`title` the game).

argtypedescription
consoleIdstring
titlestring
dtnumber
coopboolean?

event(id: string) → void

Something done in the room: "upload", "handover", "seated".

argtypedescription
idstring

photo( ) → void

A photo taken with the instant camera.

watching(dt: number) → void

Time spent watching someone else play (a TV game running, not playing).

argtypedescription
dtnumber

myName( ) → string

topGame( ) → string

count(t: { [string]: any }) → number

argtypedescription
t{ [string]: any }

myCard( ) → any

sendCard( ) → void

listen( ) → void

tick(dt: number) → void

Once a frame: social time, saving, the shared card.

argtypedescription
dtnumber

cards( ) → void

Everyone's card, this player first; players who left are dropped.

milestones( ) → void

minutesOn(consoleId: string) → number

argtypedescription
consoleIdstring

onToast(fn: (string, string) → void

argtypedescription
fn(string, string

flush( ) → 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. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.