terrain_required_skill_ids
Global of Himegari Dungeon Meister: the cell G:0xe6c2a, of type int[30], data-table, values {0=none, 1=flight, 2=diving, 3=exploration, 4=heat_resistance}.
LAINIT traversal/reveal requirement indexed by terrain id. MVSEEK and FIELD reject ordinary terrain unless the moving unit owns the referenced SKINIT skill; hidden passages/rooms use the exploration skill through the dedicated hidden-terrain path. FIELD and INFOAF resolve populated ids to skill names for display.
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, 0xe6ae0.
Record tables
It is a field of the table terrain, as terrain.id.required_skill_id.
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 |
|---|---|---|---|
FIELD | 0 | 0 | 5 |
LAINIT | 0 | 5 | 0 |
INFOAF | 0 | 0 | 2 |
MVSEEK | 0 | 0 | 2 |
SALLY | 0 | 0 | 1 |