Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("top")
- term.redirect(mon)
- --
- local cPrint = function(text)
- local x2,y2 = term.getCursorPos()
- local x,y = term.getSize()
- term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
- print(text)
- end
- --
- do
- mon.clear()
- mon.setCursorPos(1, 1)
- do
- term.setTextColor(16384) write("1 Ultimate Solar: ") term.setTextColor(1) print("33.000$")
- term.setTextColor(16384) write("1 Hybrid solar: ") term.setTextColor(1) print("4.300$")
- term.setTextColor(16384) write("1 MatterFab: ") term.setTextColor(1) print("12.000$")
- term.setTextColor(16384) write("1 Electrif furnace: ") term.setTextColor(1) print("300$")
- term.setTextColor(16384) write("1 Geothermal Generator: ") term.setTextColor(1) print("200$")
- term.setTextColor(16384) write("1 Singularity compressor: ") term.setTextColor(1) print("600$")
- term.setTextColor(16384) write("1 Rotary Macerator: ") term.setTextColor(1) print("600$")
- term.setTextColor(16384) write("1 Industrial Centrifuge: ") term.setTextColor(1) print("500$")
- term.setTextColor(16384) write("1 Industrial Electrolyzer: ") term.setTextColor(1) print("500$")
- term.setTextColor(16384) write("1 Generator: ") term.setTextColor(1) print("150$")
- term.setTextColor(16384) write("1 Textcard: ") term.setTextColor(1) print("1000$")
- term.setTextColor(16384) write("1 Circuit: ") term.setTextColor(1) print("20$")
- term.setTextColor(16384) write("1 Advanced Circuit: ") term.setTextColor(1) print("30$")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement