summaryrefslogtreecommitdiff
path: root/npc/airports/airships.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/airports/airships.txt')
-rw-r--r--npc/airports/airships.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt
index b5b187bc6..1535fef90 100644
--- a/npc/airports/airships.txt
+++ b/npc/airports/airships.txt
@@ -541,7 +541,7 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
mes "purchase fewer Apples.";
close;
}
- else if (checkweight(512,.@input) == 0) {
+ else if (checkweight(Apple,.@input) == 0) {
mes "[Fruitz]";
mes "Hmmm, I don't think";
mes "you've got enough room in";
@@ -551,7 +551,7 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
}
else {
Zeny -= .@pay;
- getitem 512,.@input; //Apple
+ getitem Apple,.@input;
mes "[Fruitz]";
mes "Thanks for stopping by";
mes "my shop. I hope you enjoy";
@@ -567,7 +567,7 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
next;
switch (select("Yes:No")) {
case 1:
- if (countitem(512) < 3 || countitem(713) < 1) {
+ if (countitem(Apple) < 3 || countitem(Empty_Bottle) < 1) {
mes "[Fruitz]";
mes "I'm sorry, but you don't";
mes "have enough materials to";
@@ -586,9 +586,9 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
mes "*Grind grind*";
mes "*Clang...!*^000000";
next;
- delitem 512,3; //Apple
- delitem 713,1; //Empty_Bottle
- getitem 531,1; //Apple_Juice
+ delitem Apple,3;
+ delitem Empty_Bottle,1;
+ getitem Apple_Juice,1;
mes "[Fruitz]";
mes "There you go~";
mes "I hope you enjoy!";
@@ -830,7 +830,7 @@ airplane_01,250,58,2 script Airship Staff#airplane01 1_F_02,{
}
airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -901,7 +901,7 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
mes "purchase less Apples.";
close;
}
- else if (checkweight(512,.@input) == 0) {
+ else if (checkweight(Apple,.@input) == 0) {
mes "[Meltz]";
mes "Hmm, I don't think you've";
mes "got enough room to carry";
@@ -912,7 +912,7 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
}
else {
Zeny -= .@pay;
- getitem 512,.@input; //Apple
+ getitem Apple,.@input;
mes "[Meltz]";
mes "Thanks for stopping by";
mes "my shop. I hope you enjoy";
@@ -928,7 +928,7 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
next;
switch (select("Yes:No")) {
case 1:
- if (countitem(512) < 3 || countitem(713) < 1) {
+ if (countitem(Apple) < 3 || countitem(Empty_Bottle) < 1) {
mes "[Meltz]";
mes "I'm sorry, but you don't";
mes "have enough materials to";
@@ -945,9 +945,9 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
mes "*Grind* *Grind*";
mes "*Clang...!*^000000";
next;
- delitem 512,3; //Apple
- delitem 713,1; //Empty_Bottle
- getitem 531,1; //Apple_Juice
+ delitem Apple,3;
+ delitem Empty_Bottle,1;
+ getitem Apple_Juice,1;
mes "[Meltz]";
mes "There you go~";
mes "Please come again.";
@@ -1357,7 +1357,7 @@ function script applegamble {
next;
continue;
}
- if (countitem(512) <.@amount) {
+ if (countitem(Apple) <.@amount) {
mes "I'm sorry, but you";
mes "don't seem to have";
mes "enough Apples for this";
@@ -1428,7 +1428,7 @@ function script applegamble {
if (.@tablesub > 8) {
mes "^FF0000" + strcharinfo(0) + "^000000, you got ^FF0000" + .@player3 + "^000000 and the total is now ^FF0000" + .@playertotal + "^000000. I don't want to take any risk, let's end this game in a draw. Let's play again some other time~";
close2;
- getitem 512,.@amount; //Apple
+ getitem Apple,.@amount;
end;
}
}
@@ -1445,7 +1445,7 @@ function script applegamble {
if (.@tablesub > 8) {
mes "I see, you don't want to take risk of losing this game. Neither do I, let's end this game in a draw. Let's play again some other time~";
close2;
- getitem 512,.@amount; //Apple
+ getitem Apple,.@amount;
end;
}
mes "Alright.";
@@ -1469,19 +1469,19 @@ function script applegamble {
if (.@tabletotal > 12) {
mes "I got ^0000FF" + .@table3 + "^000000 and the total is now ^0000FF" + .@tabletotal + "^000000. I lost this game since my total exceeded 12. Let me give you my apples. Congratulations, that was a great game.";
close2;
- getitem 512,.@giveapple; //Apple
+ getitem Apple,.@giveapple;
end;
}
else if (.@playertotal > .@tabletotal) {
mes "I got ^0000FF" + .@table3 + "^000000 and the total is now ^0000FF" + .@tabletotal + "^000000. With total ^FF0000" + .@playertotal + "^000000 you won this game, ^FF0000" + strcharinfo(0) + "^000000. Let me give you my apples. It was a great game and I hope we will play again some other time.";
close2;
- getitem 512,.@giveapple; //Apple
+ getitem Apple,.@giveapple;
end;
}
else if (.@playertotal == .@tabletotal) {
mes "I got ^0000FF" + .@table3 + "^000000 and the total is now ^0000FF" + .@tabletotal + "^000000. With total ^FF0000" + .@playertotal + "^000000 this game came out even, ^FF0000" + strcharinfo(0) + "^000000. Let me give you your apple back. It was a great game and I hope we will play again some other time.";
close2;
- getitem 512,.@amount; //Apple
+ getitem Apple,.@amount;
end;
}
else if (.@playertotal < .@tabletotal) {