This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Jappards's profile picture

deployer turtle

Started by Jappards, 04 July 2013 - 01:41 PM
Jappards #1
Posted 04 July 2013 - 03:41 PM
I created a turtle program that deploys (places) everything in the turtle`s inventory, i needed it for a tree farm i was making and i decided to publish it. Unlike the dispenser, this program deploys as long as the redstone signal is applied, so you don`t need to hook it up to a clock or anything and instead of a random slot, it only changes slot if the slot that was selected, is empty.
The turtles even share their signal, but you have to power them from the left, otherwise it won`t work, but you can disable that in the config.
you can also send all turtles that have this program send the message: "deploy" at channel 50 to make them all deploy at the same time.

code:
http://pastebin.com/8jUbGpuP

pastebin get 8jUbGpuP deploy

suggestions appreciated!
Jappards #2
Posted 05 July 2013 - 12:04 PM
update!
features
-made the turtles share their redstone signal
-redstone signal sharing can be disabled in the shareSignal table
-made the turtles respond more quikly
Jappards #3
Posted 06 July 2013 - 09:01 AM
another Update!
features
-added channel support
-send the message "deploy" on sending channel 50
-compacted if statements a little bit