SHOW:
|
|
- or go back to the newest paste.
| 1 | function drawdesktop() | |
| 2 | term.setCursorPos(1,1) | |
| 3 | - | write("=================Potenza batterie=================")
|
| 3 | + | write("=================================Potenza-batterie=================================")
|
| 4 | ||
| 5 | term.setCursorPos(1,7) | |
| 6 | - | write("==================================================")
|
| 6 | + | write("==================================================================================")
|
| 7 | term.setCursorPos(1,13) | |
| 8 | - | write("==================================================")
|
| 8 | + | write("==================================================================================")
|
| 9 | term.setCursorPos(1,19) | |
| 10 | - | write("==================================================")
|
| 10 | + | write("==================================================================================")
|
| 11 | - | local i = 1 |
| 11 | + | local i = 2 |
| 12 | - | for i = 1,18 do |
| 12 | + | for i = 2,30 do |
| 13 | term.setCursorPos(17,i) | |
| 14 | write("|")
| |
| 15 | end | |
| 16 | - | i = 1 |
| 16 | + | |
| 17 | for i = 2,30 do | |
| 18 | - | local b = 1 |
| 18 | + | term.setCursorPos(34,i) |
| 19 | - | for b = 1,18 do |
| 19 | + | |
| 20 | - | term.setCursorPos(34,b) |
| 20 | + | |
| 21 | ||
| 22 | for i = 2,30 do | |
| 23 | - | b = 1 |
| 23 | + | term.setCursorPos(51,i) |
| 24 | write("|")
| |
| 25 | end | |
| 26 | ||
| 27 | for i = 2,30 do | |
| 28 | term.setCursorPos(68,i) | |
| 29 | write("|")
| |
| 30 | end | |
| 31 | end | |
| 32 | drawdesktop() |