SHOW:
|
|
- or go back to the newest paste.
| 1 | function colore(nome) | |
| 2 | term.setTextColor(nome) | |
| 3 | end | |
| 4 | ||
| 5 | function sfondo(nome) | |
| 6 | term.setBackgroundColor(nome) | |
| 7 | end | |
| 8 | ||
| 9 | ||
| 10 | m = peripheral.wrap("left")
| |
| 11 | mappa = paintutils.loadImage("mappa")
| |
| 12 | term.redirect(m) | |
| 13 | sfondo(colors.blue) | |
| 14 | term.clear() | |
| 15 | term.setCursorPos(1,1) | |
| 16 | colore(colors.white) | |
| 17 | print("PARCO NATURALE 'Nehalem' - MAPPA DEI SENTIERI ")
| |
| 18 | paintutils.drawImage(mappa, 1, 2) | |
| 19 | colore(colors.white) | |
| 20 | sfondo(colors.lightBlue) | |
| 21 | term.setCursorPos(37, 3) | |
| 22 | term.write("Mare del Nord")
| |
| 23 | term.setCursorPos(22, 4) | |
| 24 | term.write("Cala Diamante")
| |
| 25 | term.setCursorPos(38, 8) | |
| 26 | term.write("Lago")
| |
| 27 | term.setCursorPos(38,9) | |
| 28 | term.write("delle")
| |
| 29 | term.setCursorPos(38,10) | |
| 30 | term.write("Lame")
| |
| 31 | sfondo(colors.green) | |
| 32 | term.setCursorPos(15,8) | |
| 33 | term.write("Forte")
| |
| 34 | term.setCursorPos(15,9) | |
| 35 | term.write("Diamante")
| |
| 36 | term.setCursorPos(37,17) | |
| 37 | term.write("Monumento")
| |
| 38 | term.setCursorPos(37,18) | |
| 39 | term.write("Esploratori")
| |
| 40 | term.setCursorPos(2, 18) | |
| 41 | term.write("Belvedere")
| |
| 42 | term.setCursorPos(2, 19) | |
| 43 | term.write("Punta Nehalem")
| |
| 44 | ||
| 45 | sfondo(colors.red) | |
| 46 | term.setCursorPos(21, 19) | |
| 47 | term.write("Siete qui")
| |
| 48 | sfondo(colors.black) | |
| 49 | term.setCursorPos(50, 19) | |
| 50 | term.write("|")
| |
| 51 | term.setCursorPos(50, 18) | |
| 52 | term.write("|")
| |
| 53 | term.setCursorPos(50, 17) | |
| 54 | term.write("^")
| |
| 55 | term.setCursorPos(50, 16) | |
| 56 | term.write("N")
| |
| 57 | ||
| 58 | term.restore() |