added documentation
This commit is contained in:
parent
bf87e1704a
commit
cde7c8a0ff
2 changed files with 20 additions and 0 deletions
12
bring
12
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...
|
||||
|
|
8
slave
8
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
|
||||
|
||||
|
|
Reference in a new issue