Перейти к основному содержимому

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)
ПолеТипПо умолчаниюОписание
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<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.