Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- posOfMonitor = "right"
- file = require("items." .. "pumpjack")
- file2 = require "pumpjack"
- mon = peripheral.wrap(posOfMonitor)
- mon.clear()
- mon.setTextScale(2)
- line = 1
- mon.setCursorPos(1,line)
- mon.write("======= " .. file2.itemname .. " ============================")
- for i, block in ipairs(file2.blocks) do
- mon.setCursorPos(1,line + 1)
- mon.write(" - " .. block)
- line = line + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement