Achievement
Track an achievement or criterion. Prefer criteriaID over positional criteriaIndex; if both are given, the ID wins.
- 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
Achievement = { achievementID = 61960, criteriaID = 111471 }Lua · 02
{ achievementID = 61576 }Lua · 03
Achievement = { achievementID = 61576, criteriaIndex = 1 }Parâmetros documentados
| Parâmetros documentados | Comportamento e detalhes | Formato do valor |
|---|---|---|
achievementID | Shown in the source example; this does not establish a required field. | number |
criteriaID | Shown 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.
Main actions
Use separate SellItems and Repair steps with the same coordinates; only one main action per step.
Achievement legacy criterion
Achievement = { achievementID = 61576, criteriaIndex = 1 } tracks by position; prefer a stable criteriaID.