summaryrefslogtreecommitdiff
path: root/npc/cities/alberta.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/alberta.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/alberta.txt')
-rw-r--r--npc/cities/alberta.txt28
1 files changed, 14 insertions, 14 deletions
diff --git a/npc/cities/alberta.txt b/npc/cities/alberta.txt
index 74c9da687..ed4be5438 100644
--- a/npc/cities/alberta.txt
+++ b/npc/cities/alberta.txt
@@ -329,19 +329,19 @@ alberta,190,173,4 script Phelix 4_M_03,{
mes "what'cha got...";
next;
mes "[Phelix]";
- if (countitem(909) < 10) {
+ if (countitem(Jellopy) < 10) {
mes "Hey! Weren't you listening?. I said 10 jellopies for 1 Red Potion.. are ya deaf?";
close;
} else {
- .@max = countitem(909)/10;
+ .@max = countitem(Jellopy)/10;
mes "Hmm, not bad...";
mes "How many potions";
mes "do you want to get?";
next;
switch(select("As many as I can, please.","I want this many.","Never mind, I like my jellopy.")) {
case 1:
- delitem 909,.@max*10; // Jellopy
- getitem 501,.@max; // Red_Potion
+ delitem Jellopy,.@max*10; // Jellopy
+ getitem Red_Potion,.@max; // Red_Potion
break;
case 2:
mes "[Phelix]";
@@ -358,12 +358,12 @@ alberta,190,173,4 script Phelix 4_M_03,{
mes "Hey, what'd I say? 100 at a time at most, you're trying to kill me aren't you!";
close;
}
- if (countitem(909) < .@amount*10) {
+ if (countitem(Jellopy) < .@amount*10) {
mes "Hmm, it looks like you don't have enough. Go get more jellopies if you want anything else from me.";
close;
}
- delitem 909,.@amount*10; // Jellopy
- getitem 501,.@amount; // Red_Potion
+ delitem Jellopy,.@amount*10; // Jellopy
+ getitem Red_Potion,.@amount; // Red_Potion
break;
case 3:
mes "[Phelix]";
@@ -380,18 +380,18 @@ alberta,190,173,4 script Phelix 4_M_03,{
mes "Alright, let's see what ya got...";
next;
mes "[Phelix]";
- if (countitem(909) < 3) {
+ if (countitem(Jellopy) < 3) {
mes "Hmm, look pansy ass, I said 3 jellopies for 1 Carrot.. got it?";
close;
} else {
- .@max = countitem(909)/3;
+ .@max = countitem(Jellopy)/3;
mes "Not too bad pansy...";
mes "How many do you want?";
next;
switch(select("As many as I can get, please","I want this many.","Never mind, I like my jellopy.")) {
case 1:
- delitem 909,.@max*3; // Jellopy
- getitem 515,.@max; // Carrot
+ delitem Jellopy,.@max*3; // Jellopy
+ getitem Carrot,.@max; // Carrot
break;
case 2:
mes "[Phelix]";
@@ -407,12 +407,12 @@ alberta,190,173,4 script Phelix 4_M_03,{
mes "Hey pansy ass, I said 100 at most, no more then that! I'm not going to break my back for the likes of you!";
close;
}
- if (countitem(909) < .@amount*10) {
+ if (countitem(Jellopy) < .@amount*10) {
mes "Seems you don't have enough. Go get some more if you want anything else.";
close;
}
- delitem 909,.@amount*3; // Jellopy
- getitem 515,.@amount; // Carrot
+ delitem Jellopy,.@amount*3; // Jellopy
+ getitem Carrot,.@amount; // Carrot
break;
case 3:
mes "[Phelix]";