item_usability_flags
Global of Kamidori Alchemy Meister: the cell G:0x319ce8, of type int[2000], data-table, values bit0 usable by current character, bit1 currently equipped, bit2 equippable-group.
SETARMSTATE rebuilds it for character 0x2d2845. bit0 combines category mask, whitelist, species/sex masks and rank; bit1 marks currently equipped items and socketed gems. SETTOOLLIST@0x001c9 consumes bit0.
OME’s registry gives it with med 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.usability_flag.
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 |
|---|---|---|---|
SETARMSTATE | 0 | 0 | 12 |
FELLOW | 0 | 0 | 6 |
SELGEM | 0 | 0 | 1 |
SETTOOLLIST | 0 | 0 | 1 |