skill_sort_key
Global of Himegari Dungeon Meister: the cell G:0xa6e5a, of type int[300], data-table, values mostly unique values 10..2002.
SKINIT field populated for 129 of 131 skills. ADDEXP, ADDSKILL, CHMENU, INFOIT, and SETCH combine it with skill_category to construct deterministic skill-list ordering keys; higher-level sort operations consume the resulting indices.
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
Record tables
It is a field of the table skill, as skill.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 |
|---|---|---|---|
SKINIT | 0 | 129 | 0 |
ADDEXP | 0 | 0 | 2 |
ADDSKILL | 0 | 0 | 2 |
CHMENU | 0 | 0 | 2 |
INFOIT | 0 | 0 | 2 |
SETCH | 0 | 0 | 2 |
SETEN | 0 | 0 | 2 |