summaryrefslogtreecommitdiff
path: root/npc/events/halloween_2009.txt
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-10 15:31:48 +0530
committerHaru <haru@dotalux.com>2015-12-18 05:13:35 +0100
commitbfc63570ef3f5c37eab9c84d62a382bd54c66ff4 (patch)
tree4d930dae40d64231ed8f79204cc87ce878f96862 /npc/events/halloween_2009.txt
parent6133612d369697e2228545e70eff5d69e6e8c46e (diff)
downloadhercules-bfc63570ef3f5c37eab9c84d62a382bd54c66ff4.tar.gz
hercules-bfc63570ef3f5c37eab9c84d62a382bd54c66ff4.tar.bz2
hercules-bfc63570ef3f5c37eab9c84d62a382bd54c66ff4.tar.xz
hercules-bfc63570ef3f5c37eab9c84d62a382bd54c66ff4.zip
ItemID to Constant: events Folder
Diffstat (limited to 'npc/events/halloween_2009.txt')
-rw-r--r--npc/events/halloween_2009.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/npc/events/halloween_2009.txt b/npc/events/halloween_2009.txt
index 6c73d708d..a35c98859 100644
--- a/npc/events/halloween_2009.txt
+++ b/npc/events/halloween_2009.txt
@@ -84,7 +84,7 @@ prontera,152,192,5 script Pumpkin Hat Researcher 4_M_05,{
mes "[Pumpkin Hat Researcher]";
mes "Do you want to get Pumpkin Pies? Okay, let me count the Jack o' Pumpkins you've brought.";
next;
- if(countitem(1062) < 20) {
+ if(countitem(Pumpkin_Head) < 20) {
mes "[Pumpkin Hat Researcher]";
mes "I need ^4a4aff20 Jack o' Pumpkin^000000.";
mes "I'm not an alchemist or a wizard to create something from nothing.";
@@ -97,8 +97,8 @@ prontera,152,192,5 script Pumpkin Hat Researcher 4_M_05,{
}else{
mes "[Pumpkin Hat Researcher]";
mes "I hope this will be useful to you. Don't forget to wear it while fighting to get your Pumpkin Pies.";
- delitem 1062,20; // Jack o' Pumpkin
- getitem 5668,1; // Weird Pumpkin Hat
+ delitem Pumpkin_Head,20; // Jack o' Pumpkin
+ getitem Weird_Pumpkin_Hat,1; // Weird Pumpkin Hat
next;
mes "[Pumpkin Hat Researcher]";
mes "I guess that I should get back to my research.";
@@ -134,7 +134,7 @@ OnTouch:
next;
switch(select("Candy:Candy Cane:Well-baked Cookie:Nothing")) {
case 1:
- if(countitem(529) > 0) {
+ if(countitem(Candy) > 0) {
mes "[Trick or Treater]";
mes "Yay thank you!";
mes "Here, take this for being so nice!";
@@ -145,7 +145,7 @@ OnTouch:
sc_start SC_FOOD_DEX, 1800000, 5;
sc_start SC_FOOD_LUK, 1800000, 5;
sc_start SC_FOOD_BASICAVOIDANCE, 1800000, 15;
- delitem 529,1; // Candy
+ delitem Candy,1; // Candy
close;
}else{
mes "[Trick or Treater]";
@@ -155,7 +155,7 @@ OnTouch:
close;
}
case 2:
- if(countitem(530) > 0) {
+ if(countitem(Candy_Striper) > 0) {
mes "[Trick or Treater]";
mes "Yay thank you!";
mes "Here, take this for being so nice!";
@@ -166,7 +166,7 @@ OnTouch:
sc_start SC_FOOD_DEX, 1800000, 5;
sc_start SC_FOOD_LUK, 1800000, 5;
sc_start SC_FOOD_BASICAVOIDANCE, 1800000, 15;
- delitem 530,1; // Candy Cane
+ delitem Candy_Striper,1; // Candy Cane
close;
}else{
mes "[Trick or Treater]";
@@ -176,7 +176,7 @@ OnTouch:
close;
}
case 3:
- if(countitem(538) > 0) {
+ if(countitem(Well_Baked_Cookie) > 0) {
mes "[Trick or Treater]";
mes "Yay thank you!";
mes "Here, take this for being so nice!";
@@ -187,7 +187,7 @@ OnTouch:
sc_start SC_FOOD_DEX, 1800000, 5;
sc_start SC_FOOD_LUK, 1800000, 5;
sc_start SC_FOOD_BASICAVOIDANCE, 1800000, 15;
- delitem 538,1; // Well-baked Cookie
+ delitem Well_Baked_Cookie,1; // Well-baked Cookie
close;
}else{
mes "[Trick or Treater]";
@@ -366,10 +366,10 @@ prontera,220,72,5 duplicate(09Treats) Trick or Treater#iRO8 4_M_KID1,2,2
break;
}
else {
- .@fabric = countitem(1059);
- .@jack = countitem(1062);
- .@worn = countitem(6299);
- .@crushed = countitem(6298);
+ .@fabric = countitem(Transparent_Cloth);
+ .@jack = countitem(Pumpkin_Head);
+ .@worn = countitem(Worn_Cloth_Piece);
+ .@crushed = countitem(Pumpkin_Head_Crushed);
.@whispers = 0;
.@darklords = 0;