diff options
author | daegaladh <daegaladh@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-01 04:29:56 +0000 |
---|---|---|
committer | daegaladh <daegaladh@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-01 04:29:56 +0000 |
commit | 8832adba3ec9df0f7f890154f69f0993b8d1d8e5 (patch) | |
tree | 0e73afe6a780abf29fe035301f1354f24762da7a /npc/airports/rachel.txt | |
parent | fa533907d49c7e288be33efb55fcb094f8e48591 (diff) | |
download | hercules-8832adba3ec9df0f7f890154f69f0993b8d1d8e5.tar.gz hercules-8832adba3ec9df0f7f890154f69f0993b8d1d8e5.tar.bz2 hercules-8832adba3ec9df0f7f890154f69f0993b8d1d8e5.tar.xz hercules-8832adba3ec9df0f7f890154f69f0993b8d1d8e5.zip |
Full npc folder reorganization. (I hope I didn't break anything D:)
-Now common scripts goes to the main npc folder, and pre-re-only/re-only ones goes to their respective folders.
-NPCs with practically the same script but little differences have been left in the main folder and uses the command checkre() for the differences.
-For those NPCs with different coordinates but same script, the script has been left in the main folder but the NPCs splitted as duplicates.
-All pre-renewal files has been reverted back to their pre-renewal behavior.
TODO:
-Correct pre-re quest rewards.
-Check for pre-re/re differences in mapflags.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16545 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/airports/rachel.txt')
-rw-r--r-- | npc/airports/rachel.txt | 36 |
1 files changed, 36 insertions, 0 deletions
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 |