benilla-re systems structs docs

Script::GetTradeSkillReagentItemLink

function · ui · primitive

Address
0x4ff800 · 370 bytes, up to 0x4ff971
Signature
int __fastcall (lua_State *L)
Meaning
Returns the item link of a recipe reagent
Confidence
verified, proof one
Name from
the community database (idb)
Finding
tradeskill/bindings#item-links

Finding: Item links in tradeskill: bindings

GetTradeSkillItemLink (0x4ff410) returns the link of the item the recipe creates, and no value when the index is bad, the row is a header or the template is missing. GetTradeSkillReagentItemLink (0x4ff800) takes an index and a filled-slot number and returns the link of that reagent, or a single nil. The link is the colour of the item's quality, |Hitem: and the item id, three zeros, the plain item name in brackets, and the closing codes. The quality colour comes from the table 0x854124 of seven entries; a quality of 7 or more, or a negative one, uses white. The template requests carry no callback, so a missing template sends nothing.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 9

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