Posted 10 June 2013 - 05:06 AM
I want a simple timer that sends a pulse every 20 minutes. The idea is for it to set off a grinder to kill all the adult animals.
I was thinking of a codes of the sort:
Code: startup
while true do
redstone.setOutput("side", true)
sleep(1200)
redstone.setOutput("side", false)
end
While this would be functional I would rather have a cleaner code that could save current progress so I wasn't waiting everytime I started a new game.
I was also hoping to use the progress saver for my turtles mining program.
Secondary question, anyone know any decent lua tutorials out there?
Tertiary, do ender chests save thier color code when you break them?
Quadrary, do you have to open a computer for it's startup program to run or does it run as soon as the computer itself loads?
I was thinking of a codes of the sort:
Code: startup
while true do
redstone.setOutput("side", true)
sleep(1200)
redstone.setOutput("side", false)
end
While this would be functional I would rather have a cleaner code that could save current progress so I wasn't waiting everytime I started a new game.
I was also hoping to use the progress saver for my turtles mining program.
Secondary question, anyone know any decent lua tutorials out there?
Tertiary, do ender chests save thier color code when you break them?
Quadrary, do you have to open a computer for it's startup program to run or does it run as soon as the computer itself loads?