Implementing logical puzzles for Stendhal: Difference between revisions
Content deleted Content added
imported>Storyteller |
imported>Storyteller Adding and defining different kinds of switches. |
||
Line 27:
: default: true
: An entity only reacts to input, if it is enabled. For example a switch will ignore all player actions, if it is disabled. A door will ignore the state of its associated switches, if it is disabled. Entities should indicate disabled state visibly and/or audibly.
=== Pressure plate ===▼
A pressure plate is a tile with a switch, that gets triggered when a character steps on it.▼
=== Wall switch ===▼
A wall switch is a switch assembled to a wall. It can have different forms, such as a huge lever or a pushbutton.▼
=== Door ===▼
A door is a barrier that prevents player from crossing unless it is ''active''.▼
=== Moveable block ===▼
=== Moveable block receiver ===▼
=== Timer ===
Line 63 ⟶ 49:
: required
: The new value of the property of the target entity
=== Switches ===
* Different kinds of switches and objects which contain a switch mechanism.
▲==== Pressure plate ====
▲A pressure plate is a tile with a switch, that gets
==== Weight plate ====
A weight plate is a tile with a switch that only gets ''active'' when the exact weight is put on it.
==== Weights ====
Weights are objects with a special weight. They exist in different sizes with different weight and have to be put on ''weight plates'' to activate them.
▲==== Wall switch ====
▲A wall switch is an entity with a switch mechanism, assembled to a wall. It can have different forms, such as a huge lever or a pushbutton.
▲==== Moveable block ====
A moveable block can be pushed or dragged on the floor and fits to a ''moveable block receiver''.
▲==== Moveable block receiver ====
A movable block receiver is an entity set on the floor with a switch mechanism that gets ''active'' when a ''moveable block'' is pushed on it.
=== Passive Entities ===
* These entities don't contain a switch mechanism itself, but are affected by one.
▲==== Door ====
▲A door is a barrier that prevents
== Switch Mechanisms ==
| |||