item_rank
Global of Kamidori Alchemy Meister: the cell G:0x2dcc58, of type int[2000], data-table, values 0..6 rank/grade.
SETTOOLLIST@0x0010c sorts by it in modes 4 and 5. SETARMSTATE@0x001bf makes an equipment-group item unusable when its rank exceeds the character's weapon rank (0x7e1a1). ALCHEMY@0x00a5c indexes alchemy_exp_by_item_rank with it. CALCSETTLE@0x003e0 lowers the shop-sale chance by 10% per rank (100 - rank*10).
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.rank.
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 | 279 | 0 |
$1$ITINIT | 0 | 25 | 0 |
$2$ITINIT | 0 | 22 | 0 |
CALCSETTLE | 0 | 0 | 3 |
ALCHEMY | 0 | 0 | 2 |
SETTOOLLIST | 0 | 0 | 2 |
SETARMSTATE | 0 | 0 | 1 |