BuyMerchant

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

Formato do valor
table
Escopo
step

As descrições técnicas são mantidas no inglês original. Os nomes dos campos e os exemplos em Lua não são alterados.

Exemplos

Exemplo das fontes. Substitua IDs e valores de acordo com sua rota; este site não executa Lua.

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

Parâmetros documentados

Parâmetros documentadosComportamento e detalhesFormato do valor
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

Comportamento e detalhes

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.

Pesquisar na wiki

Primeiros passos com o APRRotas e compatibilidadeAutomação do seu jeitoDeixe a interface do seu jeitoNão consegue avançar de etapa?Comandos do dia a diaCrie e compartilhe uma rotaMissões em grupo
Explorar a wiki