Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local boiler = "hobbyist's_steam_engine_0" --Change this to whatever you need for the boiler/engine (this assumes that you have it connected via peripheral cable)
- local pumpSide = "left" --This is the side for redstone to turn on the RS engine
- local minTemp = 110 --This is when you want more fuel to be added.
- while true do
- if boiler.getTemperature() < minTemp then
- rs.setOutput(pumpSide,true)
- sleep(1.5)
- rs.setOutput(pumpSide,false)
- end
- sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement