summaryrefslogtreecommitdiff
path: root/npc/re/cities
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-10 15:39:41 +0530
committerHaru <haru@dotalux.com>2015-12-18 05:13:37 +0100
commit7eea5d3e6051be189736b94e13be847159c87cd7 (patch)
treec046043a8e2a0fcb4702344f6a87883c9efb5b72 /npc/re/cities
parentbd18b127755adaea4d958574b5b7f26c8d818b50 (diff)
downloadhercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.gz
hercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.bz2
hercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.xz
hercules-7eea5d3e6051be189736b94e13be847159c87cd7.zip
ItemID to Constant: re Folder
Diffstat (limited to 'npc/re/cities')
-rw-r--r--npc/re/cities/brasilis.txt4
-rw-r--r--npc/re/cities/dewata.txt16
-rw-r--r--npc/re/cities/malangdo.txt4
3 files changed, 12 insertions, 12 deletions
diff --git a/npc/re/cities/brasilis.txt b/npc/re/cities/brasilis.txt
index 9d2dfa109..77e2635e3 100644
--- a/npc/re/cities/brasilis.txt
+++ b/npc/re/cities/brasilis.txt
@@ -157,14 +157,14 @@ brasilis,137,77,5 script Ice-Cream Maker 4_M_03,{
mes "It's only ^3355FF100 Zeny^000000~ Seriously!";
close;
}
- if (!checkweight(536,.@input)) {
+ if (!checkweight(Ice_Cream,.@input)) {
mes "[Ice Cream Maker]";
mes "You seem to have too much stuff.";
mes "Lighten your pack before buying this.";
close;
}
Zeny -= .@icecream_hap;
- getitem 536,.@input; //Ice_Cream
+ getitem Ice_Cream,.@input;
close;
case 2:
mes "[Ice Cream Maker]";
diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt
index 8b9d184e5..04881fed7 100644
--- a/npc/re/cities/dewata.txt
+++ b/npc/re/cities/dewata.txt
@@ -186,12 +186,12 @@ dewata,221,237,5 script Young Man#dew-1 4_M_DEWMAN,{
}
dewata,114,243,6 script Lazy Young Man#dew 4_M_DEWMAN,1,1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) {
mes "[Lazy Young Man]";
mes "Why are you carrying so much? Isn't it heavy?";
close;
}
- if (countitem(11534)) {
+ if (countitem(Coco_Juice)) {
mes "[Lazy Young Man]";
mes "Wewt~!! Isn't that Palm Juice?";
mes "Can you give me that? I just woke";
@@ -201,7 +201,7 @@ dewata,114,243,6 script Lazy Young Man#dew 4_M_DEWMAN,1,1,{
case 1:
mes "[Lazy Young Man]";
mes "Really? For me?? I'll give you this in return... Thanks... Hehe~";
- delitem 11534,1; //Coco_Juice
+ delitem Coco_Juice,1;
getrandgroupitem(IG_GiftBox),1;
close;
case 2:
@@ -215,7 +215,7 @@ dewata,114,243,6 script Lazy Young Man#dew 4_M_DEWMAN,1,1,{
mes "juice for me?~";
close;
OnTouch:
- if (countitem(11534) == 0) {
+ if (countitem(Coco_Juice) == 0) {
mes "[Lazy Young Man]";
mes "Arrgg~ I'm thirsty~~ so thirsty~~";
mes "Give me Palm juice... Palm Juuiice~~";
@@ -247,7 +247,7 @@ dewata,159,81,4 script Tourist#dew-1 4_M_SITDOWN,{
}
dewata,146,109,5 script Restauranteur#dew 4_COOK,{
- if (checkweight(11532,1) == 0 || checkweight(11533,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Nasi_Goreng,1) == 0 || checkweight(Satay,1) == 0 || MaxWeight - Weight < 500) {
mes "[Restauranteur]";
mes "You came to taste my dish? It is always good to eat with an empty stomach.";
close;
@@ -1057,7 +1057,7 @@ dewata,280,236,4 script Settler#dew 4_F_JOB_BLACKSMITH,{
}
dewata,204,230,6 script Dieting Lady#dew 4_M_DEWWOMAN,{
- if (countitem(11533) == 0) {
+ if (countitem(Satay) == 0) {
mes "[Dieting Lady]";
mes "Ah~ I'm starving!!";
mes "I should be on a diet now.";
@@ -1075,14 +1075,14 @@ dewata,204,230,6 script Dieting Lady#dew 4_M_DEWWOMAN,{
next;
switch(select("Yes, want a taste?:No, it's for me!")) {
case 1:
- delitem 11533,1; //Satay
+ delitem Satay,1;
mes "[Dieting Lady]";
mes "Thanks so much!";
mes "I've been so hungry~!!";
mes "This smell of this ^006400Satay^000000";
mes "is so good~!";
next;
- getitem 11533,1; //Satay
+ getitem Satay,1;
mes "[Dieting Lady]";
mes "Ah... gotta come back to my senses,";
mes "too much of a good thing is bad...";
diff --git a/npc/re/cities/malangdo.txt b/npc/re/cities/malangdo.txt
index 43897e15f..98d0efd95 100644
--- a/npc/re/cities/malangdo.txt
+++ b/npc/re/cities/malangdo.txt
@@ -311,8 +311,8 @@ malangdo,147,117,3 script Innkeeper#malang 4_CAT_REST,{
next;
switch(select("Here you go.:Never mind.")) {
case 1:
- if (countitem(12636) > 4) {
- delitem 12636,5; //Malang_Sp_Can
+ if (countitem(Malang_Sp_Can) > 4) {
+ delitem Malang_Sp_Can,5;
percentheal 100,100;
specialeffect2 EF_HEALSP;
mes "[Innkeeper]";