studio_room_ornaments
Global of Kamidori Alchemy Meister: the cell G:0x369b, of type int[4x25], data-table, values ITINIT ornament/furniture item id placed in each 5x5 cell of each room; 0 = empty.
SETSTUDIO@0x95..0x180 adds each placed item's per-item bonus arrays (ITINIT-authored 0x313758, 0x313f28, 0x3146f8, 0x314ec8 for room 0; 0x315698, 0x315e68, 0x316638 room 1; 0x316e08, 0x3175d8 room 2; 0x317da8 room 3) onto the studio parameters; ARRANGE@0x983/0xa8d places/removes items.
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 |
|---|---|---|---|
GAMESTART | 0 | 0 | 4 |
SETSTUDIO | 0 | 0 | 4 |
ARRANGE | 0 | 0 | 3 |
CHECKREWARD | 0 | 0 | 2 |
DRAWBUILD | 0 | 0 | 2 |
SELORN | 0 | 0 | 2 |
SETSTUDIOCH | 0 | 0 | 2 |
SETSTUDIOORN | 0 | 0 | 2 |
GAMECLEAR | 0 | 0 | 1 |