guides_veins.txt 4.6 KB

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