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

Puzzle Block Push

Push blocks into target holes -

Поля

ПолеТипПо умолчаниюОписание
puzzleTypePuzzleTypeBLOCK_PUSH—Значения:BLOCK_PUSHLASER_GRIDMEMORY_SEQUENCELEVER_ORDERPATTERN_PLACEMENTCOOP_PRESSUREITEM_FRAMECOMBINATION_LOCKPEDESTAL_OFFERING
factRef<CachableFactEntry>——
amountVar<Int>1—
timeLimitVar<Int>0—
cooldownOnFailVar<Int>0—
maxAttemptsVar<Int>0—
resetOnWrongVar<Boolean>false—
showHintsVar<Boolean>true—
hintMessageVar<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.ПлейсхолдерыЦвета
completionMessageVar<String>DEFAULT_PUZZLE_COMPLETION_MESSAGEChat message sent once to the player who solves the puzzle. Leave it empty to send nothing.ПлейсхолдерыЦвета
onStartRef<TriggerableEntry>——
onCompleteRef<TriggerableEntry>——
onFailRef<TriggerableEntry>——
onTimeoutRef<TriggerableEntry>——
onLifespanExpireRef<TriggerableEntry>——
lifespanVar<Int>0—
isSharedVar<Boolean>falseShare 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.
activationRadiusVar<Double>DEFAULT_PUZZLE_ACTIVATION_RADIUSDetection 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).
pushBlocksList<PushBlockDef>emptyPushable 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.
PushBlockDef (1)
ПолеТипПо умолчаниюОписание
positionVar<Position>ORIGINStarting position of the pushable block.
targetHolesList<TargetHoleDef>emptyTarget holes with positions and accepted materials.
TargetHoleDef (2)
ПолеТипПо умолчаниюОписание
positionVar<Position>ORIGINPosition of the target hole.
acceptedMaterialVar<Material>AIRMaterial accepted by this hole. Use AIR for any block.
allowPullVar<Boolean>falseNot implemented yet: this setting has no effect, blocks can only be pushed.
pushSoundSound—Sound played when a block is pushed.
solveSoundSound—Sound played when all blocks are placed.
blockMaterialVar<Material>STONE_BRICKSMaterial used for the pushable block visual.
holeMaterialVar<Material>MOSSY_STONE_BRICKSMaterial used for the target hole visual.
Общие поля TypeWriter (criteria)
ПолеТипПо умолчаниюОписание
criteriaList<Criteria>empty—