guides_ayothaya.txt 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. //===== rAthena Script =======================================
  2. //= Ayothaya Guide
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.2
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Guide for the city of Ayothaya.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version, Renewal guide.
  14. //= 1.1 Added missing case. [Joseph]
  15. //= 1.2 Navigation system update. [Euphy]
  16. //============================================================
  17. ayothaya,203,169,4 script Ayothaya Guide Noi#01ay 839,{
  18. if (strnpcinfo(0) == "Ayothaya Guide Noi#01ay")
  19. set .@n$, "[Noi]";
  20. else
  21. set .@n$, "[Noa]";
  22. mes .@n$;
  23. mes "Hello~";
  24. mes "Welcome to ^8B4513Ayothaya^000000.";
  25. mes "This town is linked to a river through the wild forest.";
  26. mes "It's a really calm country.";
  27. mes "Take your time to look around.";
  28. F_Navi(.@n$);
  29. while (1) {
  30. next;
  31. switch(select("[ Weapon Shop ]:[ Tool Shop ]:[ Tavern ]:[ Shrine ]:[ Fishing Spot ]:[ Aibakthing ]:Remove Marks from Mini-Map:Cancel")) {
  32. case 1:
  33. mes .@n$;
  34. mes "The "+F_Navi("Weapon Shop","ayothaya,163,90","^0000FF");
  35. mes "in Ayothaya has special weapons.";
  36. mes "You can find great weapons there.";
  37. mes "Is there anything else I can do for you?";
  38. viewpoint 1,163,90,0,0x0A82FF;
  39. break;
  40. case 2:
  41. mes .@n$;
  42. mes "Our citizens purchase many products in the "+F_Navi("Tool Shop","ayothaya,131,86","^006400")+".";
  43. mes "Make sure you get all you need there.";
  44. mes "Do you need anything else?";
  45. viewpoint 1,131,86,1,0xAAFF00;
  46. break;
  47. case 3:
  48. mes .@n$;
  49. mes "Part of adventuring is collecting information.";
  50. mes "The "+F_Navi("Tavern","ayothaya,229,72","^008080")+" is crowded with lots of travelers where you can get useful information.";
  51. mes "Is there anything else I can do for you?";
  52. viewpoint 1,229,72,2,0x008080;
  53. break;
  54. case 4:
  55. mes .@n$;
  56. mes "To calm your heart, go to the "+F_Navi("Shrine","ayothaya,208,280","^FF1493")+" and say a prayer.";
  57. mes "Is there anything else I can do for you?";
  58. viewpoint 1,208,280,3,0xFF1493;
  59. break;
  60. case 5:
  61. mes .@n$;
  62. mes "Ayothaya is close to the beach, so most people enjoy fishing.";
  63. mes "They really love to fish.";
  64. mes "Go "+F_Navi("fishing","ayothaya,255,99","^8B4513")+" and try to grab a big fish.";
  65. mes "Is there anything else I can do for you?";
  66. viewpoint 1,255,99,4,0x8B4513;
  67. break;
  68. case 6:
  69. mes .@n$;
  70. mes "If you want to return home";
  71. mes "find "+F_Navi("Aibakthing","ayothaya,151,68","^00BFFF");
  72. mes "and ask him to send you back.";
  73. mes "Is there anything else I can do for you?";
  74. viewpoint 1,151,68,5,0x00BFFF;
  75. break;
  76. case 7:
  77. mes .@n$;
  78. mes "I'll remove all marks from your mini-map.";
  79. mes "Do you need anything else??";
  80. viewpoint 2,1,1,0,0xFFFFFF;
  81. viewpoint 2,1,1,1,0xFFFFFF;
  82. viewpoint 2,1,1,2,0xFFFFFF;
  83. viewpoint 2,1,1,3,0xFFFFFF;
  84. viewpoint 2,1,1,4,0xFFFFFF;
  85. viewpoint 2,1,1,5,0xFFFFFF;
  86. break;
  87. case 8:
  88. mes .@n$;
  89. mes "Enjoy your trip~!";
  90. close;
  91. }
  92. }
  93. }
  94. ayothaya,146,86,4 duplicate(Ayothaya Guide Noi#01ay) Ayothaya Guide Noa#02ay 839