|
Mechanic: Toggle Lever
|
|
=============
|
|
----------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Description:
|
|
Toggles a lever on and off at the supplied coordinates.
|
|
Toggles a lever on and off at the supplied coordinates.
|
|
|
|
|
|
**Note:**
|
|
|
|
The lever will switch back to the starting position after a set amount
|
|
The lever will switch back to the starting position after a set amount
|
|
of time. (Defaulting to 20 ticks/1 second).
|
|
of time. (Defaulting to 20 ticks/1 second).
|
|
|
|
|
|
Attributes
|
|
## Attributes:
|
|
----------
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|-----------|---------|-------------------------------------------------------------|---------------|
|
|
|-----------|---------|-------------------------------------------------------------|---------------|
|
... | @@ -18,10 +17,11 @@ Attributes |
... | @@ -18,10 +17,11 @@ Attributes |
|
| z | | The Z coordinate of the button. | 0 |
|
|
| z | | The Z coordinate of the button. | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
## Examples:
|
|
|
|
|
|
Examples
|
|
Toggles a lever placed at the given coordinates.
|
|
--------
|
|
```yaml
|
|
|
|
OpenSecretDoor:
|
|
OpenSecretDoor:
|
|
Skills:
|
|
Skills:
|
|
- togglelever{duration=600;x=15;y=67;z=-213}
|
|
- togglelever{duration=600;x=15;y=67;z=-213} |
|
``` |
|
|
|
\ No newline at end of file |