Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Em_Scale = {0,0}
- local Em_State = "N1"
- local w, h = term.getSize()
- function DrawTriangle()
- paintutils.drawLine(w/2, 1, w, h - 1, colors.white)
- paintutils.drawLine(1,h - 1, w, h - 1, colors.white)
- paintutils.drawLine(1, h - 1, w/2, 1, colors.white)
- paintutils.drawPixel((w/2) - Em_Scale[1], (h-1)/2 - Em_Scale[2], colors.red)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(1,h)
- term.write(Em_State,Em_Scale[1],"_",Em_Scale[2])
- end
- DrawTriangle()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement