OSDN Git Service

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