studio_room_layout_grids
Global of Kamidori Alchemy Meister: the cell G:0x13ef84, of type int[80x25], data-table, values 5x5 placement grid per room level (row = r*20+L): 0 = unavailable, 1/2 = placeable cell kinds; grows as the room is extended.
ARRANGE@0x486/0x842/0x92a reads the cell under the cursor before placing an ornament into studio_room_ornaments; DRAWBUILD/DRAWBUILDMARK/SELORN/SETSTUDIOCH/STUDIO also read it. Authored by 40 copy-inline-int-array blocks.
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.
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 |
|---|---|---|---|
BUINIT | 0 | 0 | 40 |
ARRANGE | 0 | 0 | 4 |
DRAWBUILD | 0 | 0 | 2 |
SETSTUDIOCH | 0 | 0 | 2 |
STUDIO | 0 | 0 | 2 |
DRAWBUILDMARK | 0 | 0 | 1 |
SELORN | 0 | 0 | 1 |