Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Harvest Rows of Cane
- -- 170218 Upgraded to three sets
- RowLength=10
- NumSetsCrop=3
- NumMinHarvest=10
- -- Function to Connect to Monitor
- local mon
- local function findMonitor()
- mon = peripheral.wrap("right")
- if mon then
- return true
- else
- return false
- end
- end -- Function find monitor
- -------------------------
- -- Main Routine
- -------------------------
- MonExists=findMonitor()
- print("Name: ", os.getComputerLabel() )
- if MonExists then
- mon.setTextScale(3)
- mon.write("Monitor")
- else
- print("No Monitor")
- end -- if
- if turtle.getFuelLevel()<100 then
- print("Out of Fuel: ", turtle.getFuelLevel())
- end
Advertisement
Add Comment
Please, Sign In to add comment