Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

terrain_visibility_classes

Global of Kamidori Alchemy Meister: the cell G:0x2a3561, of type int[40], data-table, values 0 = void/no tile; 1 = known from the start; 2 = unexplored until claimed/revealed; 3 = hidden (needs 探索 / prior reveal).

DRAWMAP@0x2d1 skips class 0 tiles; FIELD@0x79c reveals class-1 tiles on entry (all nonzero classes at 100%); MVSEEK@0x49e rejects class 0 and only lets class 3 be crossed if revealed or the unit has skill 4 (探索) (MVSEEK@0x4b4); DRAWMAP@0xb01 hides class-3 doors until revealed and @0xf5a gives class 1/2 fog a frontier tint; CALCOCC@0x400 counts nonzero classes as the occupation denominator; SETLAND@0x91 reveals dug class-1 cells.

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 terrain, as terrain.id.visibility_class.

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.

ScriptReadsWritesIndexes
LAINIT0260
DRAWMINIMAP0013
FIELD0013
DRAWMAP0011
$3$LAINIT050
MVSEEK002
RESETLAND002
SETLAND002
BTL001
CALCOCC001
CALCSCOPE001
CALCSUPPORT001
DRAWCHSTATE001
DRAWVOL001
FELLOW001