summaryrefslogtreecommitdiff
path: root/npc/airports/hugel.txt
diff options
context:
space:
mode:
authorgepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-28 20:11:46 +0000
committergepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-28 20:11:46 +0000
commit24ded364517aac045360253ad3c2fb93ffc0d109 (patch)
tree753f199cf80bb23f31343db3ec117bb4dacbfeaf /npc/airports/hugel.txt
parentaa5e5be5cb646e1e8071557e11eb31b26cfb7073 (diff)
downloadhercules-24ded364517aac045360253ad3c2fb93ffc0d109.tar.gz
hercules-24ded364517aac045360253ad3c2fb93ffc0d109.tar.bz2
hercules-24ded364517aac045360253ad3c2fb93ffc0d109.tar.xz
hercules-24ded364517aac045360253ad3c2fb93ffc0d109.zip
Updated Airship NPCs to official.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15636 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/airports/hugel.txt')
-rw-r--r--npc/airports/hugel.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/npc/airports/hugel.txt b/npc/airports/hugel.txt
new file mode 100644
index 000000000..ea591eccc
--- /dev/null
+++ b/npc/airports/hugel.txt
@@ -0,0 +1,36 @@
+//===== rAthena Script =======================================
+//= Hugel Airport NPCs
+//===== By: ==================================================
+//= rAthena Dev Team
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= Hugel Airport NPCs
+//===== Additional Comments: =================================
+//= Official NPCs.
+//============================================================
+
+hugel,178,142,0 script toairplane#hugel 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",244,58;
+ end;
+ }
+ if (Zeny >= 1200) {
+ set Zeny, Zeny - 1200;
+ warp "airplane",244,58;
+ 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;
+}