merge(a: any, b: any?) → any
Widget helpers (the shops slice's look)
| arg | type | description |
|---|
| a | any | |
| b | any? | |
at(l: any, t: any, w: any?, h: any?, extra: any?) → any
| arg | type | description |
|---|
| l | any | |
| t | any | |
| w | any? | |
| h | any? | |
| extra | any? | |
pad(style: any, v: number, h: number?) → any
| arg | type | description |
|---|
| style | any | |
| v | number | |
| h | number? | |
box(id: string, style: any, children: { any }?, props: any?) → any
| arg | type | description |
|---|
| id | string | |
| style | any | |
| children | { any }? | |
| props | any? | |
hrow(id: string, style: any, children: { any }?, props: any?) → any
| arg | type | description |
|---|
| id | string | |
| style | any | |
| children | { any }? | |
| props | any? | |
text(id: string, s: string, style: any, wrap: boolean?) → any
| arg | type | description |
|---|
| id | string | |
| s | string | |
| style | any | |
| wrap | boolean? | |
art(id: string, svg: string, style: any) → any
| arg | type | description |
|---|
| id | string | |
| svg | string | |
| style | any | |
loop(kf: any, dur: number) → any
| arg | type | description |
|---|
| kf | any | |
| dur | number | |
once(kf: any, dur: number) → any
| arg | type | description |
|---|
| kf | any | |
| dur | number | |
hexA(hex: string?, a: number) → string
| arg | type | description |
|---|
| hex | string? | |
| a | number | |
upper(s: any) → string return string
spacer(id: string) → any return box
| arg | type | description |
|---|
| id | string | |
keycap(id: string, key: string, what: string) → any
| arg | type | description |
|---|
| id | string | |
| key | string | |
| what | string | |
button(id: string, label: string, color: string, enabled: boolean, cb: string?, style: any?, size: number?) → any
| arg | type | description |
|---|
| id | string | |
| label | string | |
| color | string | |
| enabled | boolean | |
| cb | string? | |
| style | any? | |
| size | number? | |
closeX(id: string, cb: string, accent: string) → any
| arg | type | description |
|---|
| id | string | |
| cb | string | |
| accent | string | |
tabBar(id: string, accent: string, active: string) → any
| arg | type | description |
|---|
| id | string | |
| accent | string | |
| active | string | |
footer(id: string, accent: string, msg: string?, msgColor: string?, keys: { { string } }) → any
| arg | type | description |
|---|
| id | string | |
| accent | string | |
| msg | string? | |
| msgColor | string? | |
| keys | { { string } } | |
frame(id: string, accent: string, kids: { any }) → any
| arg | type | description |
|---|
| id | string | |
| accent | string | |
| kids | { any } | |
heading(id: string, s: string, color: string?) → any
| arg | type | description |
|---|
| id | string | |
| s | string | |
| color | string? | |
bar(id: string, frac: number, color: string, w: any, h: number) → any
| arg | type | description |
|---|
| id | string | |
| frac | number | |
| color | string | |
| w | any | |
| h | number | |
lines(id: string, list: { any }, size: number?) → void
| arg | type | description |
|---|
| id | string | |
| list | { any } | |
| size | number? | |
chip(id: string, s: string, color: string, filled: boolean?) → any
| arg | type | description |
|---|
| id | string | |
| s | string | |
| color | string | |
| filled | boolean? | |
emptyCard(id: string, title: string, sub: string, color: string?) → any
| arg | type | description |
|---|
| id | string | |
| title | string | |
| sub | string | |
| color | string? | |
tier(id: string) → void
| arg | type | description |
|---|
| id | string | |
iconKind(def: any) → string
icon(def: any, color: string) → string
| arg | type | description |
|---|
| def | any | |
| color | string | |
slotOf(filter: string) → string
| arg | type | description |
|---|
| filter | string | |
matches(def: any, filter: string) → boolean
| arg | type | description |
|---|
| def | any | |
| filter | string | |
filterLabel(filter: string) → string
| arg | type | description |
|---|
| filter | string | |
itemRows(filter: string) → void
What V carries under `filter`: weapons, cyberware (slot order), hacks,
supplies, parts, gifts, junk, keys; best tier first.
| arg | type | description |
|---|
| filter | string | |
isEquipped(id: string, def: any) → boolean
| arg | type | description |
|---|
| id | string | |
| def | any | |
statText(stat: string, v: number) → string
| arg | type | description |
|---|
| stat | string | |
| v | number | |
statGood(stat: string, v: number) → boolean
| arg | type | description |
|---|
| stat | string | |
| v | number | |
modLines(mods: any, scale: number?) → void
| arg | type | description |
|---|
| mods | any | |
| scale | number? | |
effects(id: string, def: any) → void
What an item does, as { text, colour } lines (perk-adjusted hack cost).
| arg | type | description |
|---|
| id | string | |
| def | any | |
compare(id: string, def: any) → void
How an equippable piece compares with what its slot holds now.
| arg | type | description |
|---|
| id | string | |
| def | any | |
badge(id: string, n: number, label: string, color: string, cb: string) → any
Header (every tab)
| arg | type | description |
|---|
| id | string | |
| n | number | |
| label | string | |
| color | string | |
| cb | string | |
header(accent: string) → any
| arg | type | description |
|---|
| accent | string | |
tile(id: string, row: any, selected: boolean, cb: string) → any
| arg | type | description |
|---|
| id | string | |
| row | any | |
| selected | boolean | |
| cb | string | |
emptyTile(id: string) → any
| arg | type | description |
|---|
| id | string | |
slotColumn(m: any, accent: string) → any
| arg | type | description |
|---|
| m | any | |
| accent | string | |
filterChips(m: any, accent: string) → any
| arg | type | description |
|---|
| m | any | |
| accent | string | |
scrollTab(id: string, label: string, show: boolean, cb: string) → any
| arg | type | description |
|---|
| id | string | |
| label | string | |
| show | boolean | |
| cb | string | |
grid(m: any, accent: string) → any
| arg | type | description |
|---|
| m | any | |
| accent | string | |
currentItem(m: any) → any
The row the detail card shows: the grid selection, or the selected
slot's equipped piece.
primaryLabel(row: any?) → string
The label of Enter for an item.
| arg | type | description |
|---|
| row | any? | |
inventoryBody(m: any, accent: string) → any
| arg | type | description |
|---|
| m | any | |
| accent | string | |
fmtStat(kind: string, v: number) → string
| arg | type | description |
|---|
| kind | string | |
| v | number | |
attributeCard(m: any, i: number, a: string) → any
| arg | type | description |
|---|
| m | any | |
| i | number | |
| a | string | |
characterBody(m: any, accent: string) → any
| arg | type | description |
|---|
| m | any | |
| accent | string | |
nodeX(col: number) → number
| arg | type | description |
|---|
| col | number | |
nodeY(tier: number) → number return 8
| arg | type | description |
|---|
| tier | number | |
perkOrder(tree: string) → void
A tree's perks in reading order: tier, then left, centre, right.
| arg | type | description |
|---|
| tree | string | |
perkState(pk: any) → void
"maxed" | "owned" | "ready" (buyable now) | "open" (needs a point) | "locked", why
pips(id: string, rank: number, ranks: number, color: string, w: number, h: number) → any
| arg | type | description |
|---|
| id | string | |
| rank | number | |
| ranks | number | |
| color | string | |
| w | number | |
| h | number | |
perkNode(i: number, pk: any, color: string, selected: boolean) → any
| arg | type | description |
|---|
| i | number | |
| pk | any | |
| color | string | |
| selected | boolean | |
perkCanvas(m: any, order: { any }) → any
| arg | type | description |
|---|
| m | any | |
| order | { any } | |
perkDetail(m: any, order: { any }) → any
| arg | type | description |
|---|
| m | any | |
| order | { any } | |
skillRow(i: number, sk: any) → any
SKILLS
| arg | type | description |
|---|
| i | number | |
| sk | any | |
skillsBody(_m: any, accent: string) → any
| arg | type | description |
|---|
| _m | any | |
| accent | string | |
footKeys(m: any) → void
The whole menu