summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2020-04-01 21:19:46 -0500
committercheapie <no-email-for-you@example.com>2020-04-01 21:19:46 -0500
commit28e7bab590448b17194f6923052595b56afcc4a9 (patch)
tree8b2f5080a5d6a6f278673de2977887fd3ffba702 /README
parent4dbe129a91f3152b1ac1239e76737f3b00a8c673 (diff)
downloadmesecons_carts-28e7bab590448b17194f6923052595b56afcc4a9.tar
mesecons_carts-28e7bab590448b17194f6923052595b56afcc4a9.tar.gz
mesecons_carts-28e7bab590448b17194f6923052595b56afcc4a9.tar.bz2
mesecons_carts-28e7bab590448b17194f6923052595b56afcc4a9.tar.xz
mesecons_carts-28e7bab590448b17194f6923052595b56afcc4a9.zip
Add digilines rail
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.