SellItems

Sell listed stacks and/or grey junk at the open merchant. npcID restricts the vendor; no quantity limit. Junk uses the localized default label; put extra advice in Note.

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
SellItems = { items = { 7073, 7074 }, npcID = 54 }
Lua · 02
SellItems = { junk = true }

Documented parameters

Documented parametersBehavior & detailsValue shape
itemsShown in the source example; this does not establish a required field.table
npcIDShown 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.

SellItems, BankDeposit, BankWithdraw, DestroyItems

Process full stacks; pause in combat or on locked slots and leave foreign cursor items alone.

Item handling fallback

Cached item names take priority; text or Text supplies fallback advice. Localization keys and literal text are accepted.

Main actions

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

Selling then buying

Use successive steps with the same coordinates and character restrictions. Put an already-owned-item purchase filter only on the purchase.

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