//===== Hercules Script ======================================
//= Einbroch Airport Staff
//===== By: ==================================================
//= L0ne_W0lf, Muad_Dib
//===== Description: =========================================
//= Einbroch Airport Staff
//===== Additional Comments: =================================
//= Official NPCs.
//============================================================
airport,143,43,5 script Airport Staff#airport1a::airport1 4_F_01,{
mes "[Airport Staff]";
mes "Welcome to the";
mes "Einbroch Airport,";
mes "where we offer nonstop";
mes "flights to the cities of";
mes "Juno, Lighthalzen and Hugel.";
next;
if (select("Board the Airship:Cancel") == 1) {
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;
if (select("Yes:No") == 1) {
if (countitem(7311) > 0) {
delitem 7311,1; //Free_Flying_Ship_Ticket
warp "airport",148,51;
end;
}
if (Zeny >= 1200) {
set Zeny, Zeny - 1200;
warp "airport",148,51;
end;
}
mes "[Airport Staff]";
mes "I'm sorry, but you don't";
mes "have a Free Ticket for";
mes "Airship and you don't have";
mes "enough zeny for boarding";
mes "the Airship. Remember, the";
mes "boarding fee is 1,200 zeny.";
close;
}
}
mes "[Airport Staff]";
mes "Thank you and";
mes "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";
mes "flight, let me guide you to the";
mes "main terminal. Otherwise, please board the Airship to depart to";
mes "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";
mes "to board an Airship. You should";
mes "only exit if the city of Einbroch";
mes "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";
mes "for your patronage";
mes "and I hope you have";
mes "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";
mes "Einbroch Airport.";
mes "Please use this door to";
mes "board the Airship which stops";
mes "over Juno, Lighthalzen and";
mes "Hugel in the Schwaltzvalt Republic.";
next;
mes "[Airship Staff]";
mes "Otherwise, if Einbroch is";
mes "your intended destination,";
mes "please head down the stairs";
mes "and ask the Arrival Staff to lead";
mes "you to the main terminal. Thank";
mes "you, and enjoy your travels.";
close;
}