guides_rachel.txt 4.1 KB

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