rgba(hex: string, a: number) → string
| arg | type | description |
|---|
| hex | string | |
| a | number | |
merge(a: any, b: any?) → any
| arg | type | description |
|---|
| a | any | |
| b | any? | |
at(l: number, t: number, w: any?, h: any?, extra: any?) → any
| arg | type | description |
|---|
| l | number | |
| t | number | |
| w | any? | |
| h | any? | |
| extra | any? | |
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) → any
| arg | type | description |
|---|
| id | string | |
| s | string | |
| style | any | |
once(kf: any, dur: number, delay: number?) → any
| arg | type | description |
|---|
| kf | any | |
| dur | number | |
| delay | number? | |
loop(kf: any, dur: number, easing: string?) → any
| arg | type | description |
|---|
| kf | any | |
| dur | number | |
| easing | string? | |
root(id: string, children: { any }, block: boolean?) → any
| arg | type | description |
|---|
| id | string | |
| children | { any } | |
| block | boolean? | |
strip(id: string, label: string, x: number, y: number, w: number, color: string) → any
A header strip: dark label on a neon bar, the way the terminal titles its panels.
| arg | type | description |
|---|
| id | string | |
| label | string | |
| x | number | |
| y | number | |
| w | number | |
| color | string | |
breachGeom(size: number, bufferSize: number) → Geom
| arg | type | description |
|---|
| size | number | |
| bufferSize | number | |
cellId(r: number, c: number) → string return
The terminal.
v = { P, g = Geom, label, difficulty, cursor = {r, c}?, names = {..},
rewards = {..}, advance = {bool..}?, ended = bool }
| arg | type | description |
|---|
| r | number | |
| c | number | |
codeChip(id: string, code: string?, sz: number, mode: string) → any
| arg | type | description |
|---|
| id | string | |
| code | string? | |
| sz | number | |
| mode | string | |
rightColumn(v: any) → any
timerTree(v: any) → any
The countdown strip, in the terminal's top-right corner.
v = { g, remaining, total, started }
resultTree(v: any) → any
The result card over the terminal.
v = { g, success, label, lines = { {text, color} }, reason }
menuTree(v: any) → any
The quickhack menu (right of centre, the way the game's own lists sit).
v = { rows = { {id, name, ram, color, desc, ok, why} }, sel, ram, maxRam,
target = { name, level }?, msg }
tagTree(v: any) → any
The scanned target's readout by the reticle, and the upload bar under it.
v = { name, level, hpFrac, hint, revealed, upload = { name, seconds, color, n }? }
fxTree(n: number, color: string?) → any
A short screen glitch when a quickhack lands or a breach opens.
| arg | type | description |
|---|
| n | number | |
| color | string? | |