Guest User

Quest Fix

a guest
Dec 10th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. Main
  2.  
  3. {
  4. questname "Delos Traveler"
  5. version 1.0
  6. }
  7. state Begin
  8. {
  9. action AddNpcText(6, "I can warp you to various places");
  10. action AddNpcText(6, "Where would you like to travel to [name]?");
  11. action AddNpcInput(6, 1, "Tutorial");
  12. action AddNpcInput(6, 2, "Sheep");
  13. action AddNpcInput(6, 3, "Haunted House");
  14. action AddNpcInput(6, 4, "Tundra");
  15. rule InputNpc( 1 ) goto Tutorial
  16. rule InputNpc( 2 ) goto Sheep
  17. rule InputNpc( 3 ) goto HauntedHouse
  18. rule InputNpc( 4 ) goto TundraCheck
  19. }
  20. state Tutorial
  21. {
  22. action SetCoord(4,5,15);
  23. action Reset();
  24. }
  25. state Sheep
  26. {
  27. action SetCoord(6,0,16);
  28. action Reset();
  29. }
  30. state HauntedHouse
  31. {
  32. action SetCoord(9,13,28);
  33. action Reset();
  34. }
  35. state Tundra
  36. {
  37. action SetCoord(10,21,9);
  38. action Reset();
  39. }
  40. state TundraCheck
  41. {
  42. if IsLevel(45) goto Tundra
  43. else goto TundraFail
  44. }
  45. state TundraFail
  46. {
  47. action ShowHint("You need to be level 45 to go to this location.");
  48. action Reset();
  49. }
Add Comment
Please, Sign In to add comment