Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --barrel_0
- --variables
- p_name = "tt_aspectContainer_0"
- r_side = "back"
- s_Side = "right"
- p = peripheral.wrap(p_name)
- s = peripheral.wrap(s_Side)
- function reload_screen(counts)
- s.clear()
- s.setCursorPos(1,1)
- s.write(counts)
- s.setCursorPos(1,2)
- s.write("herba")
- end
- while true do
- count = p.getAspectCount("herba")
- reload_screen(count)
- if count == 0 then
- redstone.setOutput(r_side,true)
- sleep(32)
- redstone.setOutput(r_side,false)
- end
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment