xrune

Gujuo (Stage 2)

Mar 20th, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. NpcTalk("Greetings Bwana.");
  2. NpcTalk("Ah I see you have the golden bowl !");
  3. NpcTalk("Would you like me to show you how to bless it?");
  4. int choice = showMenu(new String[] {"Yes, I'd like you to bless my gold bowl.", "No thanks, I need help with something elese."});
  5. if(choice == 0) {
  6. blessmybowl();
  7. } else if(choice == 1) {
  8. helpother();
  9. }
  10. }
  11. CASE 2:Fail private void blessmybowl() {
  12. TODO
  13. }
  14. }
  15. CASE 1: success private void blessmybowl() {
  16. SendMessage("Gujuo places the bowl on the floor in front of you,");
  17. SendMessage("and leads you into a deep meditation...");
  18. NpcTalk("Ohhhhhmmmmmm");
  19. PlayerTalk("Oooooommmmmmmmmm");
  20. NpcTalk("Ohhhhhmmmmmm");
  21. PlayerTalk("Oooooohhhhmmmmmmmmmm");
  22. NpcTalk("Ohhhhhmmmmmm");
  23. SendMessage("A totally peaceful aura surrounds you and you");
  24. SendMessage("bring down the blessings of your god on the bowl.");
  25. RemoveItem(1188, 1);
  26. RemoveItem(1189, 1);
  27. AddItem(1266, 1);
  28. NpcTalk("How goes your quest to release Ungadulu Bwana?
  29. int choice = showMenu(new String[] {"Ungadulu looks strange.", "I need to douse some flames with pure water.", "Ungadulu called me 'Vacu', what does that mean?", "Ok thanks for your help"});
  30. if(choice == 0) {
  31. strangeungad();
  32. } else if(choice == 1) {
  33. douseflames();
  34. } else if(choice == 2) {
  35. vacu();
  36. } else if(choice == 3) {
  37. thanksgujuo();
  38. }
  39. }
  40. private void helpother() {
  41. int choice = showMenu(new String[] {"Ungadulu looks strange.", "I need to douse some flames with pure water.", "Ungadulu called me 'Vacu', what does that mean?", "Ok thanks for your help"});
  42. if(choice == 0) {
  43. strangeungad();
  44. } else if(choice == 1) {
  45. douseflames();
  46. } else if(choice == 2) {
  47. vacu();
  48. } else if(choice == 3) {
  49. thanksgujuo();
  50. }
  51. }
Advertisement
Add Comment
Please, Sign In to add comment