Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pumps = {
- bundle_side = 'bottom',
- rows = {
- {
- engines = {
- colors.orange,
- colors.pink,
- colors.magenta,
- colors.red
- }
- },
- {
- engines = {
- colors.lightBlue,
- colors.yellow,
- colors.white,
- colors.brow
- }
- },
- {
- engines = {
- colors.cyan,
- colors.lightGray,
- colors.gray,
- colors.lime
- }
- },
- {
- engines = {
- colors.black,
- colors.green,
- colors.blue,
- colors.purple
- }
- }
- }
- }
- state = 0
- redstone.setBundledOutput(pumps.bundle_side, state)
- sleep(10)
- for rowId, row in pairs(pumps.rows) do
- for engineId, engine in pairs(row.engines) do
- state = state + engine
- print(string.format('%u -> %u', engine, state))
- redstone.setBundledOutput(pumps.bundle_side, state)
- sleep(2)
- end
- end
- sleep(10)
- redstone.setBundledOutput(pumps.bundle_side, 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement