BuyMerchant

Buy quantities from the open merchant as a main or secondary action. MerchantNPC restricts the merchant; place junk sales before purchases.

值的格式
table
作用范围
step

技术说明保留英文原文。字段名称和 Lua 示例保持不变。

示例

源文件示例。请根据你的路线替换 ID 和数值;本网站不会执行 Lua。

Lua · 01
BuyMerchant = { { itemID = 4371, quantity = 1 } }

已记录的参数

已记录的参数行为与详情值的格式
itemIDShown in the source example; this does not establish a required field.number
quantityShown in the source example; this does not establish a required field.number

行为与详情

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.

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.

搜索百科

开始使用 APR路线与兼容性按你的意愿自动化打造自己的界面卡在某一步?常用命令创建并分享路线组队做任务
浏览百科