benilla-re systems structs docs

Script::GetQuestLogRewardMoney

function · ui · primitive

Address
0x4e1070 · 182 bytes, up to 0x4e1125
Signature
int __fastcall (lua_State *L)
Meaning
Returns the money reward of the selected quest
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questlogverbs#reward-links-and-money

Finding: Reward links and money in ui: quest log verbs on the selected quest

GetQuestLogItemLink(type, index) takes "choice" or "reward" (compared without regard to case) and a 1-based index, and returns the item link of that entry, built from the item's name with its suffix text and its quality colour, or nil for an uncached template or item, a zero id, an unknown type or an index outside the list. Other arguments raise Usage: GetQuestLogItemLink("type", index). GetQuestLogRewardMoney() returns the template money when it is not negative, plus the bonus money when the player's level is 60 or more, else 0. GetQuestLogRequiredMoney() returns the money negated when it is negative, else 0.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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