benilla-re systems structs docs

s_fmtNameCount

global · ui

Address
0x854b30 · 8 bytes, up to 0x854b37
Type
const char[8]
Meaning
Holds the format %s (%d) of a reagent name with its count
Confidence
verified, proof one
Finding
ui/tooltipitemreq#recipe-products

Finding: Recipe products in ui: Item requirement, spell and set lines

A spell line whose spell teaches another spell that creates an item (first effect 36, then first effect 24) is a recipe. After its charges line the tooltip of the created item follows, built by the same builder as an incremental call (p7 = 1, so it starts with a blank line), then a white line of ITEM_REQ_SKILL with the reagent names: each reagent's item name, with its count in parentheses when above 1, joined by commas. The reagent line is left out when the list is empty or an item is still being fetched.

The derivation is in the doc.