unit_sex_category
Global of Himegari Dungeon Meister: the cell G:0x71eae, of type int[1000], data-table, values 1 male, 2 female, 3 sexless.
EBINIT sex category for 251 units. Named character records establish the three values; CHMENU tests it against item_sex_restriction_mask, while INFOCH and INFOEN use the same category in unit presentation.
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.sex_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 | 251 | 0 |
$1$EBINIT | 0 | 7 | 0 |
INFOCH | 0 | 0 | 2 |
INFOEN | 0 | 0 | 2 |
CHMENU | 0 | 0 | 1 |