UseItem

Standalone item-use action. questID is required; APR resolves the use spell from the item unless itemSpellID is supplied. Use Button when the item supports another objective.

Value shape
table
Scope
step

Technical descriptions are preserved in source English. Field names and Lua examples are unchanged.

Examples

Source example. Replace IDs and values for your route; this website does not execute Lua.

Lua · 01
UseItem = { questID = 42008, itemID = 173430, itemSpellID = 254294 }

Documented parameters

Documented parametersBehavior & detailsValue shape
questIDRequired as explicitly documented; see the associated field notes.number
itemIDShown in the source example; this does not establish a required field.number
itemSpellIDShown in the source example; this does not establish a required field.number

Behavior & details

Forms shown in the documentation, not an exhaustive runtime schema. Constant runtime types are not inferred.

Action / Progression Options

An action waits for completion; a failed step condition skips the step. Use one main action per step.

Main actions

Use separate SellItems and Repair steps with the same coordinates; only one main action per step.

Search the wiki

Get started with APRRoutes & compatibilityAutomation, on your termsMake the interface yoursStuck on a step?Everyday commandsCreate & share a routeQuesting with a group
Browse the wiki