Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- TPPI Title Logo
- -- by MCKerrnel
- --
- -- YouTube: http://www.youtube.com/MCKerrnel
- -- Twitter: @MCKerrnel
- --
- -- This is just a function to display
- -- the TPPI logo in the center of the
- -- monitor. It assumes the general API
- -- is already loaded alongside.
- function title(x, y)
- mlapi.tp("Welcome to:", x - 1, 3, colors.white, colors.black)
- mlapi.tp("The Kerrnel Does FTB", x + 11, 3, colors.red, colors.black)
- TPPI(x, y)
- end
- function TPPI(x, y)
- -- Cyan
- T(colors.green, x - 1, y + 1)
- P(colors.green, x - 1, y + 1)
- P(colors.green, x + 7, y + 1)
- I(colors.green, x - 1, y + 1)
- -- Pink
- T(colors.pink, x + 1, y - 1)
- P(colors.pink, x + 1, y - 1)
- P(colors.pink, x + 9, y - 1)
- I(colors.pink, x + 1, y - 1)
- -- White
- T(colors.white, x, y)
- P(colors.white, x, y)
- P(colors.white, x + 8, y)
- I(colors.white, x, y)
- end
- function T(colour, x, y)
- mlapi.tp(" ", x, y, colors.white, colour)
- mlapi.tp(" ", x, y + 1, colors.white, colour)
- mlapi.tp(" ", x + 2, y + 2, colors.white, colour)
- mlapi.tp(" ", x + 2, y + 3, colors.white, colour)
- mlapi.tp(" ", x + 2, y + 4, colors.white, colour)
- mlapi.tp(" ", x + 2, y + 5, colors.white, colour)
- mlapi.tp(" ", x + 2, y + 6, colors.white, colour)
- mlapi.tp(" ", x + 2, y + 7, colors.white, colour)
- end
- function P(colour, x, y)
- mlapi.tp(" ", x + 8, y, colors.white, colour)
- mlapi.tp(" ", x + 8, y + 1, colors.white, colour)
- mlapi.tp(" ", x + 8, y + 2, colors.white, colour)
- mlapi.tp(" ", x + 12, y + 2, colors.white, colour)
- mlapi.tp(" ", x + 8, y + 3, colors.white, colour)
- mlapi.tp(" ", x + 8, y + 4, colors.white, colour)
- mlapi.tp(" ", x + 8, y + 5, colors.white, colour)
- mlapi.tp(" ", x + 8, y + 6, colors.white, colour)
- mlapi.tp(" ", x + 8, y + 7, colors.white, colour)
- end
- function I(colour, x, y)
- mlapi.tp(" ", x + 24, y, colors.white, colour)
- mlapi.tp(" ", x + 24, y + 1, colors.white, colour)
- mlapi.tp(" ", x + 26, y + 2, colors.white, colour)
- mlapi.tp(" ", x + 26, y + 3, colors.white, colour)
- mlapi.tp(" ", x + 26, y + 4, colors.white, colour)
- mlapi.tp(" ", x + 26, y + 5, colors.white, colour)
- mlapi.tp(" ", x + 24, y + 6, colors.white, colour)
- mlapi.tp(" ", x + 24, y + 7, colors.white, colour)
- end
Advertisement
Add Comment
Please, Sign In to add comment