item_icon_id
Global of Himegari Dungeon Meister: the cell G:0x8dc01, of type int[1000], data-table, values icon cell id: 1..360 in SO016.AGF; 501 (the append's item 82) in $1$SO016A.AGF.
ITINIT field for all 287 items; $1$ITINIT writes four more. An id numbers a 40x40 cell of the item icon sheet, which FORT@0x602 and INFO@0xe4 load into surface 0x49 through READICON with G[0x62436] = 0: READICON takes the sheet from G[0x15a75b] (INIT2@0x6d: 0x334d, SO016.AGF, 400x1440, ten by 36 cells) with the colour key 0x00ff00 (READICON@0x49-0x54). Id k is drawn from x = ((k-1)/500*10 + (k-1)%10)*40, y = ((k-1)/10 % 50)*40 (INFOIT@0x12c0-0x1306 and @0x15ef-0x1635, CHMENU, ALCHEMY, IMPROVE): ids 1..500 are SO016's cells, ten to a row from (0, 0) in steps of 40. When an id passes 500, READICON builds a wider surface and copies the sheets of G[0x15a75b] row 0's columns 1..20 beside SO016 (READICON@0x5e-0x11f); $1$AUTORUN@0x6f puts $1$SO016A.AGF (0x100001f) in column 1, so ids 501 on are $1$SO016A's cells, ten to a row from (0, 0) in steps of 40.
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 item, as item.id.icon_id.
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 | 287 | 0 |
$1$ITINIT | 0 | 4 | 0 |
ALCHEMY | 0 | 0 | 3 |
CHMENU | 0 | 0 | 2 |
IMPROVE | 0 | 0 | 2 |
INFOIT | 0 | 0 | 2 |
READICON | 0 | 0 | 2 |
DRAWCHP | 0 | 0 | 1 |
STATUS | 0 | 0 | 1 |