studio_shop_shelf_capacity
Global of Kamidori Alchemy Meister: the cell G:0x13f86c, of type int, counter, values maximum stock per shop shelf slot (level value + ornament bonuses).
SETSTUDIO@0x1b3 clamps each of the 20 shelf stocks 0x3713 to it and returns the excess 0x36ff items via ADDITEM; SALE@0x995 compares stock with it.
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 |
|---|---|---|---|
SETSTUDIO | 4 | 2 | 0 |
ARRANGE | 1 | 0 | 0 |
SALE | 1 | 0 | 0 |