xrune

Professor Oddenstein (Stage 1)

Mar 16th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. NpcTalk("Be careful in here");
  2. NpcTalk("Lots of dangerous equipment in here");
  3. int choice = showMenu(new String[] {"I'm looking for a guy called Ernest", "What do this machine do?", "Is this your house?"});
  4. if(choice == 0) {
  5. looking();
  6. } else if(choice == 1) {
  7. machine();
  8. } else if(choice == 2) {
  9. house();
  10.  
  11. }
  12. }
  13. private void looking() {
  14. NpcTalk("Ah Ernest, top notch bloke");
  15. NpcTalk("He's helping me with my experiments");
  16. PlayerTalk("So you know where he is then?");
  17. NpcTalk("He's that chicken over there");
  18. PlayerTalk("Ernest is a chicken?");
  19. PlayerTalk("Are you sure?");
  20. NpcTalk("Oh he isn't normally a chicken");
  21. NpcTalk("Or at least he wasn't");
  22. NpcTalk("Until he helped me test my pouletmorph machine");
  23. NpcTalk("It was originally going to be called a transmutation machine");
  24. NpcTalk("But after testing Pouletmorph seems more appropriate");
  25. int choice = showMenu(new String[] {"I'm glad Veronica didn't actually get engaged to a chicken", "Change him back this instant"});
  26. if(choice == 0) {
  27. engaged();
  28. } else if(choice == 1) {
  29. changeback();
  30. }
  31. }
  32. private void engaged() {
  33. NpcTalk("Who's Veronica?");
  34. PlayerTalk("Ernest's fiancee");
  35. PlayerTalk("She probably doesn't want to marry a chicken");
  36. NpcTalk("Ooh I dunno");
  37. NpcTalk("She could have free eggs for breakfast");
  38. PlayerTalk("I think you'd better change him back");
  39. NpcTalk("Um it's not so easy");
  40. NpcTalk("My machine is broken");
  41. NpcTalk("And the house gremlins");
  42. NpcTalk("Have run off with some vital bits");
  43. PlayerTalk("Well I can look out for them");
  44. NpcTalk("That would be a help");
  45. NpcTalk("They'll be somewhere in the manor house or its grounds");
  46. NpcTalk("The gremlins never go further than the entrance gate");
  47. NpcTalk("I'm missing the pressure gauge and a rubber tube");
  48. NpcTalk("They've also taken my oil can");
  49. NpcTalk("Which I'm going to need to get this thing started again");
  50. }
  51. }
  52. private void changeback() {
  53. NpcTalk("Um it's not so easy");
  54. NpcTalk("My machine is broken");
  55. NpcTalk("And the house gremlins");
  56. NpcTalk("Have run off with some vital bits");
  57. PlayerTalk("Well I can look out for them");
  58. NpcTalk("That would be a help");
  59. NpcTalk("They'll be somewhere in the manor house or its grounds");
  60. NpcTalk("The gremlins never go further than the entrance gate");
  61. NpcTalk("I'm missing the pressure gauge and a rubber tube");
  62. NpcTalk("They've also taken my oil can");
  63. NpcTalk("Which I'm going to need to get this thing started again");
  64. }
  65. }
  66. private void machine() {
  67. NpcTalk("Nothing at the moment");
  68. NpcTalk("As it's broken");
  69. NpcTalk("It's meant to be a transmutation machine");
  70. NpcTalk("It has also spent time as a time travel machine");
  71. NpcTalk("And a dramatic lightning generator");
  72. NpcTalk("And a thing for generating monsters");
  73. }
  74. }
  75. private void house() {
  76. NpcTalk("No, I'm just one of the tenants");
  77. NpcTalk("It belongs to the count");
  78. NpcTalk("Who lives in the basement");
  79. }
  80. }
Advertisement
Add Comment
Please, Sign In to add comment