s_questPanelItems
global · ui
- Address
0xbdf020· 216 bytes, up to0xbdf0f7- Type
uint32_t[54]- Meaning
- Holds six 36-byte records of reward, choice and required item triples
- Confidence
- verified, proof one
- Finding
- ui/questpanel#item-records
Finding: Item records in ui: quest panel state and the quest dialog verbs
The panel holds six records of 0x24 bytes from 0xbdf020. A record has three triples of item id, display id and count:
the reward at +0x00, the choice at +0x0c and the required item at +0x18. The reward copy 0x500ef0 fills the reward
and choice triples from its arrays, sets unused entries to id 0, display 0 and count 1, stores the title (a single space for an
empty one), the money split into reward and wanted, and the reward spell, then signals QUEST_DETAIL (301) for a details panel
and QUEST_COMPLETE (303) otherwise. The request copy 0x501070 fills the required triples the same way and signals QUEST_PROGRESS (302).
The derivation is in the doc.