xrune

Urhney (Stage 1)

Mar 16th, 2013
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 KB | None | 0 0
  1. NpcTalk("Go away, I'm meditating");
  2. int choice = showMenu(new String[] {"Father Aereck sent me to talk to you", "Well that's friendly", "I've come to repossess your house"});
  3. if(choice == 0) {
  4. fathersent();
  5. } else if(choice == 1) {
  6. friendly();
  7. } else if(choice == 1) {
  8. repossess();
  9. }
  10. }
  11. private void fathersent() {
  12. NpcTalk("I suppose I'd better talk to you then");
  13. NpcTalk("What problems has he got himself into this time?");
  14. int choice = showMenu(new String[] {"He's got a ghost haunting his graveyard", "You mean he gets himself into lots of problems?"});
  15. if(choice == 0) {
  16. ghost();
  17. } else if(choice == 1) {
  18. problems();
  19. }
  20. }
  21. private void ghost() {
  22. NpcTalk("Oh the silly fool");
  23. NpcTalk("I leave town for just five months");
  24. NpcTalk("and already he can't manage");
  25. NpcTalk("Sigh");
  26. NpcTalk("Well I can't go back and exorcise it");
  27. NpcTalk("I vowed not to leave this place");
  28. NpcTalk("Until I had a full two years of prayer and meditation");
  29. NpcTalk("Tell you what I can do though");
  30. NpcTalk("Take this amulet");
  31. SendMessage("Father Urhney hands you an amulet");
  32. AddItem("amulet of ghostspeak");
  33. NpcTalk("It is an amulet of Ghostspeak");
  34. NpcTalk("So called because when you wear it you can speak to ghosts");
  35. NpcTalk("A lot of ghosts are doomed to be ghosts");
  36. NpcTalk("Because they have left some task uncompleted");
  37. NpcTalk("Maybe if you know what this task is");
  38. NpcTalk("You can get rid of the ghost");
  39. NpcTalk("I'm not making any guarantees mind you");
  40. NpcTalk("But it is the best I can do right now");
  41. PlayerTalk("Thank you, I'll give it a try");
  42. }
  43. }
  44. private void problems() {
  45. NpcTalk("Yeah. For example when we were trainee priests");
  46. NpcTalk("He kept on getting stuck up bell ropes");
  47. NpcTalk("Anyway I don't have time for chitchat");
  48. NpcTalk("What's his problem this time?");
  49. PlayerTalk("He's got a ghost haunting his graveyard");
  50. NpcTalk("Oh the silly fool");
  51. NpcTalk("I leave town for just five months");
  52. NpcTalk("and already he can't manage");
  53. NpcTalk("Sigh");
  54. NpcTalk("Well I can't go back and exorcise it");
  55. NpcTalk("I vowed not to leave this place");
  56. NpcTalk("Until I had a full two years of prayer and meditation");
  57. NpcTalk("Tell you what I can do though");
  58. NpcTalk("Take this amulet");
  59. SendMessage("Father Urhney hands you an amulet");
  60. AddItem("amulet of ghostspeak");
  61. NpcTalk("It is an amulet of Ghostspeak");
  62. NpcTalk("So called because when you wear it you can speak to ghosts");
  63. NpcTalk("A lot of ghosts are doomed to be ghosts");
  64. NpcTalk("Because they have left some task uncompleted");
  65. NpcTalk("Maybe if you know what this task is");
  66. NpcTalk("You can get rid of the ghost");
  67. NpcTalk("I'm not making any guarantees mind you");
  68. NpcTalk("But it is the best I can do right now");
  69. PlayerTalk("Thank you, I'll give it a try");
  70. }
  71. }
  72. private void friendly() {
  73. NpcTalk("I said go away!");
  74. PlayerTalk("Ok, ok");
  75. }
  76. }
  77. private void repossess() {
  78. NpcTalk("Under what grounds?");
  79. int choice = showMenu(new String[] {"Repeated failure on mortgage payments", "I don't know, I just wanted this house"});
  80. if(choice == 0) {
  81. failure();
  82. } else if(choice == 1) {
  83. wantedhouse();
  84. }
  85. }
  86. private void failure() {
  87. NpcTalk("I don't have a mortgage");
  88. NpcTalk("I built this house myself");
  89. PlayerTalk("Sorry I must have got the wrong address");
  90. PlayerTalk("All the houses look the same around here");
  91. }
  92. }
  93. private void wantedhouse() {
  94. NpcTalk("Oh go away and stop wasting my time");
  95. }
  96. }
Advertisement
Add Comment
Please, Sign In to add comment