Achievement
Track an achievement or criterion. Prefer criteriaID over positional criteriaIndex; if both are given, the ID wins.
- 值的格式
- table
- 作用范围
- step
技术说明保留英文原文。字段名称和 Lua 示例保持不变。
示例
源文件示例。请根据你的路线替换 ID 和数值;本网站不会执行 Lua。
Lua · 01
Achievement = { achievementID = 61960, criteriaID = 111471 }Lua · 02
{ achievementID = 61576 }Lua · 03
Achievement = { achievementID = 61576, criteriaIndex = 1 }已记录的参数
| 已记录的参数 | 行为与详情 | 值的格式 |
|---|---|---|
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 |
行为与详情
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.