item_sort_key
Global of Kamidori Alchemy Meister: the cell G:0x2dc488, of type int[2000], data-table, values catalog order, mostly id*10 (10..19925).
ENHANCE@0x01121, INFO3@0x00893, REWARD@0x0037e, SELORN@0x00799 and SELSTAGE@0x0193e pass it as the key array to sort-indices-by-key-sum over 0x7d0 (2000) ids. SETTOOLLIST@0x0003c uses it as the low word of every composite list-sort key.
OME’s registry gives it with high confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
Record tables
It is a field of the table item, as item.id.sort_key.
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 |
|---|---|---|---|
ITINIT | 0 | 987 | 0 |
$3$ITINIT | 0 | 259 | 0 |
$1$ITINIT | 0 | 25 | 0 |
$2$ITINIT | 0 | 22 | 0 |
SETTOOLLIST | 0 | 0 | 8 |
INFO3 | 0 | 0 | 2 |
ALCHEMY | 0 | 0 | 1 |
ENHANCE | 0 | 0 | 1 |
INFO4 | 0 | 0 | 1 |
INFO5 | 0 | 0 | 1 |
REWARD | 0 | 0 | 1 |
SELORN | 0 | 0 | 1 |
SELSTAGE | 0 | 0 | 1 |