guides_rachel.txt 3.9 KB

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