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.
- Formato del valore
- table
- Ambito
- step
Le descrizioni tecniche restano nell’inglese originale. I nomi dei campi e gli esempi Lua sono invariati.
Esempi
Esempio tratto dalle fonti. Sostituisci ID e valori in base al tuo itinerario; questo sito non esegue Lua.
Lua · 01
UseItem = { questID = 42008, itemID = 173430, itemSpellID = 254294 }Parametri documentati
| Parametri documentati | Comportamento e dettagli | Formato del valore |
|---|---|---|
questID | Required as explicitly documented; see the associated field notes. | number |
itemID | Shown in the source example; this does not establish a required field. | number |
itemSpellID | Shown in the source example; this does not establish a required field. | number |
Comportamento e dettagli
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.