summaryrefslogtreecommitdiff
path: root/npc/airports/einbroch.txt
blob: 62ba62b8e58ebb7f2e1d959c83434a4d57b16827 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2016  Hercules Dev Team
//= Copyright (C)  Muad_Dib
//= Copyright (C)  L0ne_W0lf
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Einbroch Airport Staff
//=========================================================================

airport,143,43,5	script	Airport Staff#airport1a::airport1	4_F_01,{
	mes("[Airport Staff]");
	mes("Welcome to the\r"
		"Einbroch Airport,\r"
		"where we offer nonstop\r"
		"flights to the cities of\r"
		"Juno, Lighthalzen and Hugel.");
	next;
	if (select("Board the Airship", "Cancel") == 1) {
		mes("[Airport Staff]");
		mes("The Airship boarding fee\r"
			"is 1,200 zeny, but if you've\r"
			"got a Free Ticket for Airship,\r"
			"the fee will be waived. Will\r"
			"you board the Airship?");
		next;
		if (select("Yes", "No") == 1) {
			if (countitem(Free_Flying_Ship_Ticket) > 0) {
				delitem Free_Flying_Ship_Ticket,1;
				warp "airport",148,51;
				end;
			}
			if (Zeny >= 1200) {
				Zeny -= 1200;
				warp "airport",148,51;
				end;
			}
			mes("[Airport Staff]");
			mes("I'm sorry, but you don't\r"
				"have a Free Ticket for\r"
				"Airship and you don't have\r"
				"enough zeny for boarding\r"
				"the Airship. Remember, the\r"
				"boarding fee is 1,200 zeny.");
			close;
		}
	}
	mes("[Airport Staff]");
	mes("Thank you and\r"
		"have a nice day.");
	close;
}

airport,158,43,5	duplicate(airport1)	Airport Staff#airport1b	4_F_01
airport,126,43,5	duplicate(airport1)	Airport Staff#airport1c	4_F_01

airport,143,49,3	script	Arrival Staff#airport2a::airport2	4_F_01,{
	mes("[Arrival Staff]");
	mes("Welcome to Einbroch Airport.");
	mes("If you are arriving from your\r"
		"flight, let me guide you to the\r"
		"main terminal. Otherwise, please board the Airship to depart to\r"
		"Juno, Lighthalzen and Hugel.");
	next;
	if (select("Exit to main terminal.", "Cancel.") == 1) {
		mes("[Arrival Staff]");
		mes("Once you're in the main terminal, you will need to pay the fee again\r"
			"to board an Airship. You should\r"
			"only exit if the city of Einbroch\r"
			"is your intended destination.");
		mes("Proceed to the main terminal?");
		next;
		if (select("Yes", "No") == 1) {
			warp "airport",142,40;
			end;
		}
	}
	mes("[Arrival Staff]");
	mes("Alright, thank you\r"
		"for your patronage\r"
		"and I hope you have\r"
		"a pleasant flight~");
	close;
}

airport,126,51,3	duplicate(airport2)	Arrival Staff#airport2b	4_F_01
airport,158,50,3	duplicate(airport2)	Arrival Staff#airport2c	4_F_01

einbroch,94,267,3	script	Airship Staff#ein01	4_F_02,{
	mes("[Airship Staff]");
	mes("Welcome to the\r"
		"Einbroch Airport.");
	mes("Please use this door to\r"
		"board the Airship which stops\r"
		"over Juno, Lighthalzen and\r"
		"Hugel in the Schwaltzvalt Republic.");
	next;
	mes("[Airship Staff]");
	mes("Otherwise, if Einbroch is\r"
		"your intended destination,\r"
		"please head down the stairs\r"
		"and ask the Arrival Staff to lead\r"
		"you to the main terminal. Thank\r"
		"you, and enjoy your travels.");
	close;
}