item_random_tier
Global of Himegari Dungeon Meister: the cell G:0x8cc61, of type int[1000], data-table, values 0..6.
ITINIT field for all 287 items. ADDRANDOMITEM and LOSTRANDOMITEM bucket eligible item ids by this value before choosing a random gain/loss; IMPROVE compares it with the current progression rank. This is the random-item availability/rarity tier, distinct from item_category.
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.random_tier.
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 |
ADDRANDOMITEM | 0 | 0 | 1 |
IMPROVE | 0 | 0 | 1 |
LOSTRANDOMITEM | 0 | 0 | 1 |