From 31825ccc2dde034a218d9ad466dd721c40b5651d Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 8 Jul 2012 19:30:07 +0000 Subject: Okie ladies and gentleman if this commit breaks anything it's jman's and maki's fault, yes, blame them. Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/re/airports/lighthalzen.txt | 83 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 npc/re/airports/lighthalzen.txt (limited to 'npc/re/airports/lighthalzen.txt') diff --git a/npc/re/airports/lighthalzen.txt b/npc/re/airports/lighthalzen.txt new file mode 100644 index 000000000..5509b80c1 --- /dev/null +++ b/npc/re/airports/lighthalzen.txt @@ -0,0 +1,83 @@ +//===== rAthena Script ======================================= +//= Lighthalzen Airport Staff +//===== By: ================================================== +//= L0ne_W0lf, Muad_Dib +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Lighthalzen Airport Staff +//===== Additional Comments: ================================= +//= Official NPCs. +//============================================================ + +lhz_airport,143,43,5 script Airport Staff#lhz_air1a::lhz_airport1 90,{ + mes "[Airport Staff]"; + mes "Welcome to the"; + mes "Lighthalzen Airport,"; + mes "where we offer nonstop"; + mes "flights to Einbroch, Juno and Hugel."; + next; + if (select("Board the Airship.:Cancel.") == 1) { + mes "[Airport Staff]"; + mes "The boarding fee is"; + mes "1,200 zeny, but you can"; + mes "waive the fee if you redeem"; + mes "a Free Ticket for Airship."; + next; + if (select("Yes:No") == 1) { + if (countitem(7311) > 0) { + delitem 7311,1; //Free_Flying_Ship_Ticket + warp "lhz_airport",148,51; + end; + } + if (Zeny >= 1200) { + set Zeny, Zeny - 1200; + warp "lhz_airport",148,51; + end; + } + mes "[Airship Staff]"; + mes "I'm sorry, but you don't"; + mes "have 1,200 zeny to pay"; + mes "for the boarding fee."; + close; + } + } + mes "[Airport Staff]"; + mes "Thank you and"; + mes "please come again."; + mes "Have a good day~"; + close; +} + +lhz_airport,158,43,5 duplicate(lhz_airport1) Airship Staff#lhz_air1b 90 +lhz_airport,126,43,5 duplicate(lhz_airport1) Airship Staff#lhz_air1c 90 + +lhz_airport,143,49,3 script Arrival Staff#lhz_air2a::lhz_airport2 90,{ + mes "[Arrival Staff]"; + mes "Welcome to Lighthalzen Airport."; + mes "Please let me guide you to the"; + mes "main terminal if you are arriving from your flight. Otherwise, please"; + mes "board the departing Airship to reach your intended destination."; + 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 Lighthalzen is your intended destination. Shall we"; + mes "proceed to the main terminal?"; + next; + if (select("Yes:No") == 1) { + warp "lhz_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; +} + +lhz_airport,126,51,3 duplicate(lhz_airport2) Arrival Staff#lhz_air2b 90 +lhz_airport,158,50,3 duplicate(lhz_airport2) Arrival Staff#lhz_air2c 90 -- cgit v1.2.3-60-g2f50