unit_species_category
Global of Himegari Dungeon Meister: the cell G:0x71ac6, of type int[1000], data-table, values 1 人間 (human), 2 魔族 (demon), 3 魔物 (monster); 0 unset, which the information screens show as ?.
EBINIT species for 198 units. INFOEN@0x134a-0x13a1 and INFOCH@0x107e-0x10cd draw the game's word for it: 1 人間, 2 魔族, 3 魔物, anything else ?. The passive skills 人類殺し, 魔族殺し and 怪物殺し (skills 28, 29 and 30, 人間系/魔族系/怪物系の敵に強い) add 10 to their bonus against a target whose species is the skill id minus 27 (CALCDMG@0x5b6-0x608). Value 1 covers the humans and most allied heroines (and the angels), 2 Emilio, Lily, Bridget and Octavia as well as orcs, werewolves, gargoyles and the demon gods, 3 other monsters, dragons and elementals. CHMENU@0x2395-0x23cd also tests it against a per-item species mask at G[0x8fb41], which no script writes, so that check never refuses an item.
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.
Record tables
It is a field of the table unit, as unit.id.species_category.
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 |
|---|---|---|---|
EBINIT | 0 | 198 | 0 |
$1$EBINIT | 0 | 7 | 0 |
INFOCH | 0 | 0 | 3 |
INFOEN | 0 | 0 | 3 |
CALCDMG | 0 | 0 | 1 |
CHMENU | 0 | 0 | 1 |