Advertisement
Marlingaming

CC Tweaked Personality Core Model A

Feb 23rd, 2022
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. local Em_Scale = {0,0}
  2. local Em_State = "N1"
  3. local w, h = term.getSize()
  4.  
  5. function DrawTriangle()
  6. paintutils.drawLine(w/2, 1, w, h - 1, colors.white)
  7. paintutils.drawLine(1,h - 1, w, h - 1, colors.white)
  8. paintutils.drawLine(1, h - 1, w/2, 1, colors.white)
  9. paintutils.drawPixel((w/2) - Em_Scale[1], (h-1)/2 - Em_Scale[2], colors.red)
  10. term.setBackgroundColor(colors.black)
  11. term.setCursorPos(1,h)
  12. term.write(Em_State,Em_Scale[1],"_",Em_Scale[2])
  13. end
  14.  
  15. DrawTriangle()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement