summaryrefslogtreecommitdiff
path: root/npc/airports
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
committerHaru <haru@dotalux.com>2013-11-30 21:38:38 +0100
commit94ac9fe3303c4d604485a4784e8f5c99f5457863 (patch)
treee33f4d96453941392a1d9b721d4a179ba8f89941 /npc/airports
parentafb2ed27fcc12f86f2418425dd1e7c9b8234a1f2 (diff)
downloadhercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.gz
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.bz2
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.xz
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.zip
Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179
Cleaned up Zeny manipulation in scripts. - It is now finally safe to re-commit. - Removed some unwanted parts of the original commit, that broke the character set in some scripts. [Haru] - Corrected spacing in some edited lines. [Haru]
Diffstat (limited to 'npc/airports')
-rw-r--r--npc/airports/airships.txt4
-rw-r--r--npc/airports/einbroch.txt2
-rw-r--r--npc/airports/hugel.txt2
-rw-r--r--npc/airports/izlude.txt2
-rw-r--r--npc/airports/lighthalzen.txt2
-rw-r--r--npc/airports/rachel.txt2
-rw-r--r--npc/airports/yuno.txt2
7 files changed, 8 insertions, 8 deletions
diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt
index bf2a17acf..a4048cd5f 100644
--- a/npc/airports/airships.txt
+++ b/npc/airports/airships.txt
@@ -531,7 +531,7 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
close;
}
else {
- set Zeny, Zeny - .@pay;
+ Zeny -= .@pay;
getitem 512,.@input; //Apple
mes "[Fruitz]";
mes "Thanks for stopping by";
@@ -895,7 +895,7 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
close;
}
else {
- set Zeny, Zeny - .@pay;
+ Zeny -= .@pay;
getitem 512,.@input; //Apple
mes "[Meltz]";
mes "Thanks for stopping by";
diff --git a/npc/airports/einbroch.txt b/npc/airports/einbroch.txt
index bd6b72fcc..774bd14b3 100644
--- a/npc/airports/einbroch.txt
+++ b/npc/airports/einbroch.txt
@@ -31,7 +31,7 @@ airport,143,43,5 script Airport Staff#airport1a::airport1 4_F_01,{
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "airport",148,51;
end;
}
diff --git a/npc/airports/hugel.txt b/npc/airports/hugel.txt
index 015bf8efd..7d4b3f85a 100644
--- a/npc/airports/hugel.txt
+++ b/npc/airports/hugel.txt
@@ -21,7 +21,7 @@ OnTouch:
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "airplane",244,58;
end;
}
diff --git a/npc/airports/izlude.txt b/npc/airports/izlude.txt
index fe46c1169..aaf08b9a7 100644
--- a/npc/airports/izlude.txt
+++ b/npc/airports/izlude.txt
@@ -30,7 +30,7 @@
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "airplane_01",244,58;
end;
}
diff --git a/npc/airports/lighthalzen.txt b/npc/airports/lighthalzen.txt
index e2c5f67b4..de26fb0cc 100644
--- a/npc/airports/lighthalzen.txt
+++ b/npc/airports/lighthalzen.txt
@@ -29,7 +29,7 @@ lhz_airport,143,43,5 script Airport Staff#lhz_air1a::lhz_airport1 4_F_01,{
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "lhz_airport",148,51;
end;
}
diff --git a/npc/airports/rachel.txt b/npc/airports/rachel.txt
index f157f5f6b..65ea35425 100644
--- a/npc/airports/rachel.txt
+++ b/npc/airports/rachel.txt
@@ -21,7 +21,7 @@ OnTouch:
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "airplane_01",245,60;
end;
}
diff --git a/npc/airports/yuno.txt b/npc/airports/yuno.txt
index 4e697918b..2146dc671 100644
--- a/npc/airports/yuno.txt
+++ b/npc/airports/yuno.txt
@@ -28,7 +28,7 @@ y_airport,143,43,5 script Airport Staff#y_air1a::y_airport1 4_F_01,{
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "y_airport",148,51;
end;
}