magic_facility_level
Global of Himegari Dungeon Meister: the cell G:0x671e, of type int, counter, values 0..6.
Current magic/research facility level. MAGIC and USEMAGIC index facility_level_progress_thresholds row 2 with this level; USEMAGIC raises it up to 6 when magic_facility_progress reaches the current threshold.
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.
It depends on 0xab8b2, 0x6721.
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 |
|---|---|---|---|
MAGIC | 8 | 0 | 0 |
USEMAGIC | 3 | 1 | 0 |
FIELD | 1 | 0 | 0 |
GAMESTART | 0 | 1 | 0 |