guides_rachel.txt 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. //===== eAthena Script =======================================
  2. //= Rachel Guide
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.2a
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Rachel City guide
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version. [L0ne_W0lf]
  14. //= 1.1 Change the while loops a bit. [L0ne_W0lf]
  15. //= 1.2 Deleted an Unnecessary "next;" [Samuray22]
  16. // -Thanks to $ephiroth.
  17. //= 1.2a Fixed some errors with the loop[Samuray22]
  18. // -Thanks to $ephiroth.
  19. //============================================================
  20. rachel,138,146,5 script Rachel Guide 934,{
  21. mes "[Rachel Guide]";
  22. mes "Welcome to the capital of";
  23. mes "Arunafeltz, Rachel where a warm";
  24. mes "breath of goddess Freya reaches.";
  25. mes "If this is the first time for you";
  26. mes "to use the guide services, why";
  27. mes "don't you check the \"Notice\" menu first?";
  28. set .@loop1,1;
  29. while(.@loop1) {
  30. next;
  31. switch(select("Village Guide:Remove Marks from Mini-Map:Notice:Cancel")) {
  32. case 1:
  33. mes "[Rachel Guide]";
  34. mes "I can tell you any building location as long as it is in Rachel.";
  35. mes "So where do you want to go?";
  36. if (.@compass_check == 0) {
  37. mes "Would you like me";
  38. mes "to mark locations";
  39. mes "on your Mini-Map?";
  40. next;
  41. if (select("Yes:No") == 1) set .@compass_check,1;
  42. }
  43. set .@loop2,1;
  44. while(.@loop2) {
  45. if (.@wait_button_chk == 0) set .@wait_button_chk,1;
  46. else next;
  47. switch(select("Cheshrumnir:Inn:Weapon Shop:Tool Shop:Airport:Cancel")) {
  48. case 1:
  49. mes "[Rachel Guide]";
  50. mes "Cheshrumnir is a holy ground where pope, the incarnation of goddess Freya stays.";
  51. mes "Take the road to the norh to find the building.";
  52. if (.@compass_check == 1) viewpoint 1,150,249,1,0xFF0000;
  53. break;
  54. case 2:
  55. mes "[Rachel Guide]";
  56. mes "You can rest your fatigue off the journey in the Inn.";
  57. mes "The left building next to me is the Inn of Rachel.";
  58. if (.@compass_check == 1) viewpoint 1,115,149,2,0xFF00FF;
  59. break;
  60. case 3:
  61. mes "[Rachel Guide]";
  62. mes "Do you want to check out the weapons that are sold in Rachel?";
  63. mes "The weapon shop is located nearby the western gate.";
  64. if (.@compass_check == 1) viewpoint 1,42,87,3,0x99FFFF;
  65. break;
  66. case 4:
  67. mes "[Rachel Guide]";
  68. mes "Rachel tool shop sells the best quality potions.";
  69. mes "It's located nearby the western gate.";
  70. if (.@compass_check == 1) viewpoint 1,83,78,4,0x0000FF;
  71. break;
  72. case 5:
  73. mes "[Rachel Guide]";
  74. mes "The Airport is located outside the eastern gate.";
  75. if (.@compass_check == 1) viewpoint 1,273,125,5,0x00FF00;
  76. break;
  77. case 6:
  78. mes "[Rachel Guide]";
  79. mes "If you like to get rid of all the location marks on your Mini-Map,";
  80. mes "just ask me again, and choose \"Remove Marks from Mini-Map\" menu.";
  81. set .@loop2,0;
  82. break;
  83. }
  84. }
  85. break;
  86. case 2:
  87. viewpoint 2,150,249,1,0xFF0000;
  88. viewpoint 2,115,149,2,0xFF00FF;
  89. viewpoint 2,42,87,3,0x99FFFF;
  90. viewpoint 2,83,78,4,0x0000FF;
  91. viewpoint 2,273,125,5,0x00FF00;
  92. mes "[Rachel Guide]";
  93. mes "Okay, they are gone now. If you have more locations to ask, just let me know.";
  94. break;
  95. case 3:
  96. mes "[Rachel Guide]";
  97. mes "When you are using the ''Village Guide'' menu,";
  98. mes "make sure that building locations will be marked on your mini-map at the upper right side of your screen.";
  99. mes "If you cannot see your mini-map, use the short cut key ''ctrl+tab'' or press the ''Map'' button on your basic information windows, okay?";
  100. mes "And you can also zoom out your mini-map by using the ''-'' button in case you cannot view the entire map of the village.";
  101. break;
  102. case 4:
  103. mes "[Rachel Guide]";
  104. mes "Hope you have a wonderfull journey";
  105. mes "in Arunafeltz.";
  106. close2;
  107. set .@loop1,0;
  108. break;
  109. }
  110. }
  111. close;
  112. end;
  113. }