guides_veins.txt 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. //===== eAthena Script =======================================
  2. //= Veins Guide
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [iRO-Based]
  11. //= Veins City guide
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version. [L0ne_W0lf]
  14. //============================================================
  15. veins,210,345,5 script Veins Guide 934,{
  16. mes "[Veins Guide]";
  17. mes "Desert City Veins welcomes adventurers seeking shelter from harsh sandstorms.";
  18. mes "If this is the first time for you to use the guide services, why don't you check the ...";
  19. set .@loop1,1;
  20. while(.@loop1) {
  21. next;
  22. switch(select("Village Guide:Remove Marks from Mini-Map:Notice:Cancel")) {
  23. case 1:
  24. mes "[Veins Guide]";
  25. mes "I can tell you any building location as long as it is in Veins.";
  26. mes "So where do you want to go?";
  27. if (.@compass_check == 0) {
  28. mes "Would you like me";
  29. mes "to mark locations";
  30. mes "on your Mini-Map?";
  31. next;
  32. if (select("Yes:No") == 1) set .@compass_check,1;
  33. }
  34. set .@loop2,1;
  35. while(.@loop2) {
  36. if (.@wait_button_chk == 0) set .@wait_button_chk,1;
  37. else next;
  38. switch(select("Temple:Inn:Weapon Shop:Tool Shop:Airship:Tavern:Geological Research Institute:Cancel")) {
  39. case 1:
  40. mes "[Veins Guide]";
  41. mes "Our temple is located north,";
  42. mes "and always crowded with sincere followes of Goddess Freya.";
  43. if (.@compass_check == 1) viewpoint 1,196,258,1,0xFF0000;
  44. break;
  45. case 2:
  46. mes "[Veins Guide]";
  47. mes "You can rest your fatigue of the journey in the Inn.";
  48. mes "The left building next to me is the Inn of Veins.";
  49. if (.@compass_check == 1) viewpoint 1,128,266,2,0xFF00FF;
  50. break;
  51. case 3:
  52. mes "[Veins Guide]";
  53. mes "Yes, you should protect yourself from danger on your own.";
  54. mes "Purchase high quality weapons at affordable prices.";
  55. mes "The Veins Weapon Shop is located to the West.";
  56. if (.@compass_check == 1) viewpoint 1,150,175,3,0x99FFFF;
  57. break;
  58. case 4:
  59. mes "[Veins Guide]";
  60. mes "Have you packed enough necessities for your adventure?";
  61. mes "If not, I suggest you check what the Veins in the Center can offer you.";
  62. if (.@compass_check == 1) viewpoint 1,230,161,4,0x0000FF;
  63. break;
  64. case 5:
  65. mes "[Veins Guide]";
  66. mes "Please be aware that Veins only operates cargo airships.";
  67. if (.@compass_check == 1) viewpoint 1,273,285,5,0x00FF00;
  68. break;
  69. case 6:
  70. mes "[Veins Guide]";
  71. mes "If you'd like to make friends with";
  72. mes "the townspeople, I suggest you";
  73. mes "go have a drink at the tavern to";
  74. mes "the west.";
  75. if (.@compass_check == 1) viewpoint 1,150,217,6,0x00FF00;
  76. break;
  77. case 7:
  78. mes "[Veins Guide]";
  79. mes "Are you intereste din studying geology?";
  80. mes "Then you'd better go check out the";
  81. mes "Geological Research Institute on";
  82. mes "the 2nd floor of hte weapon shop.";
  83. if (.@compass_check == 1) viewpoint 1,150,175,7,0x00FF00;
  84. break;
  85. case 8:
  86. mes "[Veins Guide]";
  87. mes "If you like to get rid of all the location marks on your Mini-Map,";
  88. mes "just ask me again, and choose 'Remove Marks from Mini-Map' menu.";
  89. set .@loop2,0;
  90. break;
  91. }
  92. }
  93. break;
  94. case 2:
  95. viewpoint 2,196,258,1,0xFF0000;
  96. viewpoint 2,128,266,2,0xFF00FF;
  97. viewpoint 2,150,175,3,0x99FFFF;
  98. viewpoint 2,230,161,4,0x0000FF;
  99. viewpoint 2,273,285,5,0x00FF00;
  100. viewpoint 2,150,217,6,0x00FF00;
  101. viewpoint 2,150,175,7,0x00FF00;
  102. mes "[Veins Guide]";
  103. mes "Okay, they are gone now. If you have more locations to ask, just let me know.";
  104. mes "Enjoy your stay in Veins.";
  105. break;
  106. case 3:
  107. mes "[Veins Guide]";
  108. mes "When you are using the ''Village Guide'' menu,";
  109. mes "make sure that building locations will be marked on your mini-map at the upper right side of your screen.";
  110. 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?";
  111. 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.";
  112. break;
  113. case 4:
  114. mes "[Veins Guide]";
  115. mes "Enjoy your stay in Veins.";
  116. close2;
  117. set .@loop1,0;
  118. break;
  119. }
  120. }
  121. close;
  122. }