Dumfing

Crop Harvester Action

Nov 28th, 2021
601
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. machine = require("cropfarmer")
  2. while true do
  3.   print("Harvesting")
  4.   os.queueEvent("harvest_event", "harvest started")
  5.   machine.harvestCrops()
  6.   os.queueEvent("harvest_event", "harvest finished")
  7.   print("Waiting")
  8.   sleep(300)
  9. end
RAW Paste Data