stage_object_primary_param
Global of Kamidori Alchemy Meister: the cell G:0x14050e, of type int[50], data-table, values type-dependent: bases/gates/spawners = initial owner faction (state); chests 7/8 = ITINIT item id; teleporters 6/29 = destination tile x; sealed door 10 = required story flag; hazards 17..25 = owner faction.
FIELD@0x83e seeds the persistent object state 0x43655[stage][slot] from it for draw_class-1 types on a first visit; CHECKOBJ@0x1f3 (teleport dest x), @0x29a (chest item vs inventory), @0x2db (sealed-door flag), @0x3b9 (hazard faction).
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.
Record tables
It is a field of the table stage_object, as stage_object.id.primary_param.
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 |
|---|---|---|---|
STINIT | 0 | 1515 | 1 |
$3$STINIT | 0 | 254 | 0 |
$1$STINIT | 0 | 179 | 0 |
$2$STINIT | 0 | 47 | 0 |
FIELD | 0 | 0 | 16 |
CHECKOBJ | 0 | 0 | 5 |
INFO3 | 0 | 0 | 1 |
RTN_M004 | 0 | 0 | 1 |
RTN_M005 | 0 | 0 | 1 |
RTN_M009 | 0 | 0 | 1 |
RTN_M011 | 0 | 0 | 1 |
RTN_M012 | 0 | 0 | 1 |
SELSTAGE | 0 | 0 | 1 |