benilla-re systems structs docs

OnQuestRecordForItem

function · objectlayer · orchestration

Address
0x5dd180 · 104 bytes, up to 0x5dd1e7
Meaning
Reports an item's quest progress once the quest record arrives, then frees the pending pair
Confidence
verified, proof one
Finding
objectlayer/quests#quest-progress-for-items

Finding: Quest progress for items in objectlayer: quests

A bought item (0x1a4) or an added item (0x19a) checks each of the 20 log quests not done: a quest needing the item, among its four, shows ERR_QUEST_ADD_ITEM_SII with the item's name, the count held plus the new count capped at the need, and the need, then QUEST_WATCH_UPDATE; the first quest that needs it stops the walk, and so does an item whose record is not cached, silently. A held count already at the need shows nothing. A quest record not yet cached queues the pair and reports when it arrives.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.