Guest User

Untitled

a guest
May 23rd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. Main
  2. {
  3. questname "Allergy Cure"
  4. version 1.0
  5. }
  6. state Begin
  7. {
  8. desc "Talk to Marble"
  9. action AddNpcText(1, "A-a-a-aaaaaa..... choooooo");
  10. action AddNpcText(1, "oh, sorry, I am very allergic ");
  11. action AddNpcText(1, "I see you are very strong, and you look like you got guts.");
  12. action AddNpcText(1, "You know, I would reward you if you could please exterminate those stingers");
  13. action AddNpcInput(1,1,"Don\´t touch me! I don\´t wanna die!");
  14. action AddNpcInput(2,2,"ok!");
  15.  
  16. rule InputNpc(1) goto Coward
  17. rule InputNpc(2) goto KillStingers
  18.  
  19. }
  20. state KillStingers
  21. {
  22. desc "Kill 10 Stingers"
  23. rule KilledNpcs(80,10) goto OneMoreThing
  24. }
  25.  
  26. state OneMoreThing
  27. {
  28. desc "Talk to Marble"
  29. action AddNpcText(1, "Oh Thanks to you, that Stingers won´t cause me any allergy");
  30. action AddNpcText(1, "But I still need to take my medicine");
  31. action AddNpcText(1, "Could you arrange a Health Potion?");
  32.  
  33.  
  34. action AddNpcInput(1,1,"Dude, You are too Lazy!");
  35. action AddNpcInput(1,2,"No Worries, I will get it for you.");
  36. rule InputNpc(1) goto Coward
  37. rule InputNpc(2) goto FetchHealthPotion
  38. }
  39. state FetchHealthPotion
  40. {
  41. desc "Fetch 1 Health Potion for Marble"
  42. rule GotItems(4,1) goto TalkToMarble
  43.  
  44. }
  45. state TalkToMarble
  46. {
  47. desc "Talk To Marble"
  48. action GiveItem(4,1);
  49. action AddNpcText(1, "Thank-You So much!");
  50. action AddNpcText(1, "*Glup, Glup*");
  51.  
  52.  
  53. rule TalkedToNpc(1) goto Reward
  54. }
  55. state Reward
  56. {
  57. action GiveExp(5500);
  58. action End();
  59. }
  60. state Coward
  61. {
  62.  
  63. action AddNpcText(1, "Oh Alright, go live your boring adventure...");
  64. action Reset();
  65. }
Add Comment
Please, Sign In to add comment