recipe
Record table of Himegari Dungeon Meister, records 0 to 999, 7 fields.
ALINIT alchemy recipes keyed by recipe id; 107 are written (1 to 467 with gaps), none by $1$ALINIT. A recipe exists when it names an output item. ALCHEMY lists those whose level, story and cost gates pass, in id order, and makes one output item from up to four ingredients for its point cost.
The game builds it at boot. Record id is [recipe.id] in a data file, recipe[id] in OMS and Lua, and a field recipe.id.field.
The database lists it: Recipes.
Fields
Each field is a global, one cell per record, named under the field. The last column is what a data file may write to it, as the base mod himegari-base’s shape says.
| Field and its global | Type | Refers to | In a data file |
|---|---|---|---|
output_item_idalchemy_recipe_output_item_ids | int[1000] | item | yes: a whole number |
minimum_levelalchemy_recipe_minimum_levels | int[1000] | — | yes: a whole number |
required_story_flagsalchemy_recipe_required_story_flags | int[1000][2] | — | yes: a row of 2 columns by name; write required_story_flags.<column> = ... |
forbidden_story_flagsalchemy_recipe_forbidden_story_flags | int[1000][2] | — | yes: a row of 2 columns by name; write forbidden_story_flags.<column> = ... |
point_costalchemy_recipe_point_costs | int[1000] | — | yes: a whole number |
ingredient_item_idsalchemy_recipe_ingredient_item_ids | int[1000][4] | item | yes: a row of 4 columns by name; write ingredient_item_ids.<column> = ... |
ingredient_quantitiesalchemy_recipe_ingredient_quantities | int[1000][4] | — | yes: a row of 4 columns by name; write ingredient_quantities.<column> = ... |