card_prices
Global of Soukoku no Arterial: the cell G:0x2c931f, of type int[6000][2], data-table.
CDINIT: two prices, the second a fifth of the first. ADDCARD sells what the player holds over 99 at the second; SHOPP and SHOPS read both.
OME’s registry gives it with high confidence, from investigation. The base mod arterial-base exports the name, so Lua and an event’s fields can use it.
Its columns are named: 0 buy, 1 sell. Lua and an event’s cell write a row’s column card_prices[i].column.
Record tables
It is a field of the table card, as card.id.price.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
CDINIT | 0 | 542 | 0 |
$4$CDINIT | 0 | 56 | 0 |
$3$CDINIT | 0 | 14 | 0 |
$1$CDINIT | 0 | 10 | 0 |
SHOPS | 0 | 0 | 4 |
RESULT | 0 | 0 | 3 |
SHOPP | 0 | 0 | 3 |
ADDCARD | 0 | 0 | 1 |