summaryrefslogtreecommitdiff
path: root/npc/pre-re/airports/hugel.txt
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-08 19:30:07 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-08 19:30:07 +0000
commit31825ccc2dde034a218d9ad466dd721c40b5651d (patch)
tree961b976e45988f7f7158d33b3f11a18688f34b1f /npc/pre-re/airports/hugel.txt
parent22c75b070526de8b103032f5bf13504af81e0095 (diff)
downloadhercules-31825ccc2dde034a218d9ad466dd721c40b5651d.tar.gz
hercules-31825ccc2dde034a218d9ad466dd721c40b5651d.tar.bz2
hercules-31825ccc2dde034a218d9ad466dd721c40b5651d.tar.xz
hercules-31825ccc2dde034a218d9ad466dd721c40b5651d.zip
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
Diffstat (limited to 'npc/pre-re/airports/hugel.txt')
-rw-r--r--npc/pre-re/airports/hugel.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/npc/pre-re/airports/hugel.txt b/npc/pre-re/airports/hugel.txt
new file mode 100644
index 000000000..ea591eccc
--- /dev/null
+++ b/npc/pre-re/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;
+}