From f0ce172302a02c854a52bae449e6dd4c4287f949 Mon Sep 17 00:00:00 2001 From: cheapie Date: Sun, 21 Feb 2021 03:50:59 -0600 Subject: Split documentation from README out into separate files --- docs/piston.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/piston.txt (limited to 'docs/piston.txt') diff --git a/docs/piston.txt b/docs/piston.txt new file mode 100644 index 0000000..0ac9e22 --- /dev/null +++ b/docs/piston.txt @@ -0,0 +1,7 @@ +How to use the digilines pistons: +The following commands are accepted as strings: "extend" (extend the piston), "retract" (retract the piston), and "retract_sticky" (retract the piston, pulling one node like a sticky piston) +You can also send a command as a table. If so, the fields that can be used in the table are as follows: +* action: "extend" or "retract" +* max: The maximum number of nodes to push/pull, cannot be set higher than 16. Set to 0 (or omit) when retracting to perform a non-sticky retraction. +* allsticky: Pull a whole stack of nodes (like movestone), not just one. +* sound: The sound to make. "mesecons" for the mesecons piston sounds, "digilines" for the digilines piston sounds (default), or "none" for no sounds at all. -- cgit v1.2.3