Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = "nothing"
- input = "nothing"
- User = "Default User"
- password = "password"
- function f1() -- What is tekkit?
- input = "adf"
- while input ~= "exit" do
- textutils.slowPrint "Tekkit is a collection of some of the best Mods around, IC2, EE, Redpower, the list goes on." -- Whatever you want to explain it
- textutils.slowPrint "Would you like to learn more about what you can do in Tekkit? Yes | No"
- input = read()
- if input == string.lower("yes") then
- textutils.slowPrint "You can build Quarry's, Make Town's, mine with lasers, fly with jet packs, drill for oil, use the sun for energy, the possibilities are endless!"
- sleep(2)
- else
- break
- end
- end
- function f2() -- Not Enough Items isn't showing
- input = "adf"
- while input ~= "no" do -- while input doesn't equal "no"
- textutils.slowPrint "Step 1. Open up your Inventory Screen (usually 'e')"
- write "Enter to continue.."
- input = io.read() --Waits for input, code can't continue till it gets SOME input
- textutils.slowPrint "Step 2. Press the 'o' button."
- write "Enter to continue.."
- input = io.read()
- textutils.slowPrint "You should now see NEI."
- sleep(2)
- textutils.slowPrint "Furthermore, you can press 'r' while your mouse is over an item to get the recipe."
- write "Enter to continue.."
- input = io.read()
- textutils.slowPrint "Go over this again?"
- input = io.read()
- if input == string.lower("yes") then
- shell.run("clear")
- else
- break -- stop the loop thus stopping the Function
- end
- end
- function f3() --How to get started
- input = "adf"
- while input ~= "back" do
- textutils.slowPrint "The first thing you will need is a base, just how you would start out in Vanilla Minceraft."
- write "Enter to continue.."
- input = io.read()
- textutils.slowPrint "It is suggested you head as far away from spawn as possible, to help prevent griefing."
- input = io.read()
- textutils.slowPrint "Once you have your base set up, the next thing you will need is Rubber."
- input = io.read()
- textutils.slowPrint "Where do you get Rubber? From Rubber Tree's! They are especially common in Swamps, with the 2-3 leaves sticking straight out."
- input = io.read()
- textutils.slowPrint "Just chop them down and get their saplings, you will use them later for a farm."
- sleep(2)
- write "Do you wish to continue this tutorial? Yes | No "
- input = io.read()
- if input == string.lower("yes") then
- textutils.slowPrint "The first thing you will need to do is set up your Rubber Tree Farm. Just plant the saplings like you would farm any other tree."
- input = io.read()
- textutils.slowPrint "You will notice the Saplings have what appears to be orange squares on them, you can use a 'tree tap' to obtain rubber from said orange squares."
- input = io.read()
- textutils.slowPrint "From there, you will get resin. To make rubber from resin, just smelt it."
- input = io.read()
- textutils.slowPrint "The next thing you need is Copper bars. 3 of them and 6 rubber make Copper Wire, vital for all IC2 machinery."
- write "Do you wish to continue? Yes | No: "
- input = io.read()
- if input == string.lower("yes") then
- textutils.slowPrint "The next thing you will want to do is make a Generator. You can look up the recipe by searching 'generator' and pressing 'r' while your mouse is located over it."
- input = io.read()
- textutils.slowPrint "If the RE Battery recipe isn't showing, search 're' and try finding the recipe on one of those."
- input = io.read()
- textutils.slowPrint "From here, you should be able to ask for help from other Players, this is only a VERY basic tutorial on what to do when just starting."
- sleep(2)
- textutils.slowPrint "I hope you enjoyed it."
- sleep(4)
- else
- break
- else
- break
- end
- end
- end
- end
- function f4() -- How to make money
- input = "adf"
- while input ~= "exit" do
- textutils.slowPrint "This is an easy question.. Just sell stuff at the signs." -- Whatever you want to explain it
- input = io.read()
- textutils.slowPrint "That is the only way to currently make money."
- write "Enter to go back.."
- input = io.read()
- end
- function f5() -- What do machines do?
- input = "adf"
- textutils.slowPrint "LOL I JUST REALIZED NOTHING IS HERE" -- Whatever you want to explain it
- end
- function f6() -- Quarry's dont work in Towny
- input = "adf"
- while input ~= "exit" do
- textutils.slowPrint "Quarry's currently don't work in Towny." -- Whatever you want to explain it
- input = io.read()
- textutils.slowtextutils.slowPrint "Towny doesnt let them work properly, there is nothing we can do to assist you in this problem. We are sorry for the nonviolence."
- end
- end
- function f7() -- What is EE?
- input = "adf"
- textutils.slowPrint "EE is a Mod, short for Equivalent Exchange" -- Whatever you want to explain it
- input = io.read()
- textutils.slowPrint "It runs off of EMC, Energy Matter Conversion. Every item in game has an EMC Value."
- input = io.read()
- textutils.slowPrint "You can use certain items/blocks to convert items with equidistant EMC value, i.e. Stone for Cobblestone."
- input = io.read()
- end
- function f8() -- What are the rules of the Server
- input = "adf"
- textutils.slowPrint "1. Insert Rule 1 here _______" -- TREM, WRITE WHATEVER YOU WANT
- textutils.slowPrint "2. Insert Rule 2 here _______"
- textutils.slowPrint "3. Insert Rule 3 here _______"
- --etc
- end
- function fcredits()
- input = "adf"
- textutils.slowPrint[[
- Art Created By
- ____ ___
- /\ _`\ __ /\_ \
- \ \,\L\_\/\_\\//\ \ __ ___ ___ __
- \/_\__ \\/\ \ \ \ \ /'__`\/' _ `\ /'___\ /'__`\
- /\ \L\ \ \ \ \_\ \_/\ __//\ \/\ \/\ \__//\ __/
- \ `\____\ \_\/\____\ \____\ \_\ \_\ \____\ \____\
- \/_____/\/_/\/____/\/____/\/_/\/_/\/____/\/____/
- Code Created By
- ____ ________ __ __ __
- /\ _`\ /\_____ \ /'_ `\ /\ \\ \
- \ \ \L\ \ __ __ __ ___ \/___//'/'/\ \L\ \\ \ \\ \
- \ \ , / /\ \/\ \ /'__`\ /' _ `\ /' /' \/_> _ <_\ \ \\ \_
- \ \ \\ \\ \ \_\ \/\ \L\.\_/\ \/\ \ /' /' /\ \L\ \\ \__ ,__\
- \ \_\ \_\/`____ \ \__/.\_\ \_\ \_\/\_/ \ \____/ \/_/\_\_/
- \/_/\/ /`/___/> \/__/\/_/\/_/\/_/\// \/___/ \/_/
- /\___/
- \/__/
- OS
- ____ __ ____
- /\ _`\ __/\ \__ /\ _`\
- \ \ \/\_\ /\_\ \ ,_\ __ __\ \,\L\_\ ___ __ _____ __
- \ \ \/_/_\/\ \ \ \/ /\ \/\ \\/_\__ \ /'___\ /'__`\ /\ '__`\ /'__`\
- \ \ \L\ \\ \ \ \ \_\ \ \_\ \ /\ \L\ \/\ \__//\ \L\.\_\ \ \L\ \/\ __/
- \ \____/ \ \_\ \__\\/`____ \\ `\____\ \____\ \__/.\_\\ \ ,__/\ \____\
- \/___/ \/_/\/__/ `/___/> \\/_____/\/____/\/__/\/_/ \ \ \/ \/____/
- /\___/ \ \_\
- \/__/ \/_/
- ]]
- input = io.read()
- end
- while x ~= exit do
- shell.run("clear")
- textutils.slowPrint[[
- .----..-..-----..-. .-..----..----. .--. .-.-. .----. .---. .----.
- | }`-'{ |`-' '-' \ \/ /{ {__-`| }`-' / {} \ | } }}} |__} / {-. \{ {__-`
- | },-.| } } { `-\ }.-._} }| },-./ /\ \| |-' } '__} \ '-} /.-._} }
- `----'`-' `-' `-'`----' `----'`-' `-'`-' `----' `---' `----'
- ]]
- textutils.slowPrint ("User: "..User)
- textutils.slowPrint ""
- textutils.slowPrint "Main Menu:"
- textutils.slowPrint "1. What is Tekkit?"
- textutils.slowPrint "2. Not Enough Items ins't showing!!"
- textutils.slowPrint "3. How to get started.."
- textutils.slowPrint "4. How to make money"
- textutils.slowPrint "5. What do machines do?"
- textutils.slowPrint "6. Quarry's don't work in Towny!?"
- textutils.slowPrint "7. What is EE? (Or Equivalent Exchange)"
- textutils.slowPrint "8. What are the rules of this Server?"
- textutils.slowPrint ""
- textutils.slowPrint "Credits: All those who helped make this OS!"
- textutils.slowPrint "End Menu"
- write "Choice: "
- input = io.read()
- textutils.slowPrint ""
- if input == 1 then
- f1()
- elseif input == 2 then
- f2()
- elseif input == 3 then
- f3()
- elseif input == 4 then
- f4()
- elseif input == 5 then
- f5()
- elseif input == 6 then
- f6()
- elseif input == 7 then
- f7()
- elseif input == 8 then
- f8()
- elseif input == string.lower("credits") then
- fcredits()
- else
- textutils.slowPrint "Did not understand."
- sleep(2)
- end
- end
- textutils.slowPrint "Exiting OS Software.."
- sleep(3)
- shell.run("clear")
Add Comment
Please, Sign In to add comment