summaryrefslogtreecommitdiff
path: root/npc/cities/aldebaran.txt
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-10 15:31:31 +0530
committerHaru <haru@dotalux.com>2015-12-18 05:13:34 +0100
commit50e59ea8f8cfae5155e8733d4f06d67d91414bb1 (patch)
tree7efb5f6af006cbf4da7c2ba7f82f151c126cdc90 /npc/cities/aldebaran.txt
parent99e13a34742b3c745f8b2247bc0e0a39042b78d1 (diff)
downloadhercules-50e59ea8f8cfae5155e8733d4f06d67d91414bb1.tar.gz
hercules-50e59ea8f8cfae5155e8733d4f06d67d91414bb1.tar.bz2
hercules-50e59ea8f8cfae5155e8733d4f06d67d91414bb1.tar.xz
hercules-50e59ea8f8cfae5155e8733d4f06d67d91414bb1.zip
ItemID to Constant: cities Folder
Diffstat (limited to 'npc/cities/aldebaran.txt')
-rw-r--r--npc/cities/aldebaran.txt66
1 files changed, 33 insertions, 33 deletions
diff --git a/npc/cities/aldebaran.txt b/npc/cities/aldebaran.txt
index 1977587c4..5dc71e04a 100644
--- a/npc/cities/aldebaran.txt
+++ b/npc/cities/aldebaran.txt
@@ -777,7 +777,7 @@ aldeba_in,84,166,4 script Kafra Service#alde 4_F_KAFRA1,{
mes "Due to a change in customer support policy, we no longer accept Kafra Passes. However, we are offering refunds for our customers who still possess these passes.";
next;
if (select("Sell Kafra Pass:Alright, bye~") == 1) {
- if (countitem(1084) == 0) {
+ if (countitem(Kapra's_Pass) == 0) {
mes "[Kafra Pavianne]";
mes "I'm sorry,";
mes "but you don't";
@@ -787,27 +787,27 @@ aldeba_in,84,166,4 script Kafra Service#alde 4_F_KAFRA1,{
end;
}
else {
- .@kafrapassmoney = countitem(1084)*2000;
+ .@kafrapassmoney = countitem(Kapra's_Pass)*2000;
mes "[Kafra Pavianne]";
mes "Let's see...";
- if (countitem(1084) == 1) {
+ if (countitem(Kapra's_Pass) == 1) {
mes "You have 1 Kafra Pass.";
mes "You can sell that pass to us for 2000 zeny. Would you like to sell this Kafra Pass back to the Kafra Corporation?";
}
else {
- mes "You have "+ countitem(1084) +" Kafra Passes.";
+ mes "You have "+ countitem(Kapra's_Pass) +" Kafra Passes.";
mes "If you want to sell them to us, you will receive "+ .@kafrapassmoney +" zeny. Would you like to sell these back to the Kafra Corporation?";
}
next;
if (select("Yes:No") == 1) {
- if (countitem(1084) == 0) {
+ if (countitem(Kapra's_Pass) == 0) {
mes "[Kafra Pavianne]";
mes "I'm sorry, but you don't have any Kafra Passes.";
close2;
cutin "",255;
end;
}
- delitem 1084,countitem(1084); //Kapra's_Pass
+ delitem Kapra's_Pass,countitem(Kapra's_Pass);
Zeny += .@kafrapassmoney;
mes "[Kafra Pavianne]";
mes "Thank you.";
@@ -1218,53 +1218,53 @@ function script F_Lottery {
sL_Prize1:
mes "[Kafra]";
mes "WOW!!!!..... You win!!! 1st Prize~! Congratulations~~ You got the 1st prize~~";
- if(@Lotto == 1) getitem 2328,1;//Items: Wooden_Mail,
- if(@Lotto == 2) getitem 2307,1;//Items: Mantle,
- if(@Lotto == 3) getitem 657,10;//Items: Berserk_Potion,
+ if(@Lotto == 1) getitem Wooden_Mail,1;//Items: Wooden_Mail,
+ if(@Lotto == 2) getitem Mantle,1;//Items: Mantle,
+ if(@Lotto == 3) getitem Berserk_Potion,10;//Items: Berserk_Potion,
if(@Lotto == 4) {
- getitem 607,2;//Items: Yggdrasilberry,
- getitem 608,1;//Items: Yggdrasil_Seed,
+ getitem Yggdrasilberry,2;//Items: Yggdrasilberry,
+ getitem Seed_Of_Yggdrasil,1;//Items: Yggdrasil_Seed,
}
- if(@Lotto == 5) getitem 607,3;//Items: Yggdrasilberry,
+ if(@Lotto == 5) getitem Yggdrasilberry,3;//Items: Yggdrasilberry,
return;
sL_Prize2:
mes "[Kafra]";
mes "Oh! WOW! You've won the 2nd prize! Congratulations!!";
- if(@Lotto == 1) getitem 2403,1;//Items: Shoes,
- if(@Lotto == 2) getitem 2226,1;//Items: Cap,
- if(@Lotto == 3) getitem 2201,1;//Items: Sunglasses,
- if(@Lotto == 4) getitem 526,3;//Items: Royal_Jelly,
+ if(@Lotto == 1) getitem Shoes,1;//Items: Shoes,
+ if(@Lotto == 2) getitem Cap,1;//Items: Cap,
+ if(@Lotto == 3) getitem Sunglasses,1;//Items: Sunglasses,
+ if(@Lotto == 4) getitem Royal_Jelly,3;//Items: Royal_Jelly,
if(@Lotto == 5) {
- getitem 608,1;//Items: Yggdrasil_Seed,
- getitem 526,10;//Items: Royal_Jelly,
+ getitem Seed_Of_Yggdrasil,1;//Items: Yggdrasil_Seed,
+ getitem Royal_Jelly,10;//Items: Royal_Jelly,
}
return;
sL_Prize3:
mes "[Kafra]";
mes "Congratulations! You've won the 3rd prize.";
- if(@Lotto == 1) getitem 602,4;//Items: Butterfly_Wing,
- if(@Lotto == 2) getitem 505,3;//Items: Blue_Potion,
- if(@Lotto == 3) getitem 2203,1;//Items: Glasses,
- if(@Lotto == 4) getitem 504,15;//Items: White_Potion,
- if(@Lotto == 5) getitem 504,30;//Items: White_Potion,
+ if(@Lotto == 1) getitem Wing_Of_Butterfly,4;//Items: Butterfly_Wing,
+ if(@Lotto == 2) getitem Blue_Potion,3;//Items: Blue_Potion,
+ if(@Lotto == 3) getitem Glasses,1;//Items: Glasses,
+ if(@Lotto == 4) getitem White_Potion,15;//Items: White_Potion,
+ if(@Lotto == 5) getitem White_Potion,30;//Items: White_Potion,
return;
sL_Prize4:
mes "[Kafra]";
mes "You've won the 4th prize.";
- if(@Lotto == 1) getitem 516,100;//Items: Sweet_Potato,
- if(@Lotto == 2) getitem 501,150;//Items: Red_Potion,
- if(@Lotto == 3) getitem 502,150;//Items: Orange_Potion,
- if(@Lotto == 4) getitem 505,5;//Items: Blue_Potion,
- if(@Lotto == 5) getitem 505,10;//Items: Blue_Potion,
+ if(@Lotto == 1) getitem Sweet_Potato,100;//Items: Sweet_Potato,
+ if(@Lotto == 2) getitem Red_Potion,150;//Items: Red_Potion,
+ if(@Lotto == 3) getitem Orange_Potion,150;//Items: Orange_Potion,
+ if(@Lotto == 4) getitem Blue_Potion,5;//Items: Blue_Potion,
+ if(@Lotto == 5) getitem Blue_Potion,10;//Items: Blue_Potion,
return;
sL_Prize5:
mes "[Kafra]";
mes "You've won the 5th prize.";
- if(@Lotto == 1) getitem 516,50;//Items: Sweet_Potato,
- if(@Lotto == 2) getitem 501,100;//Items: Red_Potion,
- if(@Lotto == 3) getitem 501,200;//Items: Red_Potion,
- if(@Lotto == 4) getitem 501,250;//Items: Red_Potion,
- if(@Lotto == 5) getitem 501,300;//Items: Red_Potion,
+ if(@Lotto == 1) getitem Sweet_Potato,50;//Items: Sweet_Potato,
+ if(@Lotto == 2) getitem Red_Potion,100;//Items: Red_Potion,
+ if(@Lotto == 3) getitem Red_Potion,200;//Items: Red_Potion,
+ if(@Lotto == 4) getitem Red_Potion,250;//Items: Red_Potion,
+ if(@Lotto == 5) getitem Red_Potion,300;//Items: Red_Potion,
return;
sF_Spin: