benilla-re systems structs docs

s_invTypeKeys

global · ui

Address
0x83ddb0 · 116 bytes, up to 0x83de23
Type
const char *[29]
Meaning
Holds the global string key of each inventory type, empty for type 0
Confidence
verified, proof one
Finding
ui/tooltipitemhead#the-slot-and-type-line

Finding: The slot and type line in ui: Item name, bind, lock and slot lines

A record with a row in the item-subclass table shows a two-cell line: the slot on the left, the subclass name on the right. The row is found by a linear scan for the record's class and subclass. The left cell is the global string of the inventory type's INVTYPE_ key, except for class 6 (projectile), where it is the localized name of row 6 of the item-class table. The right cell is the row's localized display name, omitted for a cloak (type 16) and when the row's display flags have bit 0. An empty cell is dropped; two empty cells add nothing.

The derivation is in the doc.