Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- print("waking up")
- if redstone.getBundledOutput("bottom") == 0 then
- print("start of day - transmitting on orange")
- redstone.setBundledOutput("bottom", 0)
- redstone.setBundledOutput("bottom", colors.orange)
- elseif redstone.testBundledInput("bottom", colors.orange) then
- print("day - transmitting on yellow")
- redstone.setBundledOutput("bottom", 0)
- redstone.setBundledOutput("bottom", colors.yellow)
- elseif redstone.testBundledInput("bottom", colors.yellow) then
- print("day - transmitting on orange")
- redstone.setBundledOutput("bottom", 0)
- redstone.setBundledOutput("bottom", colors.orange)
- end
- print("sleeping for 40 seconds")
- sleep(40)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement