training_action_required_item_ids
Global of Himegari Dungeon Meister: the cell G:0x155e5c, of type int[21], data-table, values ITINIT item id; zero means no item requirement.
An item the player must hold (item_inventory_counts nonzero) for the action, not used up (TRAIN@0x722-0x74c); TRAIN prints its name, or なし (TRAIN@0x100b-0x1033).
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 training_action, as training_action.id.required_item_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 |
|---|---|---|---|
TRINIT | 0 | 8 | 0 |
TRAIN | 0 | 0 | 4 |