Update togglelever authored by Lxlp's avatar Lxlp
...@@ -8,6 +8,7 @@ of time. (Defaulting to 20 ticks/1 second). ...@@ -8,6 +8,7 @@ of time. (Defaulting to 20 ticks/1 second).
## Attributes ## Attributes
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------| |-----------|-----------|----------------------------------------------------------------------|---------|
| location | loc, l | Location of the action, in a `x,y,z` syntax. If set, other location attributes are ignored | |
| duration | d | The duration (in ticks) the lever should remain toggled on. | 20 | | duration | d | The duration (in ticks) the lever should remain toggled on. | 20 |
| x | | The X coordinate of the button. | 0 | | x | | The X coordinate of the button. | 0 |
| y | | The Y coordinate of the button. | 0 | | y | | The Y coordinate of the button. | 0 |
...@@ -20,4 +21,8 @@ Toggles a lever placed at the given coordinates. ...@@ -20,4 +21,8 @@ Toggles a lever placed at the given coordinates.
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
## Aliases
- [x] lever
\ No newline at end of file