Advertisement
Guest User

Untitled

a guest
Jul 10th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1.  
  2. mon = peripheral.wrap("top")
  3. term.redirect(mon)
  4. --
  5. local cPrint = function(text)
  6. local x2,y2 = term.getCursorPos()
  7. local x,y = term.getSize()
  8. term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
  9.  
  10. print(text)
  11. end
  12. --
  13. do
  14. mon.clear()
  15. mon.setCursorPos(1, 1)
  16. do
  17.  
  18. term.setTextColor(16384) write("1 Ultimate Solar: ") term.setTextColor(1) print("33.000$")
  19.  
  20. term.setTextColor(16384) write("1 Hybrid solar: ") term.setTextColor(1) print("4.300$")
  21.  
  22. term.setTextColor(16384) write("1 MatterFab: ") term.setTextColor(1) print("12.000$")
  23.  
  24. term.setTextColor(16384) write("1 Electrif furnace: ") term.setTextColor(1) print("300$")
  25.  
  26. term.setTextColor(16384) write("1 Geothermal Generator: ") term.setTextColor(1) print("200$")
  27.  
  28. term.setTextColor(16384) write("1 Singularity compressor: ") term.setTextColor(1) print("600$")
  29.  
  30. term.setTextColor(16384) write("1 Rotary Macerator: ") term.setTextColor(1) print("600$")
  31.  
  32. term.setTextColor(16384) write("1 Industrial Centrifuge: ") term.setTextColor(1) print("500$")
  33.  
  34. term.setTextColor(16384) write("1 Industrial Electrolyzer: ") term.setTextColor(1) print("500$")
  35.  
  36.  
  37. term.setTextColor(16384) write("1 Generator: ") term.setTextColor(1) print("150$")
  38.  
  39.  
  40. term.setTextColor(16384) write("1 Textcard: ") term.setTextColor(1) print("1000$")
  41.  
  42. term.setTextColor(16384) write("1 Circuit: ") term.setTextColor(1) print("20$")
  43.  
  44. term.setTextColor(16384) write("1 Advanced Circuit: ") term.setTextColor(1) print("30$")
  45.  
  46.  
  47.  
  48.  
  49.  
  50. end
  51. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement