Dungeon Clear Room
Dungeon Clear Room
Declares the generated room the player stands in cleared: the onClear triggers of its room template fire, once for that room in that run. What counts as cleared is the author's to say (the last monster killed, a lever pulled): put this action where that happens. It does nothing outside a run of a generated dungeon.
字段
此条目没有特定字段:请添加并在需要的地方关联它。
TypeWriter 通用字段(criteria, modifiers, triggers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Declares the generated room the player stands in as cleared: the onClear triggers of its room template fire, once per room and per run (two players clearing the same room together fire it once). The platform never decides alone when a room is cleared: you do, for instance from the mob death event when the last monster dies.
It does nothing when the player is not in a run, when the run is not a generated dungeon, or when the player stands in no room. The server log says why at the fine level.