From cde7c8a0ff2edadfa21c6958fae911fcfab5e0ef Mon Sep 17 00:00:00 2001 From: Joshua Moerman Date: Sun, 3 Jun 2012 13:13:26 +0200 Subject: [PATCH] added documentation --- bring | 12 ++++++++++++ slave | 8 ++++++++ 2 files changed, 20 insertions(+) diff --git a/bring b/bring index 6dfd2c1..852280e 100644 --- a/bring +++ b/bring @@ -1,3 +1,15 @@ +-- Master of the automatic bringing system +-- Works with a simple protocol: + +-- Master: broadcast -item- +-- matching slave: send -ack- or -empty- +-- in case of a -ack- the master will wait for -return- +-- in case of -empty- the master will exit + +-- if there is no matching slave, then the master won't receive ack and exits +-- if there are more matching slaves, then there is UB + + local args = { ... } -- the wifi side, i guess... diff --git a/slave b/slave index 76c975f..1b6e921 100644 --- a/slave +++ b/slave @@ -1,3 +1,11 @@ +-- Active slaves which will activate an engine next to it (to get content of a chest) +-- Slaves should be aligned with the master +-- It leaks at the moment (because engines have a cool down and pipes are slow) + +-- Possible other (simpler) slave: use the turtle as a chest and put it next to a diamond pipe +-- (this requires more diamond, but less redstone engines/chests and probably wont leak) + + local args = { ... } local threshold = 5