unit_initial_equipment_item_ids
Global of Kamidori Alchemy Meister: the cell G:0x2b9d5c, of type int[1000][3], data-table, values ITINIT ids; col0 1000..1831 weapons (41 rows), col1 1866 (4 rows), col2 unused.
SETEN@0x00543 copies to battle equipment 0x53c48 and (cols 0..1, count 1) to the defeat-loot list 0x6338c/0x63580; UNITECH@0x00496 seeds roster equipment 0x63905 and ADDITEMs it (mode bit1); GAMESTART reads it.
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.
Its columns are named: 0 weapon, 1 accessory, 2 slot_3. Lua and an event’s cell write a row’s column unit_initial_equipment_item_ids[i].column.
Record tables
It is a field of the table unit, as unit.id.initial_equipment.
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 |
|---|---|---|---|
EBINIT | 0 | 24 | 0 |
$3$EBINIT | 0 | 16 | 0 |
$1$EBINIT | 0 | 3 | 0 |
SETEN | 0 | 0 | 3 |
$2$EBINIT | 0 | 2 | 0 |
GAMESTART | 0 | 0 | 1 |
UNITECH | 0 | 0 | 1 |