object_type_turn_resource_deltas
Global of Himegari Dungeon Meister: the cell G:0xe71d6, of type int[100][3], data-table, values signed HP, SP and FS changes: 拠点 +3 each, the three 魔力の柱 +2 each, 針 HP -2, 炎 HP -3, 電流, 毒沼 and 水沼 HP -1, 泥沼 FS -1, 技力拡散結界 SP -2, 意気消沈結界 FS -5.
Applied to a unit at each turn it stands on the object, past the trigger gate; a negative change skips a unit whose faction is the slot's stage_object_runtime_state, a hazard's owner (FIELD@0x79c8-0x7ab9). The hazards' handler also applies it when a unit triggers one (FIELD@0x654c-0x6579). The descriptions HP-2, SP-2 and FS-5 fix the columns.
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.
Its columns are named: 0 hp, 1 sp, 2 fs. Lua and an event’s cell write a row’s column object_type_turn_resource_deltas[i].column.
Record tables
It is a field of the table object_type, as object_type.id.resource_deltas.
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 | 20 | 0 |
FIELD | 0 | 0 | 3 |