diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-12-10 15:31:48 +0530 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-18 05:13:35 +0100 |
commit | bfc63570ef3f5c37eab9c84d62a382bd54c66ff4 (patch) | |
tree | 4d930dae40d64231ed8f79204cc87ce878f96862 /npc/events/halloween_2006.txt | |
parent | 6133612d369697e2228545e70eff5d69e6e8c46e (diff) | |
download | hercules-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_2006.txt')
-rw-r--r-- | npc/events/halloween_2006.txt | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/npc/events/halloween_2006.txt b/npc/events/halloween_2006.txt index a797d2bb1..970170f5c 100644 --- a/npc/events/halloween_2006.txt +++ b/npc/events/halloween_2006.txt @@ -56,7 +56,7 @@ OnEffect2: } prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{ - if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 2000 || checkweight(Knife,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -65,7 +65,7 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{ mes "to store some of your items.^000000"; close; } - if (countitem(7609) > 0) { + if (countitem(Pumpkin_Mojo) > 0) { mes "[Gloomy Jack]"; mes "Oh wait, is that a Pumpkin Mojo you are carrying?"; mes " "; @@ -113,7 +113,7 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{ mes "Oh~Great."; mes "Then, let me see what you got."; next; - if ((countitem(7609) > 0) && (countitem(5134) > 0)) { + if ((countitem(Pumpkin_Mojo) > 0) && (countitem(Pumpkin_Hat) > 0)) { mes "[Gloomy Jack]"; mes "Oh, you brought the pumpkin head!"; mes "I'll make you to nicer one."; @@ -141,9 +141,9 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{ mes "Lalala~ lalala~"; mes " "; mes "(He starts singing. On a sudden, Jack's aura appeared.)"; - delitem 7609,1; //Pumpkin_Mojo - delitem 5134,1; //Pumpkin_Hat - getitem 5202,1; //Pumpkin_Hat_ + delitem Pumpkin_Mojo,1; + delitem Pumpkin_Hat,1; + getitem Pumpkin_Hat_,1; next; donpcevent "Gloomy Jack#06_hw::OnEffect2"; mes "[Gloomy Jack]"; @@ -157,7 +157,7 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{ mes "Well, someday he'll get back all his Pumpkin Mojo back."; close; } - else if ((countitem(7609) > 0) && (countitem(535) > 0) && (countitem(2226) > 0)) { + else if ((countitem(Pumpkin_Mojo) > 0) && (countitem(Pumpkin) > 0) && (countitem(Cap) > 0)) { mes "[Gloomy Jack]"; mes "Wow!"; mes "I'll turn your hat to very cool one."; @@ -185,10 +185,10 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{ mes "Lalala~ lalala~"; mes " "; mes "(He starts singing. On a sudden, Jack's aura appeared.)"; - delitem 7609, 1;//Pumpkin_Mojo - delitem 535, 1;//Pumpkin - delitem 2226, 1;//Cap - getitem 5202, 1;//Pumpkin_Hat_ + delitem Pumpkin_Mojo, 1; + delitem Pumpkin, 1; + delitem Cap, 1; + getitem Pumpkin_Hat_, 1; next; donpcevent "Gloomy Jack#06_hw::OnEffect2"; mes "[Gloomy Jack]"; @@ -252,7 +252,7 @@ prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{ geffen,145,132,3 script Hoirin#06_hw 4_F_NOVICE,{ - if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 2000 || checkweight(Knife,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -327,7 +327,7 @@ geffen,145,132,3 script Hoirin#06_hw 4_F_NOVICE,{ next; switch(select( "I brought all ingredients.:How can I get eggs?:No,I'm just passing by.")) { case 1: - if ((countitem(7609) > 0) && (countitem(535) > 1) && (countitem(574) > 1)) { + if ((countitem(Pumpkin_Mojo) > 0) && (countitem(Pumpkin) > 1) && (countitem(Egg) > 1)) { mes "[Hoirin]"; mes "You are right!"; mes "You brought all things right. Give it to me!!"; @@ -342,10 +342,10 @@ geffen,145,132,3 script Hoirin#06_hw 4_F_NOVICE,{ mes "Ta-da(h)!"; mes "Here it is~ help yourself."; mes "It'll be good for your health. I added extra nutrient in it."; - delitem 7609,1; //Pumpkin_Mojo - delitem 535,2; //Pumpkin - delitem 574,2; //Egg - getitem 12192,1; //Pumpkin_Pie + delitem Pumpkin_Mojo,1; + delitem Pumpkin,2; + delitem Egg,2; + getitem Pumpkin_Pie,1; close; } else { @@ -407,7 +407,7 @@ OnTouch: } nif_in,19,32,3 script Deviruchi#06_hw 4_DEVIRUCHI,{ - if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 2000 || checkweight(Knife,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -434,7 +434,7 @@ nif_in,19,32,3 script Deviruchi#06_hw 4_DEVIRUCHI,{ next; switch(select( "Give him the pumpkin pie.:Do not give him the pumpkin pie.:Huh? What pumkin pie?")) { case 1: - if (countitem(12192) > 0) { + if (countitem(Pumpkin_Pie) > 0) { mes "[Loli Ruri]"; mes "Thanks for the pumkin pie!"; mes "Here, take this."; @@ -449,10 +449,10 @@ nif_in,19,32,3 script Deviruchi#06_hw 4_DEVIRUCHI,{ mes "[Deviruchi]"; mes "Hmm...This would be good."; mes "Here take this, and thanks again~"; - delitem 12192, 1;//Pumpkin_Pie + delitem Pumpkin_Pie, 1; @hw_temp = rand(1,3); - if (@hw_temp == 2) getitem 12130,1; //Cookie_Bag - else getitem 7460,3; //Nifl_Express_Ticket + if (@hw_temp == 2) getitem Cookie_Bag,1; + else getitem Niflheim_Ticket,3; //Nifl_Express_Ticket close; } else { @@ -498,7 +498,7 @@ nif_in,19,32,3 script Deviruchi#06_hw 4_DEVIRUCHI,{ //== Creation of Pumpkin Pie (Event 2) ===================== nif_fild01,165,115,3 script Chicken Masta#06_hw 4_M_NFDEADMAN2,{ - if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 2000 || checkweight(Knife,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -534,7 +534,7 @@ nif_fild01,165,115,3 script Chicken Masta#06_hw 4_M_NFDEADMAN2,{ mes "Here are the eggs."; Zeny -= 2000; halloween = 102; - getitem 574,2; //Egg + getitem Egg,2; close; } else { @@ -550,7 +550,7 @@ nif_fild01,165,115,3 script Chicken Masta#06_hw 4_M_NFDEADMAN2,{ mes "Here are the eggs."; Zeny -= 1000; halloween = 102; - getitem 574,1; //Egg + getitem Egg,1; close; } else { @@ -640,7 +640,7 @@ nif_fild01,165,115,3 script Chicken Masta#06_hw 4_M_NFDEADMAN2,{ mes "But no more."; mes "If you want more eggs, find me more chickens."; Zeny -= @hw_egg; - getitem 574, @input;//Egg + getitem Egg, @input; halloween = 102; close; } @@ -696,7 +696,7 @@ nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{ mes "As soon as you got close to the chicken and touched it, it disappeared completely."; mes "You got an 'egg' in the place where the chicken disappeared."; disablenpc "Chicken#"+strnpcinfo(1); - getitem 574,1; //Egg + getitem Egg,1; close; } else { @@ -712,7 +712,7 @@ nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{ mes "As soon as you got close to the chicken and touched it, it disappeared completely."; mes "You got an 'egg' in the place where the chicken disappeared."; disablenpc "Chicken#"+strnpcinfo(1); - getitem 574,1; //Egg + getitem Egg,1; close; } else { @@ -1056,11 +1056,11 @@ prontera,155,285,3 script Familiar#06_hw01::HWFamiDup 4_NFBAT,{ mes "It's available during Halloween."; next; if (select( "Yes, I do:No, I don't.") == 1) { - if (countitem(7460) > 0) { + if (countitem(Niflheim_Ticket) > 0) { mes "[Familiar]"; mes "I checked your ticket."; mes "You can go there now"; - delitem 7460,1; //Nifl_Express_Ticket + delitem Niflheim_Ticket,1; //Nifl_Express_Ticket close2; warp "nif_in", 18, 20; end; |