save
A module script.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2Blast Radius — persistent progression + settings, stored in the world's replicated runtime_data KV under the "br." prefix. Survives restarts and syncs to every peer. Progression: cash total, highest unlocked contract, best result per contract. Settings: audio volumes, subtitles, camera shake, sensitivity.
kvGet(key: ?) → void
| arg | type | description |
|---|---|---|
| key | ? |
kvSet(key: ?, value: ?) → void
| arg | type | description |
|---|---|---|
| key | ? | |
| value | ? |
kvDelete(key: ?) → void
| arg | type | description |
|---|---|---|
| key | ? |
get(key: ?, fallback: ?) → void
| arg | type | description |
|---|---|---|
| key | ? | |
| fallback | ? |
cash( ) → void
Cash on hand.
addCash(n: ?) → void
| arg | type | description |
|---|---|---|
| n | ? |
unlocked( ) → void
Highest unlocked contract id (1 = only the shed).
unlockUpTo(id: ?) → void
| arg | type | description |
|---|---|---|
| id | ? |
best(contractId: ?) → void
Best result for a contract: { grade = "A", pct = 92, pay = 1130 } or nil.
| arg | type | description |
|---|---|---|
| contractId | ? |
recordBest(contractId: ?, result: ?) → void
| arg | type | description |
|---|---|---|
| contractId | ? | |
| result | ? |
chargeUnlocked(chargeKey: ?) → void
Charge key -> unlocked? Per Defs.CHARGE_UNLOCK vs contracts completed.
| arg | type | description |
|---|---|---|
| chargeKey | ? |
settings( ) → void
Settings table (merged over defaults).
saveSettings(s: ?) → void
| arg | type | description |
|---|---|---|
| s | ? |
stats( ) → void
Lifetime stats for the Extras page.
bumpStats(delta: ?) → void
| arg | type | description |
|---|---|---|
| delta | ? |
hasProgress( ) → void
True once any progress exists (drives Continue button).
reset( ) → void
Wipe progression + stats (New Game). Settings are kept.
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.
agent_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.