Advertisement
ThatGravyBoat

Untitled

May 7th, 2021
848
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.04 KB | None | 0 0
  1. local monitor = peripheral.find("monitor")
  2. local surface = dofile("surface")
  3. monitor.setTextScale(0.5)
  4. local w,h = monitor.getSize()
  5. local screen = surface.create(w,h)
  6. local display = surface.load("sunset.nfp")
  7. screen:drawSurface(display,0,0)
  8. monitor.setPaletteColor(colors.black, 0x090000)
  9. monitor.setPaletteColor(colors.red, 0x2a0100)
  10. monitor.setPaletteColor(colors.green, 0x5f0300)
  11. monitor.setPaletteColor(colors.brown, 0x940c00)
  12. monitor.setPaletteColor(colors.blue, 0x9f5a17)
  13. monitor.setPaletteColor(colors.purple, 0xed972d)
  14. monitor.setPaletteColor(colors.cyan, 0xe46112)
  15. monitor.setPaletteColor(colors.lightGray, 0xf2b645)
  16. monitor.setPaletteColor(colors.gray, 0xf4da51)
  17. monitor.setPaletteColor(colors.pink, 0xc73700)
  18. monitor.setPaletteColor(colors.lime, 0xf1c93e)
  19. monitor.setPaletteColor(colors.yellow, 0xaf8630)
  20. monitor.setPaletteColor(colors.lightBlue, 0x6a4812)
  21. monitor.setPaletteColor(colors.magenta, 0x3e2e0d)
  22. monitor.setPaletteColor(colors.orange, 0xffff8b)
  23. monitor.setPaletteColor(colors.white, 0xac9f40)
  24. screen:output(monitor)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement