Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pim = peripheral.wrap("front")
- --glow = peripheral.wrap("glowstone_illuminator_17")
- while true do
- while pim.getInvName() == "EmptyInventory" do
- sleep(1)
- end
- rs.setBundledOutput("bottom", colours.white)
- sleep(0.5)
- for i = 36, 39 do
- if pim.getStackInSlot(i) then
- pim.pushIntoSlot("down", i, 1, i)
- if glow then
- glow.setColor(0xFF0000)
- end
- else
- pim.pullIntoSlot("down", i, 1, i)
- if glow then
- glow.setColor(0x00FF00)
- end
- end
- end
- rs.setBundledOutput("bottom", 0)
- sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement