item_costume_gem_sockets
Global of Kamidori Alchemy Meister: the cell G:0xefed0, of type int[2000][4], data-table, values inserted orb item ids.
CALCARM@0x0021a adds each socketed orb's item_affinity_level_deltas and item_stat_modifiers to the costume totals; orbs 283..285 instead add +2/+3/+5 to the skill-activation bonus 0x2a9b87. The open-socket count comes from enhancement type 3 (capped at 4).
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.costume_gem_sockets.
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 |
|---|---|---|---|
ENHANCE | 0 | 0 | 6 |
CALCARM | 0 | 0 | 2 |
SETARMSTATE | 0 | 0 | 2 |
SETEQUIP | 0 | 0 | 2 |
ADDEXP | 0 | 0 | 1 |
GAMECLEAR | 0 | 0 | 1 |
GAMESTART | 0 | 0 | 1 |