Implementing logical puzzles for Stendhal: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Storyteller |
imported>Storyteller Adding and defining different kinds of switches. |
||
| Line 27: | Line 27: | ||
: default: true |
: 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. |
: 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. |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
=== Timer === |
=== Timer === |
||
| Line 63: | Line 49: | ||
: required |
: required |
||
: The new value of the property of the target entity |
: The new value of the property of the target entity |
||
=== Switches === |
|||
* Different kinds of switches and objects which contain a switch mechanism. |
|||
| ⚫ | |||
| ⚫ | |||
==== 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. |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
A moveable block can be pushed or dragged on the floor and fits to a ''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. |
|||
| ⚫ | |||
| ⚫ | |||
== Switch Mechanisms == |
== Switch Mechanisms == |
||