OSDN Git Service

First version
[st-ro/stro.git] / npc / airports / yuno.txt
1 //===== rAthena Script ======================================= 
2 //= Yuno Airport Staff
3 //===== By: ================================================== 
4 //= L0ne_W0lf, Muad_Dib
5 //===== Current Version: =====================================
6 //= 1.0
7 //===== Compatible With: ===================================== 
8 //= rAthena Project
9 //===== Description: ========================================= 
10 //= Yuno Airport Staff
11 //===== Additional Comments: ================================= 
12 //= 1.0 First version.
13 //============================================================ 
14
15 y_airport,143,43,5      script  Airport Staff#y_air1a::y_airport1       90,{
16         mes "[Airport Staff]";
17         mes "Welcome to Juno Airport where we offer domestic flights to Einbroch, Lighthalzen and Hugel,";
18         mes "and international flights to Izlude and Rachel.";
19         mes "How may I be of service?";
20         next;
21         if (select("Board the Airship.:Cancel.") == 1) {
22                 mes "[Airport Staff]";
23                 mes "The boarding fee for all";
24                 mes "flights is 1,200 zeny. If you";
25                 mes "use a Free Ticket for Airship,";
26                 mes "the boarding fee will be waived.So would you like to depart?";
27                 next;
28                 if (select("Yes:No") == 1) {
29                         if (countitem(7311) > 0) {
30                                 delitem 7311,1; //Free_Flying_Ship_Ticket
31                                 warp "y_airport",148,51;
32                                 end;
33                         }
34                         if (Zeny >= 1200) {
35                                 set Zeny, Zeny - 1200;
36                                 warp "y_airport",148,51;
37                                 end;
38                         }
39                         mes "[Airport Staff]";
40                         mes "I'm sorry, but you don't";
41                         mes "have 1,200 zeny to pay";
42                         mes "for the boarding fee.";
43                         close;
44                 }
45         }
46         mes "[Airport Staff]";
47         mes "Thank you and";
48         mes "have a nice day.";
49         close;
50 }
51
52 y_airport,158,43,5      duplicate(y_airport1)   Airport Staff#y_air1b   90
53 y_airport,126,43,5      duplicate(y_airport1)   Airport Staff#y_air1c   90
54
55 y_airport,143,49,3      script  Arrival Staff#y_air2a::y_airport2       90,{
56         mes "[Airport Staff]";
57         mes "Welcome to Juno Airport. If you've just arrived from your";
58         mes "flight, let me guide you to the main terminal. Otherwise, please";
59         mes "board the departing Airship to reach your intended destination.";
60         next;
61         if (select("Exit to main terminal:Cancel") == 1) {
62                 mes "[Airport Staff]";
63                 mes "Once you're in the main terminal, you must pay the fee once again";
64                 mes "to board a departing Airship. You should only exit if your intended";
65                 mes "destination is Juno. Proceed to";
66                 mes "exit to the main terminal?";
67                 next;
68                 if (select("Yes:No") == 1) {
69                         warp "y_airport",142,40;
70                         end;
71                 }
72         }
73         mes "[Airport Staff]";
74         mes "Alright, thank you";
75         mes "for your patronage";
76         mes "and I hope you have";
77         mes "a pleasant flight~";
78         close;
79 }
80
81 y_airport,126,51,3      duplicate(y_airport2)   Arrival Staff#y_air2b   90
82 y_airport,158,50,3      duplicate(y_airport2)   Arrival Staff#y_air2c   90
83
84 y_airport,145,63,5      script  Domestic Boarding       91,{
85         mes "[Boarding Staff]";
86         mes "Would you like to board the";
87         mes "Airship that flies to Einbroch,";
88         mes "Lighthalzen and Hugel? If so,";
89         mes "please let me guide you to that";
90         mes "Airship's boarding area.";
91         next;
92         if (select("Yes:No") == 1) {
93                 warp "yuno",59,244;
94                 end;
95         }
96         mes "[Boarding Staff]";
97         mes "Very well, then.";
98         mes "Thank you for your";
99         mes "patronage, and I hope";
100         mes "you enjoy your travels~";
101         close;
102 }
103
104 y_airport,140,63,5      script  International Boarding  91,{
105         mes "[Boarding Staff]";
106         mes "Would you like to board";
107         mes "the Airship which flies to";
108         mes "Juno, Izlude and Rachel?";
109         mes "If so, let me guide";
110         mes "you to the boarding area.";
111         next;
112         if (select("Yes:No") == 1) {
113                 warp "yuno",47,244;
114                 end;
115         }
116         mes "[Boarding Staff]";
117         mes "Alright, then.";
118         mes "Thank you for flying";
119         mes "with us, and I hope you";
120         mes "enjoy your travels on our";
121         mes "state of the art Airships.";
122         close;
123 }
124
125 yuno,14,262,5   script  Airship Staff#yuno01    91,{
126         mes "[Airship Staff]";
127         mes "Welcome to Juno Airport.";
128         mes "Please use this door to";
129         mes "board the Airship that will";
130         mes "be flying all the way to Izlude";
131         mes "in the Rune-Midgarts Kingdom,";
132         mes "and to Rachel in the Arunafeltz";
133         mes "Republic.";
134         next;
135         mes "[Airship Staff]";
136         mes "Otherwise, if Juno is";
137         mes "your intended destination,";
138         mes "please head down the stairs";
139         mes "and ask the Arrival Staff to lead";
140         mes "you to the main terminal. Thank";
141         mes "you, and enjoy your travels.";
142         close;
143 }
144
145 yuno,88,263,3   script  Airship Staff#yuno02    91,{
146         mes "[Airship Staff]";
147         mes "Welcome to Juno Airport.";
148         mes "Please use this door to";
149         mes "board the Airship which stops";
150         mes "over Einbroch, Lighthalzen and";
151         mes "Hugel in the Schwaltzvalt Republic.";
152         next;
153         mes "[Airship Staff]";
154         mes "Otherwise, if Juno is";
155         mes "your intended destination,";
156         mes "please head down the stairs";
157         mes "and ask the Arrival Staff to lead";
158         mes "you to the main terminal. Thank";
159         mes "you, and enjoy your travels.";
160         close;
161 }