ThatGravyBoat

Untitled

May 7th, 2021 (edited)
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 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("screen.nfp")
  7.  
  8. screen:drawSurface(display,0,0)
  9.  
  10. monitor.setPaletteColor(colors.red, 0x8f1718)
  11. monitor.setPaletteColor(colors.green, 0xcc2225)
  12. monitor.setPaletteColor(colors.brown, 0x350909)
  13.  
  14.  
  15. screen:output(monitor)
Add Comment
Please, Sign In to add comment