item_sex_restriction_mask
Global of Himegari Dungeon Meister: the cell G:0x8ff29, of type int[1000], data-table, values bit mask; shipped ITINIT populates value 4 on two items.
Sparse ITINIT equipment restriction. CHMENU uses unit_sex_category as a bit index and rejects an item when that bit is absent from this mask. Both populated items carry only bit 2; EBINIT value 2 is female, and ITMES explicitly describes item 419 as female-only.
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 item, as item.id.sex_restriction_mask.
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 |
|---|---|---|---|
CHMENU | 0 | 0 | 2 |
ITINIT | 0 | 2 | 0 |