Guest User

Untitled

a guest
Dec 15th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.76 KB | None | 0 0
  1. function clear()
  2. shell.run("clear")
  3. end
  4.  
  5.  
  6. function start()
  7. clear()
  8. textutils.slowPrint("Get out! Get out! You can't be in here!")
  9. sleep(1.0)
  10. clear()
  11. sleep(1.0)
  12. print("How about some tekkit information?")
  13. sleep(1.0)
  14. mods()
  15. clear()
  16. end
  17.  
  18.  
  19. function shutdown()
  20. clear()
  21. textutils.slowPrint("RedQueen Shutting Down...")
  22. sleep(1.0)
  23. os.shutdown()
  24. end
  25.  
  26.  
  27. function menu()
  28. print("Would you lke to know more about tekkit? [yes/no/reset]")
  29. input = read()
  30. yes = "yes"
  31. no = "no"
  32. reset = "reset"
  33. if input == yes then
  34. mods()
  35. elseif input == no then
  36. shutdown()
  37. elseif input == reset then
  38. Start()
  39. else
  40. clear()
  41. print("Error: Only recognizes yes or no (Caps?)")
  42. menu()
  43. end
  44. end
  45.  
  46.  
  47. function mods()
  48. clear()
  49. print("{===============================================}")
  50. print("|| Which mod do you want to learn more about?  ||")
  51. print("|| (WARNING: Does not teach recipes! Use NEI.) ||")
  52. print("|| (WARNING: Case Sensative! Patches is Evil!) ||")
  53. print("||                                             ||")
  54. print("||        IndustrialCraft      RedPower        ||")
  55. print("||                                             ||")
  56. print("|==============Upcoming Tutorials:==============|")
  57. print("||                                             ||")
  58. print("||      Balkon'sWeaponmod     MetalChests      ||")
  59. print("||      BuildCraft              RailCraft      ||")
  60. print("||      ComputerCraft                          ||")
  61. print("|------------Server Plugin tutorials------------|")
  62. print("||          Towny              LWC             ||")
  63. print("||                                             ||")
  64. print("{===============================================}")
  65.  
  66. input = read()
  67.  
  68. IndustrialCraft = "IndustrialCraft"
  69. RedPower = "Redpower"
  70. balkonsweaponmod = "Balkon'sWeaponmod"
  71. MetalChests = "MetalChests"
  72. BuildCraft = "BuildCraft"
  73. RailCraft = "RailCraft"
  74. ComputerCraft = "ComputerCraft"
  75. Towny = "Towny"
  76. LWC = "LWC"
  77.  
  78. if input == IndustrialCraft then
  79. ICMenu()
  80. elseif input == RedPower then
  81. print("Sorry, RedPower is incomplete at this point in time.")
  82. sleep(2.0)
  83. mods()
  84. elseif input == BuildCraft then
  85. print("Sorry, BuildCraft is incomplete at this point in time.")
  86. sleep(2.0)
  87. mods()
  88. elseif input == balkonsweaponmod then
  89. print("Sorry, Balkon's is incomplete at this point in time.")
  90. sleep(2.0)
  91. mods()
  92. elseif input == MetalChests then
  93. print("Sorry, MetalChests is incomplete at this point in time.")
  94. sleep(2.0)
  95. mods()
  96. elseif input == RailCraft then
  97. print("Sorry, RailCraft is incomplete at this point in time.")
  98. sleep(2.0)
  99. mods()
  100. elseif input == ComputerCraft then
  101. print("Sorry, ComputerCraft is incomplete at this point in time.")
  102. sleep(2.0)
  103. mods()
  104. elseif input == Towny then
  105. print("Sorry, Towny is incomplete at this point in time")
  106. sleep(2.0)
  107. mods()
  108. elseif input == LWC then
  109. print("Sorry, LWC is incomplete at this point in time")
  110. sleep(2.0)
  111. mods()
  112. else
  113. print("Invalid Mod Selection")
  114. sleep(2.0)
  115. mods()
  116. end
  117. end
  118.  
  119.  
  120. function ICMenu()
  121. clear()
  122. print("{===============================================}")
  123. print("           Any particular part of IC2?           ")
  124. print("{===============================================}")
  125. print("||                  IC2 Items                  ||")
  126. print("||                 IC2 Machines                ||")
  127. print("||        (coming soon)IC2 Agriculture         ||")
  128. print("||              (Coming Soon)MFFS              ||")
  129. print("||        (Coming Soon)Nuclear Control         ||")
  130. print("{===============================================}")
  131. print("||                                             ||")
  132. print("||                                             ||")
  133. print("||                                             ||")
  134. print("||                                             ||")
  135. print("||                                             ||")
  136. print("{===============================================}")
  137. print("[Main]              IC2 Menu                     ")
  138.  
  139. input = read()
  140.  
  141. ic2items = "IC2 Items"
  142. ic2machines = "IC2 Machines"
  143. ic2agriculture = "IC2 Agriculture"
  144. main = "Main"
  145.  
  146. if input == ic2items then
  147. IC1()
  148. elseif input == ic2machines then
  149. IC3()
  150. elseif input == main then
  151. mods()
  152. else
  153. print("Invalid Selection")
  154. sleep(2.0)
  155. ICMenu()
  156. end
  157. end
  158.  
  159.  
  160. function IC1()
  161. clear()
  162. print("       What do you want me to talk about?        ")
  163. print("{===============================================}")
  164. print("Tin          Copper       StickyResin  Rubber    ")
  165. print("RefinedIron  E.Circuit    M.Block      Cable     ")
  166. print("Cells        A.Circuit    AdvM.Block   Painter   ")
  167. print("InsCutter    TinCan       FuelCan      Bronze    ")
  168. print("Scrap        ScrapBox     UUMatter     Upgrades  ")
  169. print("CoalDust     CarbonPlate  MixMetIngot  Adv.Alloy ")
  170. print("CoalBall     CmpCoalBall  CoalChunk    IndCredit ")
  171. print("H.CoalDust   H.Coal       Plantball    CmpPlants ")
  172. print("Drill        Chainsaw     Wrench       Treetap   ")
  173. print("EUReader     BatPack      Lappack      Jetpacks  ")
  174. print("CFoam        ElectricHoe  ODScanner    OVScanner ")
  175. print("IC2Batteries    EnergyCrystal   LapotronCrystal  ")
  176. print("{===============================================}")
  177. print("[Main][IC2Menu]     IC2 Items              [Next]")
  178.  
  179. input = read()
  180.  
  181. tin = "Tin"
  182. copper = "Copper"
  183. stickyresin = "StickyResin"
  184. rubber = "Rubber"
  185. refinediron = "RefinedIron"
  186. ecircuit = "E.Circuit"
  187. mblock = "M.Block"
  188. cable = "Cable"
  189. cells = "Cells"
  190. acircuit = "A.Circuit"
  191. advmblock = "AdvM.Block"
  192. painter = "Painter"
  193. inscutter = "InsCutter"
  194. tincan = "TinCan"
  195. fuelcan = "FuelCan"
  196. bronze = "Bronze"
  197. scrap = "Scrap"
  198. scrapbox = "ScrapBox"
  199. uumatter = "UUMatter"
  200. upgrades = "Upgrades"
  201. coaldust = "CoalDust"
  202. carbonplate = "CarbonPlate"
  203. mixmetingot = "MixMetIngot"
  204. advalloy = "Adv.Alloy"
  205. coalball = "CoalBall"
  206. cmpcoalball = "CmpCoalBall"
  207. coalchunk = "CoalChunk"
  208. indcredit = "IndCredit"
  209. hcoaldust = "H.CoalDust"
  210. hcoal = "H.Coal"
  211. plantball = "Plantball"
  212. cmpplants = "CmpPlants"
  213. drill = "Drill"
  214. chainsaw = "Chainsaw"
  215. wrench = "Wrench"
  216. treetap = "Treetap"
  217. eureader = "EUReader"
  218. batpack= "BatPack"
  219. lappack = "Lappack"
  220. jetpacks = "Jetpacks"
  221. cfoam = "CFoam"
  222. electrichoe = "ElectricHoe"
  223. odscanner = "ODScanner"
  224. ovscanner = "OVScanner"
  225. ic2batteries = "IC2Batteries"
  226. energycrystal = "EnergyCrystal"
  227. lapotroncrystal = "LapotronCrystal"
  228. ic2menu = "IC2Menu"
  229. next = "Next"
  230. main = "Main"
  231.  
  232. if input == next then
  233. IC2()
  234. elseif input == ic2menu then
  235. ICMenu()
  236. elseif input == main then
  237. mods()
  238.  
  239. elseif input == tin then
  240. Tin()
  241. elseif input == copper then
  242. Copper()
  243. elseif input == stickyresin then
  244. StickyResin()
  245.  
  246. else
  247. print("Invalid Selection")
  248. sleep(2.0)
  249. IC1()
  250. end
  251. end
  252.  
  253.  
  254. function IC2()
  255. clear()
  256. print("       What do you want me to talk about?        ")
  257. print("{===============================================}")
  258. print("IronFence   Scaffold     IronScaffold  MiningPipe")
  259. print("ReinfGlass  ReinfStone   ReinfDoor               ")
  260. print("ToolBox     IntHeatDisp  IntReacPlate  Uranium   ")
  261. print("RubberBoots StaticBoots  Solar Helmet  CmpVest   ")
  262. print("Dynomite-o-mote     Dynamite     StickyDynamite  ")
  263. print("{===============================================}")
  264. print("                                                 ")
  265. print("                                                 ")
  266. print("                                                 ")
  267. print("                                                 ")
  268. print("                                                 ")
  269. print("                                                 ")
  270. print("{===============================================}")
  271. print("[Main][IC2Menu]     IC2 Items              [Back]")
  272.  
  273.  
  274. input = read()
  275.  
  276. main = "Main"
  277. back = "Back"
  278. ic2menu = "IC2Menu"
  279.  
  280. if input == back then
  281. IC1()
  282. elseif input == ic2menu then
  283. ICMenu()
  284. elseif input == main then
  285. mods()
  286. else
  287. print("Invalid Selection")
  288. sleep(2.0)
  289. IC2()
  290. end
  291. end
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298. function IC3()
  299. clear()
  300. print("       What do you want me to talk about?        ")
  301. print("{===============================================}")
  302. print("IronFurnace     Macerator       ElectricFurnace  ")
  303. print("Extractor       Compressor      CanningMachine   ")
  304. print("Magnetizer      Electrolyzer    Recycler         ")
  305. print("Induc.Furnace   Rot.Macerator   Sing.Compressor  ")  
  306. print("Cent.Extractor  Miner           Pump             ")
  307. print("Generators                                       ")
  308. print("{===============================================}")
  309. print("                                                 ")
  310. print("                                                 ")
  311. print("                                                 ")
  312. print("                                                 ")
  313. print("                                                 ")
  314. print("{===============================================}")
  315. print("[Main][IC2Menu]   IC2 Machines                   ")
  316.  
  317. input = read()
  318.  
  319. main = "Main"
  320. ic2menu = "IC2Menu"
  321.  
  322. if input == main then
  323. mods()
  324. elseif input == ic2menu then
  325. ICMenu()
  326. end
  327. end
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337. function Tin()
  338. clear()
  339. print("Tin is a resource brought to you by              ")
  340. print("IndustrialCraft and RedPower! Its primary uses   ")
  341. print("are to create IC2 and RP batteries               ")
  342. print("=================================================")
  343. print("IC2 Recipes: Tin blocks, Canning Machines, Tin   ")
  344. print("Cable, IC2 Batteries, BatPacks, Cells, Fuel Cans,")
  345. print("Tin Cans, CF Backpacks, Mixed Metal Ingots, and  ")
  346. print("Dynamite-O-Motes                                 ")
  347. print("=================================================")
  348. print("RP2 Recipes: Brass Ingots, BT Batteries          ")
  349. print("                                                 ")
  350. print("Railcraft recipes: Energy Detectors              ")
  351. sleep(5)
  352. menu()
  353. end
  354.  
  355.  
  356. function Copper()
  357. clear()
  358. print("Copper is another resource brought to you by     ")
  359. print("IndustrialCraft and RedPower! Its primary use is ")
  360. print("to create Copper cable IC2 Batteries and         ")
  361. print("RP Batteries                                     ")
  362. print("=================================================")
  363. print("IC2 Recipes: Copper blocks, Induction Furnaces,  ")
  364. print("LV Transformers, Copper Cable, Uninsulated Copper")
  365. print("Cable, Integrated Heat Disperser, Integrated     ")
  366. print("Reactor Plating                                  ")
  367. print("=================================================")
  368. print("RP2 Recipes: Brass Ingots, BT Batteries, Copper  ")
  369. print("Nuggets, Red Alloy, Voltmeter, Thermopile, Fine  ")
  370. print("Copper Wire                                      ")
  371. print("Railcraft recipes:                               ")
  372. sleep(5)
  373. menu()
  374. end
  375.  
  376.  
  377. function StickyResin()
  378. clear()
  379. print("")
  380. print("IC2 Recipes:")
  381. print("RP2 Recipes:")
  382. print("Railcraft recipes:")
  383. sleep(5)
  384. menu()
  385. end
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427. start()
Add Comment
Please, Sign In to add comment