object_type_use_limit
Global of Himegari Dungeon Meister: the cell G:0xe6f1a, of type int[100], data-table, values uses per placed object, 0 for no limit: 1 for types 5, 7, 8, 16, 26, 28 to 31 and 33, and $1$OBINIT's 50.
The trigger gate refuses a slot whose stage_object_use_counts cell has reached it (FIELD@0x6bf0), and SETOBJ leaves such a slot unplaced (SETOBJ@0x17d-0x1ab).
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
Record tables
It is a field of the table object_type, as object_type.id.use_limit.
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 |
|---|---|---|---|
OBINIT | 0 | 10 | 0 |
FIELD | 0 | 0 | 2 |
SETOBJ | 0 | 0 | 2 |
$1$OBINIT | 0 | 1 | 0 |