benilla-re systems structs docs

Script::GetAbandonQuestItems

function · ui · primitive

Address
0x4dfbe0 · 534 bytes, up to 0x4dfdf5
Signature
int __fastcall (lua_State *L)
Meaning
Returns the names of the quest items that abandoning would destroy
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questlogverbs#abandoning-a-quest

Finding: Abandoning a quest in ui: quest log verbs on the selected quest

GetAbandonQuestItems() lists the required items that abandoning would destroy: from the abandon quest's four required item ids it keeps those the player carries whose item record has bonding 4 or 5 (quest items), drops every one that another non-header row's quest also requires, and returns their names joined by the list separator in one string, or nothing when no item remains, no player is present or the template is not cached. AbandonQuest() finds the non-header row whose id is the abandon id and sends its quest slot (SendQuestLogRemoveQuest), then clears the id; with no matching row it keeps the id.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

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