guides_veins.txt 4.6 KB

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