跳到主要内容

常见片段

1)启动隐藏模块(彩蛋/陷阱)

子关卡里把模块标记为隐藏:

hidden-trap:
type: one-click-executor
hidden: true
params:
location: { x: -140, y: 137, z: -30 }
kether:
- 'tell "你触发了隐藏陷阱!"'

在某个触发点里启动它:

kmodule start "hidden-trap"

2)启动隐藏子关卡(暗门/隐藏 Boss)

level 里把子关卡设为隐藏:

sub-levels:
隐藏关卡:
priority: -1

然后在脚本里启动:

kmodule start_hidden_sublevel "隐藏关卡"

3)推进下一关

kmodule level_stop_and_next