Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- status = {refuel = 1}
- helpTable = {refuel = "refuel the turtle using all slots"}
- functionTable = {
- refuel = function(item,connectID,mProt)
- rednet.send(connectID, "Repostando...", mProt);
- for i=1,16,1
- do
- turtle.select(i);
- turtle.refuel();
- end
- turtle.select(1);
- rednet.send(connectID, "Fuel="..turtle.getFuelLevel(), mProt);
- end
- }
Add Comment
Please, Sign In to add comment