screens
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
screens
<!-- 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.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2game.ui.screens — pure widget-tree builders for every Spooky Spook Spook screen. Each takes a view-model table and returns a tree; GameUI owns the state, registers the trees and handles every callback id they carry. Callback ids: "rise", "riseAgain", "descend", "inv:<boneId>", "build:<boneId>", "page:prev", "page:next". Element ids are all prefixed "ssk-" so no other screen collides.
merge(a: any, b: any) → any
| arg | type | description |
|---|---|---|
| a | any | |
| b | any |
plaqueButton(id: string, cb: string, w: number, h: number, title: string, sub: string?, focused: boolean, opts: any?) → void
A carved bone plaque button (generated art) with engraved type.
| arg | type | description |
|---|---|---|
| id | string | |
| cb | string | |
| w | number | |
| h | number | |
| title | string | |
| sub | string? | |
| focused | boolean | |
| opts | any? |
panelTitle(text: string, size: number?) → void
Panel title with little bone flourishes either side.
| arg | type | description |
|---|---|---|
| text | string | |
| size | number? |
title(vm: any) → void
| arg | type | description |
|---|---|---|
| vm | any |
hud(vm: any) → void
| arg | type | description |
|---|---|---|
| vm | any |
banner(vm: any) → void
| arg | type | description |
|---|---|---|
| vm | any |
flash(alpha: number) → void
| arg | type | description |
|---|---|---|
| alpha | number |
kindShort(b: any) → string
| arg | type | description |
|---|---|---|
| b | any |
rarityDef(id: string) → any
| arg | type | description |
|---|---|---|
| id | string |
affixLabel(id: string) → string
| arg | type | description |
|---|---|---|
| id | string |
affixText(id: string) → string
| arg | type | description |
|---|---|---|
| id | string |
synergyText(st: any) → string
The archetypes a build has reached, or the nearest one still to reach.
| arg | type | description |
|---|---|---|
| st | any |
mutationLine(b: any) → string
| arg | type | description |
|---|---|---|
| b | any |
slotNode(b: any, i: number, vm: any) → void
| arg | type | description |
|---|---|---|
| b | any | |
| i | number | |
| vm | any |
statRow(icon: string, label: string, pips: number, value: string) → void
| arg | type | description |
|---|---|---|
| icon | string | |
| label | string | |
| pips | number | |
| value | string |
headRow(heads: number) → void
| arg | type | description |
|---|---|---|
| heads | number |
clampPips(x: number) → number
| arg | type | description |
|---|---|---|
| x | number |
ossuary(vm: any) → void
| arg | type | description |
|---|---|---|
| vm | any |
heading(t: string) → void
| arg | type | description |
|---|---|---|
| t | string |
chip(txt: string, cb: string, id: string) → void
| arg | type | description |
|---|---|---|
| txt | string | |
| cb | string | |
| id | string |
ending(vm: any) → void
| arg | type | description |
|---|---|---|
| vm | any |
row(label: string, value: string) → void
| arg | type | description |
|---|---|---|
| label | string | |
| value | string |
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.