Implementing logical puzzles for Stendhal: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Storyteller
Adding automatic doors.
imported>Storyteller
Adding lock systems.
Line 102: Line 102:


== Advanced mechanisms ==
== Advanced mechanisms ==
* These mechanisms contain more complex elements than a single switch.
* These more complex mechanisms contain different elements, merged together.

=== Lock systems ===
* Lock systems are mechanisms build from two or more entities, to activate doors or other passive entities in a more tricky way than just with a simple switch.

==== Number Lock ====
Lock system, contains one or more ''Incremental Switches'' and/or ''Multi Switches'' which have all to be set to the correct numbers/settings to unlock the door.

==== Two-Man-Lock ====
Multiplayer lock, which is build of two seperated ''Tap-On Switches'' which both have to be switched on by two players in the same time. The system can have more than two switches so more players are necessary for unlocking.

==== Delay-Off Multilock ====
Lock system, which has at least one ''Delay-Off Switch'' and a second switch to unlock the door. The first switch (the ''Delay-Off Switch'') has to be pushed first which enables the second switch for a specific time. Within this time the second switch has to be pushed, before it gets disabled again. There can be several ''Delay-Off Switches'' linked as a chain which have to be pushed in the correct order and within the set delay times before disableing again.


=== Automatic entities ===
=== Automatic entities ===
* Automatic entities do some actions without being triggered by the player.
* Automatic entities do some actions without being triggered by the player.


==== Delayed Time Door ====
==== Unlock-Delay Door ====
Automatic door, at default it can be opened, but after a player passed it, the door stays locked for a specific time and unlocks itself after this time again.
Automatic door, at default it can be opened, but after a player passed it, the door stays locked for a specific time and unlocks itself after this time again.


==== Set Time Door ====
==== Set Time Door ====
Automatic door, has individually set times for being open or closed, checking the server time.
Automatic door, has individually set times for being open or closed, checking the server time. For example, the door is only open from 06:00 to 21:00 or opens every hour for five minutes.


==== Date Door ====
==== Date Door ====