summaryrefslogtreecommitdiff
path: root/npc/airports/lighthalzen.txt
blob: 6e3b1b5cb205cb16cf1e1072e9d74552407469cf (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
//===== eAthena Script ======================================= 
//= Lighthalzen Airport Staff
//===== By: ================================================== 
//= L0ne_W0lf, Muad_Dib
//===== Current Version: ===================================== 
//= 1.2
//===== Compatible With: ===================================== 
//= eAthena Revision 3000+
//===== Description: ========================================= 
//= Lighthalzen Airport Staff
//===== Additional Comments: ================================= 
//= 1.0 Cloned from einbroch.txt [Justin84]
//= 1.1 Removed Duplicates [Silent]
//= 1.2 Fixed syntax errors for duplicate [KarLaeda]
//============================================================


lhz_airport,126,43,4	script	Airport Staff#1::AirportL	90,{
	mes "[Airport Staff]";
	mes "Welcome to the Airport.";
	mes "How may I help you?";
	next;
	menu "Board the Airship",-,"Cancel",L_Cancel;

	mes "[Airport Staff]";
	mes "The Airship boarding fee";
	mes "is 1,200 zeny, but if you've";
	mes "got a Free Ticket for Airship,"; 
	mes "the fee will be waived. Will";
	mes "you board the Airship?";
	next;
	menu "Yes",-,"No",L_Cancel;

		if(countitem(7311) > 0) goto GotTicket;
		if(zeny < 1200) goto L_NoZeny;
		set Zeny,zeny-1200;
		warp "lhz_airport",148,51;
		close;

	GotTicket:
		delitem 7311,1;
		warp "lhz_airport",148,51;
		close;

	L_NoZeny:
		mes "[Airport Staff]";
		mes "You don't have enough zeny.";
		close;

	L_Cancel:
		mes "[Airport Staff]";
		mes "Thank you and";
		mes "have a nice day.";
		close;
}

lhz_airport,143,43,4	duplicate(AirportL)	Airport Staff#2	90
lhz_airport,156,43,4	duplicate(AirportL)	Airport Staff#3	90

lhz_airport,126,51,4	script	Airport Staff#4::AirportL2	90,{
	mes "[Airport Staff]";
	mes "Welcome~";
	mes "Please head this";
	mes "way to board the Airship.";
	next;
	menu "Exit to Main Terminal",-,"Cancel",L_Cancel;

		mes "[Airport Staff]";
		mes "If you leave the";
		mes "main terminal, you'll";
		mes "have to pay the admission";
		mes "fee again in order to board";
		mes "the Airship. Are you sure";
		mes "that you want to exit?";
		next;
		menu "Yes",-,"No",L_Cancel;

			warp "lhz_airport",142,40;
			close;

	L_Cancel:
		mes "[Airport Staff]";
		mes "Alright, thank you";
		mes "for your patronage";
		mes "and I hope you have";
		mes "a pleasant flight~";
		close;
}

lhz_airport,143,51,4	duplicate(AirportL2)	Airport Staff#5	90
lhz_airport,156,51,4	duplicate(AirportL2)	Airport Staff#6	90