alchemy_recipe_ingredient_item_ids
Global of Himegari Dungeon Meister: the cell G:0x158154, of type int[1000][4], data-table, values ITINIT item ids; zero means unused slot.
Up to four ingredient item ids per recipe; the slots are independent (recipe 1 uses slots 2 and 3). ALCHEMY greys a recipe out when a nonzero slot's inventory count, less a per-item count the menu keeps in L[0x803], is below its quantity (ALCHEMY@0x1280-0x12d7), and synthesis then refuses with 「素材が不足しています。」 (ALCHEMY@0xdf6-0xe21). Synthesis removes each slot's quantity through ADDITEM with a negative count (ALCHEMY@0x13d8-0x1411).
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.
Its columns are named: 0 ingredient_1, 1 ingredient_2, 2 ingredient_3, 3 ingredient_4. Lua and an event’s cell write a row’s column alchemy_recipe_ingredient_item_ids[i].column.
It depends on 0x156214, 0x1590f4.
Record tables
It is a field of the table recipe, as recipe.id.ingredient_item_ids.
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 |
|---|---|---|---|
ALINIT | 0 | 286 | 0 |
ALCHEMY | 0 | 0 | 6 |