studio_extension_costs
Global of Kamidori Alchemy Meister: the cell G:0x13ecb4, of type int[4x20], data-table, values money cost of building level L of room r (e.g. shop 250 … 80000).
ARRANGE@0xcf7 compares with economy_money (増築費用が不足しています) and @0xe0a deducts it; DRAWSTUDIOLV@0x48 uses nonzero cost as 'level exists'.
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 | 36 | 0 |
ARRANGE | 0 | 0 | 5 |
DRAWSTUDIOLV | 0 | 0 | 1 |