world_area_travel_days
Global of Kamidori Alchemy Meister: the cell G:0x13ea68, of type int[100], data-table, values days (1..10) added to the elapsed-day counter 0x3697 when travelling into the area; 0 for the home city.
SELSTAGE@0xbf9 and TOWN@0x74 add it to 0x3697 on entering; FIELD@0x26a adds it on a fresh labyrinth entry; SELSTAGE@0xdab draws it as a number in the area header. ALLMAP@0x3b4 forces a return home once 0x3697 >= 30 ('経過日数が30日を超えました').
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 world_area, as world_area.id.travel_days.
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 |
|---|---|---|---|
AMINIT2 | 0 | 25 | 0 |
$3$AMINIT2 | 0 | 5 | 0 |
$1$AMINIT2 | 0 | 2 | 0 |
SELSTAGE | 0 | 0 | 2 |
FIELD | 0 | 0 | 1 |
TOWN | 0 | 0 | 1 |