Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Copyright 2013 Jeff Wandling
- -- Geometric Enthusiasm MC
- function kon()
- term.setCursorPos(0,0)
- setTextColor( colors.lime )
- print(".###..##.....")
- print("..#...#...........")
- print("..#..#..................")
- print("..#..#....#####..##.##..")
- print("..#.#....#.....#..##..#.")
- print("..###....#.....#..#...#.")
- print("..#..#...#.....#..#...#.")
- print("..#...#..#.....#..#...#.")
- print(".###..##..#####..###.###")
- setTextColor( colors.cyan )
- print("..")
- print(".... Hijo ni yoi arigato")
- end
- function spewfill()
- local x = 0
- local y = 0
- local w, h = term.getSize()
- local ch = { "!", "~", " ", "|", ".",
- " ", "_", "$" }
- local cl = { colors.white, colors.lightBlue, colors.lime, colors.gray, colors.lightGray,
- colors.green, colors.black }
- term.setCursorPos(0,0)
- for y = 0, h-1 do
- for x = 0, w-1 do
- term.setTextColor( cl[math.random(1,7)] )
- term.write( ch[math.random(1,8)] )
- end
- print("")
- end
- end
- function spewupdate()
- local w, h = term.getSize()
- local y = 0
- local x = 0
- local ch = { "!", "~", " ", "|",
- ".", " ", "_", "$" }
- local cl = { colors.white, colors.lightBlue,
- colors.lime, colors.gray,
- colors.lightGray,
- colors.green,
- colors.black }
- term.setCursorPos(0,0)
- local r = math.random(0, w-1)
- local th = math.random(0, h-1)
- local thh = math.random(th, h-1)
- for y = th, thh do
- term.setCursorPos(r, y)
- term.setTextColor( colors.lightGray)
- term.write("#")
- os.sleep(0.050)
- term.setTextColor( colors.white)
- term.setCursorPos(r, y)
- term.write("_")
- os.sleep(0.050)
- term.setCursorPos(r, y)
- term.setTextColor( cl[math.random(1,7)] )
- term.write( ch[math.random(1,8)] )
- end
- end
- spewfill()
- local w
- for w = 0, 2 do
- spewupdate()
- end
Advertisement
Add Comment
Please, Sign In to add comment