Skip to Content
The Alchemy Project

src/window/item_genders.c

The grammatical gender of each item's name in the German and Italian releases, which picks the possessive ("your") a message writes before the item (LocalizedWordItemPossessives): "dein" or "deine" in German, "Il tuo" or "la tua" in Italian. More…

Variables

NameDescription
const Sint8LocalizedWordItemGenders []Each item's gender, by item id.

Description

The grammatical gender of each item's name in the German and Italian releases, which picks the possessive ("your") a message writes before the item (LocalizedWordItemPossessives): "dein" or "deine" in German, "Il tuo" or "la tua" in Italian. The names in the comments are the English release's; "?" is the name the text gives an id that holds no item, and "???" item 0's.

Variables in detail

LocalizedWordItemGenders

const Sint8 LocalizedWordItemGenders[]

Each item's gender, by item id. BUG: the rows start at the Long Sword, not at item 0, so each item takes the gender of the one after it (the Silver Blade is "dein Silberklinge", the neuter of the Fire Brand); the last row is for no item. BUGFIX adds item 0's row.

Each item's gender, by item id. BUG: this is The Broken Seal's German table, its rows The Broken Seal's items, so Italian gives an item the gender of that game's item of the same id in German. The names here are The Broken Seal's. UB: an item past the Cleric's Ring, the last of its 269 rows, reads beyond the table; UBFIX gives every item of this game a row.

Referenced by mnMessageDecode().

Definition at lines 15 and 486 of file item_genders.c.