summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 12 insertions, 0 deletions
diff --git a/README b/README
index e2751ab..6b26c43 100644
--- a/README
+++ b/README
@@ -27,3 +27,15 @@ This mod adds several types of rails for use with the existing carts from minete
-- When not powered, causes any carts passing over it to come to an immediate stop.
-- When powered via mesecons while the cart is still stopped on it, causes the cart to resume moving with its previous speed.
-- If left powered, acts as a normal rail.
+
+* Digilines Controlled Rail (available only if digilines is installed)
+-- Sends a table on its set channel when passed over by a cart, including the following elements:
+---- pos: Exact position of the cart
+---- velocity: X and Z velocity of the cart
+---- driver: Name of the player inside the cart (nil if none)
+-- Responds to the following commands on its set channel:
+---- "grab": Stops a cart traveling over the rail, same as the start-stop rail. Only does anything if a cart is present when the command is issued.
+---- "release": Restarts a cart stopped via the "grab" command, causing it to resume moving with its previous speed.
+---- "power1" through "power15": Causes the rail to act as a powered rail. The power of a normal powered rail is 5.
+---- "brake1" through "brake15": Causes the rail to act as a brake rail. The power of a normal brake rail is 5.
+---- "idle" (also "power0" or "brake0"): Causes the rail to act as a normal rail, applying no power or braking force.