Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c = require("component")
- t = c.transposer
- sides = require("sides")
- rs = c.redstone
- gpu = c.gpu
- --print(t.getInventorySize(sides.south))
- --lab = t.getStackInSlot(sides.south, 1).label
- while true do
- if t.getStackInSlot(sides.north, 1) ~= nil and t.getStackInSlot(sides.south, 1) == nil then
- if (t.getStackInSlot(sides.north, 1).label) == "Stone" then
- t.transferItem(sides.north, sides.south, 1,1)
- end
- end
- if t.getStackInSlot(sides.south, 1) ~= nil then
- if (t.getStackInSlot(sides.south, 1).label) == "Stone" then
- gpu.set(1,2,"In the Makeing.")
- rs.setOutput(sides.down, 15)
- os.sleep(.2)
- elseif (t.getStackInSlot(sides.south,1).label) == "Blank Slate" then
- gpu.set(1,2,"DONE! ")
- rs.setOutput(sides.down, 0)
- t.transferItem(sides.south, sides.top, 1, 1)
- end
- end
- os.sleep(.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement