studio_room_level_index
Global of Kamidori Alchemy Meister: the cell G:0x13ec63, of type int, index-pointer, values scratch room*20 + level index into the BUINIT tables.
ARRANGE@0x42a, CALCSETTLE@0x4b, SETSTUDIOCH, STUDIO compute it before indexing studio_room_layout_grids / costs.
OME’s registry gives it with med confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
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 |
|---|---|---|---|
ARRANGE | 20 | 20 | 0 |
STUDIO | 2 | 8 | 0 |
DRAWBUILD | 2 | 4 | 0 |
SETSTUDIOCH | 2 | 4 | 0 |
CALCSETTLE | 1 | 4 | 0 |
DRAWBUILDMARK | 1 | 4 | 0 |
SELORN | 1 | 0 | 0 |