Bidderlyn

books

Aug 16th, 2017
54
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void chooseBooks()
  2. {
  3. int booksLeft = 2;
  4. Object[] book = new Object[20];
  5. for(int i=0; i<book.length; i++)
  6. {
  7. book[i] = new Object();
  8. }
  9. int num =0;
  10. book[num].name = "The Checkered Board"; // Stealth, Handcraft
  11. book[num].infoLine = "Eflax the Spymaster, topic: How to ploy your opponent in games";
  12. num++;
  13.  
  14. book[num].name = "Sand in our boots"; // Survival, Ranged
  15. book[num].infoLine = "Uglunk Gragshag, topic: Collected stories and lessons about the orcish tribal journeys";
  16. num++;
  17.  
  18. book[num].name = "Candles on the Altar"; // Pray, Enchant
  19. book[num].infoLine = "St. Anna, topic: Rules regulations and procedure for divine or mystical practices";
  20. num++;
  21.  
  22. book[num].name = "Three Centuries Under"; // Melee, Mine
  23. book[num].infoLine = "Tysir Anvil-split, topic: Diary of Tysir's experiences as a warrior at the dwarven mines of Nukdum";
  24. num++;
  25.  
  26. book[num].name = "Great Noble Dynasties"; // Leadership, Bureaucracy
  27. book[num].infoLine = "Sir Fredrick Jaunt, topic: A ledger summarizing the lines of succession of the noble houses";
  28. num++;
  29.  
  30. book[num].name = "A World of Feasts"; // Cooking, Persuasion
  31. book[num].infoLine = "Bronnel Lumba, topic: Compliation of recipes from cultures around the world";
  32. num++;
  33.  
  34. book[num].name = "Sowing the Barren"; // Harvest, Slaughter
  35. book[num].infoLine = "Jolx Greenhand, topic: A guide to farming in extreme environments";
  36. num++;
  37.  
  38. book[num].name = "Felling the Tree of Knowledge"; // Spellcraft, Chop
  39. book[num].infoLine = "Ashtor Ral'ozhis, topic: Transcription of lost magical druidic scrolls";
  40. num++;
  41.  
  42. book[num].name = "Guild Builder"; // Build, Forge
  43. book[num].infoLine = "Magi Saor, topic: The chronicles of the first builder guild";
  44. num++;
  45.  
  46.  
  47.  
  48. while(booksLeft > 0)
  49. {
  50. System.out.println("");
  51. System.out.println("There are 9 iconic books which are accustomed to be found within guild libraries all around the world");
  52. System.out.println("Which of these books lay in the lirary of "+getName()+"?(");
  53. System.out.println("");
  54.  
  55.  
  56. }
  57.  
  58.  
  59. }
RAW Paste Data