s_keyLocked
global · ui
- Address
0x84439c· 7 bytes, up to0x8443a2- Type
const char[7]- Meaning
- Holds the global string key LOCKED of the locked line
- Confidence
- verified, proof one
- Finding
- ui/tooltipobject#the-game-object-lock-lines
Finding: The game object lock lines in ui: Tooltips of world objects
An object with the locked flag (GAMEOBJECT_FLAGS bit 1) adds LOCKED, red when the player has no way to
meet the lock, green when the opener is a key item or no skill spell, and the difficulty colour of a known
skill spell. One more line follows from the first slot of the object's lock row, when that slot's action is
valid for the object's state. A key slot gives LOCKED_WITH_ITEM with the key item's name, in white. A skill
slot gives LOCKED_WITH_SPELL_KNOWN with the lock type's name in the difficulty colour when the player knows
a spell that opens that lock type; else LOCKED_WITH_SPELL in red, but only for an object not flagged locked.
The derivation is in the doc.