Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local engine = peripheral.wrap("left")
- local right = peripheral.find("Create_RotationSpeedController")
- local suspensionMotor = peripheral.find("electric_motor")
- local function pullFuel()
- while true do
- engine.pullFluid("back",20,"createdieselgenerators:biodiesel")
- print("fuelPulled")
- sleep(1)
- end
- end
- parallel.waitForAny(
- pullFuel
- )
Advertisement
Add Comment
Please, Sign In to add comment