terrain_texture_slot_indices
Global of Himegari Dungeon Meister: the cell G:0xe6aa4, of type int[30], data-table, values stage map texture slot index 0..13.
LAINIT mapping from terrain id to the index in stage_map_texture_asset_overrides. DRAWMAP uses the selected slot to choose the current stage's tiled terrain surface.
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.
It depends on 0x26b5, 0xe7311.
Record tables
It is a field of the table terrain, as terrain.id.texture_slot.
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 |
|---|---|---|---|
LAINIT | 0 | 16 | 0 |
DRAWMAP | 0 | 0 | 2 |