alchemy_recipe_ingredient_quantities
Global of Kamidori Alchemy Meister: the cell G:0x395579, of type int[2000][4], data-table, values base quantity per ingredient slot (1..20).
ALCHEMY@0x1056/0x11a8/0x1713 consumes max(1, qty*(99 - studio_material_saving)/100 + 1) per craft and compares against inventory 0x7ea4f; INFO4@0x11a2 draws the base quantity next to the owned count.
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 quantity_0, 1 quantity_1, 2 quantity_2, 3 quantity_3. Lua and an event’s cell write a row’s column alchemy_recipe_ingredient_quantities[i].column.
Record tables
It is a field of the table recipe, as recipe.id.ingredient_quantities.
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 | 967 | 0 |
$3$ALINIT | 0 | 369 | 0 |
$1$ALINIT | 0 | 40 | 0 |
$2$ALINIT | 0 | 29 | 0 |
ALCHEMY | 0 | 0 | 5 |
INFO4 | 0 | 0 | 1 |