BuyMerchant

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

Format des Werts
table
Geltungsbereich
step

Technische Beschreibungen bleiben im englischen Original erhalten. Feldnamen und Lua-Beispiele sind unverändert.

Beispiele

Beispiel aus der Quelle. Ersetze IDs und Werte passend zu deiner Route; diese Website führt kein Lua aus.

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

Dokumentierte Parameter

Dokumentierte ParameterVerhalten und DetailsFormat des Werts
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

Verhalten und 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.

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.

Wiki durchsuchen

Mit APR loslegenRouten und KompatibilitätAutomatisierung nach deinen WünschenDein Interface nach MaßBei einem Schritt festgefahren?Befehle für den AlltagEine Route erstellen und teilenQuesten in der Gruppe
Zum Wiki