Advertisement
Guest User

Untitled

a guest
Aug 8th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. Main
  2. {
  3. questname "Undying Request"
  4. version 1.0
  5. }
  6.  
  7. State Beginning
  8. {
  9. desc "Bones"
  10.  
  11. action AddNpcChat(2, "Hello Mortal");
  12. action AddNpcText(2, "Greetings Mortal !");
  13. action AddNpcText(2, "I am in need of your help.");
  14. action AddNpcText(2, "Kill those Fallen Squires for me");
  15. action AddNpcText(2, "if you live, you will be rewarded");
  16.  
  17. rule KilledNpcs(261, 15) goto Reward
  18. }
  19. State Reward
  20. {
  21. desc "Collection of the Reward"
  22.  
  23. action AddNpcChat(2, "fufufu, I know you could do it !");
  24. action AddNpcText(2, "Congratulations Squire !");
  25. action AddNpcText(2, "If you died in that quest");
  26. action AddNpcText(2, "you could be one of them.");
  27. action AddNpcText(2, "fallen because of their weakness!");
  28. action AddNpcText(2, "Here is the reward as promised.");
  29.  
  30. action AddNpcInput(2, 1, "Here you go !");
  31. rule TalkedToNpc(2) goto Rewards
  32. }
  33.  
  34.  
  35. State Rewards
  36. {
  37. desc "Collection of the Reward"
  38. action PlaySound (68);
  39. action ShowHint ("You gained 500 EXP and Items !");
  40. action GiveExp (500);
  41. action GiveItem(484,1);
  42. action GiveItem(1,5);
  43. action GiveItem(144,1);
  44. action GiveItem(151,1);
  45.  
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement