From 24ded364517aac045360253ad3c2fb93ffc0d109 Mon Sep 17 00:00:00 2001 From: gepard1984 Date: Tue, 28 Feb 2012 20:11:46 +0000 Subject: Updated Airship NPCs to official. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15636 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/airports/rachel.txt | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 npc/airports/rachel.txt (limited to 'npc/airports/rachel.txt') diff --git a/npc/airports/rachel.txt b/npc/airports/rachel.txt new file mode 100644 index 000000000..78280fdbf --- /dev/null +++ b/npc/airports/rachel.txt @@ -0,0 +1,36 @@ +//===== rAthena Script ======================================= +//= Rachel Airport NPCs +//===== By: ================================================== +//= rAthena Dev Team +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Rachel Airport NPCs +//===== Additional Comments: ================================= +//= Official NPCs. +//============================================================ + +ra_fild12,295,208,0 script toairplane#rachel 45,1,1,{ + end; +OnTouch: + mes "To use the airship, you are required to pay 1,200 zeny or a Free Airship Ticket."; + mes "Would you like to use the service?"; + next; + if (select("Yes:No") == 1) { + if (countitem(7311) > 0) { + delitem 7311,1; //Free_Flying_Ship_Ticket + warp "airplane_01",245,60; + end; + } + if (Zeny >= 1200) { + set Zeny, Zeny - 1200; + warp "airplane_01",245,60; + end; + } + mes "I am sorry, but you do not have enough money."; + mes "Please remember, you are required to pay 1,200 zeny to use the service."; + close; + } + mes "Thank you, please come again."; + close; +} \ No newline at end of file -- cgit v1.2.3-70-g09d2