Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- railmap.lua
- -- CC 1.5 IDT fixed
- -- Zeichnet die Bahnkarte auf den Monitor rechts
- local mon = peripheral.wrap("right")
- if not mon then
- error("Kein Monitor rechts gefunden")
- end
- mon.setTextScale(1)
- mon.setBackgroundColor(colors.black)
- mon.setTextColor(colors.white)
- mon.clear()
- local map = {
- " ",
- " ",
- " ",
- " [Teamhall]-----------------\\ [Upper Spawn] ",
- " ^ | | ",
- " | | | ",
- " [Station 4] /---] | [<----[Lower Spawn] ",
- " ^ | | ^ ",
- " | | | | ",
- " [Station 3] | | [Station 7] ",
- " ^ | | ^ ",
- " | | | | ",
- " [Station 2] | | [Station 6] ",
- " ^ | | ^ ",
- " | | | | ",
- " [PvP / Mall]<---------/ \\------->[Station 5] ",
- }
- for i, line in ipairs(map) do
- mon.setCursorPos(1, i)
- mon.write(line)
- end
Advertisement
Add Comment
Please, Sign In to add comment