Puzzle Block Push
Push blocks into target holes -
Campos
| Campo | Tipo | Padrão | Descrição | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
puzzleType | PuzzleType | BLOCK_PUSH | —Valores:BLOCK_PUSHLASER_GRIDMEMORY_SEQUENCELEVER_ORDERPATTERN_PLACEMENTCOOP_PRESSUREITEM_FRAMECOMBINATION_LOCKPEDESTAL_OFFERING | ||||||||||||
fact | Ref<CachableFactEntry> | — | — | ||||||||||||
amount | Var<Int> | 1 | — | ||||||||||||
timeLimit | Var<Int> | 0 | — | ||||||||||||
cooldownOnFail | Var<Int> | 0 | — | ||||||||||||
maxAttempts | Var<Int> | 0 | — | ||||||||||||
resetOnWrong | Var<Boolean> | false | — | ||||||||||||
showHints | Var<Boolean> | true | — | ||||||||||||
hintMessage | Var<String> | <yellow>Push blocks into the holes! {progress}/{total} | Chat message sent after each step of the puzzle when hints are on. {progress} is the steps done, {total} the steps needed. Leave it empty to send nothing.PlaceholdersCores | ||||||||||||
completionMessage | Var<String> | DEFAULT_PUZZLE_COMPLETION_MESSAGE | Chat message sent once to the player who solves the puzzle. Leave it empty to send nothing.PlaceholdersCores | ||||||||||||
onStart | Ref<TriggerableEntry> | — | — | ||||||||||||
onComplete | Ref<TriggerableEntry> | — | — | ||||||||||||
onFail | Ref<TriggerableEntry> | — | — | ||||||||||||
onTimeout | Ref<TriggerableEntry> | — | — | ||||||||||||
onLifespanExpire | Ref<TriggerableEntry> | — | — | ||||||||||||
lifespan | Var<Int> | 0 | — | ||||||||||||
isShared | Var<Boolean> | false | Share the progression with the players of the group set on the fact: a step, a mistake or the solve by one player applies to the others. Needs a fact with a group; has no effect without one. | ||||||||||||
activationRadius | Var<Double> | DEFAULT_PUZZLE_ACTIVATION_RADIUS | Detection radius in blocks. The board is only rendered for players standing in its world, within this radius. 0 = no distance limit (the world is still enforced). | ||||||||||||
pushBlocks | List<PushBlockDef> | empty | Pushable blocks with their starting positions. The extension draws the blocks on the client: leave these cells EMPTY (air) in the world. A real block left on a starting cell stays solid for the server after the block has been pushed away, so nobody can stand there.
|
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
position | Var<Position> | ORIGIN | Starting position of the pushable block. |
targetHolesList<TargetHoleDef>emptyTargetHoleDef (2)
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
position | Var<Position> | ORIGIN | Position of the target hole. |
acceptedMaterial | Var<Material> | AIR | Material accepted by this hole. Use AIR for any block. |
allowPullVar<Boolean>falsepushSoundSoundsolveSoundSoundblockMaterialVar<Material>STONE_BRICKSholeMaterialVar<Material>MOSSY_STONE_BRICKSCampos comuns do TypeWriter (criteria)
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
criteria | List<Criteria> | empty | — |