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 | |
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')
-rw-r--r-- | npc/events/MemorialDay_2008.txt | 8 | ||||
-rw-r--r-- | npc/events/RWC_2011.txt | 40 | ||||
-rw-r--r-- | npc/events/RWC_2012.txt | 8 | ||||
-rw-r--r-- | npc/events/StPatrick_2008.txt | 8 | ||||
-rw-r--r-- | npc/events/children_week.txt | 10 | ||||
-rw-r--r-- | npc/events/christmas_2005.txt | 84 | ||||
-rw-r--r-- | npc/events/christmas_2008.txt | 8 | ||||
-rw-r--r-- | npc/events/easter_2008.txt | 46 | ||||
-rw-r--r-- | npc/events/easter_2010.txt | 32 | ||||
-rw-r--r-- | npc/events/gdevent_aru.txt | 48 | ||||
-rw-r--r-- | npc/events/gdevent_sch.txt | 48 | ||||
-rw-r--r-- | npc/events/god_se_festival.txt | 8 | ||||
-rw-r--r-- | npc/events/halloween_2006.txt | 60 | ||||
-rw-r--r-- | npc/events/halloween_2009.txt | 26 | ||||
-rw-r--r-- | npc/events/idul_fitri.txt | 2 | ||||
-rw-r--r-- | npc/events/lunar_2008.txt | 42 | ||||
-rw-r--r-- | npc/events/valentinesday.txt | 2 | ||||
-rw-r--r-- | npc/events/valentinesday_2009.txt | 28 | ||||
-rw-r--r-- | npc/events/valentinesday_2012.txt | 2 | ||||
-rw-r--r-- | npc/events/xmas.txt | 4 |
20 files changed, 257 insertions, 257 deletions
diff --git a/npc/events/MemorialDay_2008.txt b/npc/events/MemorialDay_2008.txt index 3981e95a3..341138fce 100644 --- a/npc/events/MemorialDay_2008.txt +++ b/npc/events/MemorialDay_2008.txt @@ -85,7 +85,7 @@ prontera,182,214,4 script Lauds#Memorial 1_M_MERCHANT,{ Memorial08 = 1; close; } else if (Memorial08 == 1) { - if (countitem(1059) < 30 || countitem(914) < 20) { + if (countitem(Transparent_Cloth) < 30 || countitem(Fluff) < 20) { mes "[Mad Sago Lauds]"; mes "What are these? They aren't enough?!"; mes "*Sigh* Do I really have to tell you again?!"; @@ -273,7 +273,7 @@ prontera,150,270,4 script Grast#Memorial 4_M_HUMERCHANT,{ Memorial08 = 4; close; } else if (Memorial08 == 4) { - if (countitem(501) < 1 || countitem(506) < 1 || countitem(656) < 1 || countitem(602) < 1) { + if (countitem(Red_Potion) < 1 || countitem(Green_Potion) < 1 || countitem(Awakening_Potion) < 1 || countitem(Wing_Of_Butterfly) < 1) { mes "[Grast]"; mes "Oops, you haven't brought all materials."; mes "Please make sure you need to bring me"; @@ -302,7 +302,7 @@ prontera,150,270,4 script Grast#Memorial 4_M_HUMERCHANT,{ close; } } else if (Memorial08 == 5) { - if (countitem(1065) < 1 || countitem(610) < 1 || countitem(717) < 1 || countitem(747) < 1 || countitem(517) < 1 || countitem(515) < 1) { + if (countitem(Booby_Trap) < 1 || countitem(Leaf_Of_Yggdrasil) < 1 || countitem(Blue_Gemstone) < 1 || countitem(Crystal_Mirror) < 1 || countitem(Meat) < 1 || countitem(Carrot) < 1) { mes "[Grast]"; mes "Oops, you haven't brought all materials."; mes "Please make sure you'll have to bring me"; @@ -327,7 +327,7 @@ prontera,150,270,4 script Grast#Memorial 4_M_HUMERCHANT,{ close; } } else if (Memorial08 == 6) { - if (countitem(643) < 1 || countitem(12018) < 1 || countitem(741) < 1 || countitem(745) < 1) { + if (countitem(Pet_Incubator) < 1 || countitem(Fire_Cracker) < 1 || countitem(Poring_Doll) < 1 || countitem(Wedding_Bouquet) < 1) { mes "[Grast]"; mes "Oops, you haven't brought all materials."; mes "Please make sure you need to bring me"; diff --git a/npc/events/RWC_2011.txt b/npc/events/RWC_2011.txt index b81c14618..dcb373c96 100644 --- a/npc/events/RWC_2011.txt +++ b/npc/events/RWC_2011.txt @@ -34,7 +34,7 @@ //========================================================================= prontera,114,81,5 script RWC2011 Agent#2 4_M_ATEIL,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) { mes "[New Agent]"; mes "You have too many items. Please make room in your inventory and come back."; close; @@ -173,7 +173,7 @@ prontera,114,81,5 script RWC2011 Agent#2 4_M_ATEIL,{ setquest 13000; close; } else if (oversea_event == 1) { - if (countitem(6485) && countitem(6486) && countitem(6487) > 1 && countitem(7602) && countitem(7470) && countitem(6012)) { + if (countitem(BlueCard_2) && countitem(BlueCard_0) && countitem(BlueCard_1) > 1 && countitem(BlueCard_R) && countitem(BlueCard_W) && countitem(Blue_Card_C)) { mes "[RWC2011 Agent]"; mes "Have you gathered all the cards?"; next; @@ -183,30 +183,30 @@ prontera,114,81,5 script RWC2011 Agent#2 4_M_ATEIL,{ mes "[RWC2011 Agent]"; mes "Here are the gifts I promised... Let's see..."; next; - delitem 6485,1; //BlueCard_2 - delitem 6486,1; //BlueCard_0 - delitem 6487,2; //BlueCard_1 - delitem 7602,1; //BlueCard_R - delitem 7470,1; //BlueCard_W - delitem 6012,1; //Blue_Card_C + delitem BlueCard_2,1; + delitem BlueCard_0,1; + delitem BlueCard_1,2; + delitem BlueCard_R,1; + delitem BlueCard_W,1; + delitem Blue_Card_C,1; //SavePPL BlueCard_2 oversea_event = 2; erasequest 13000; setquest 13001; .@i = rand(1,100); - if (.@i == 1) getitem 12690,1; //Old_C_Album_Helm - else if (.@i == 2) getitem 12691,1; //Old_C_Album_Armor - else if (.@i == 3) getitem 12693,1; //Old_C_Album_Garment - else if (.@i == 4) getitem 12694,1; //Old_C_Album_Shoes - else if (.@i == 5) getitem 12698,1; //Old_C_Album_Weapon - else if (.@i == 6) getitem 12695,1; //Old_C_Album_Acc - else if (.@i == 7) getitem 12692,1; //Old_C_Album_Shield - else if (.@i < 28) getitem 547,10; //White_Slim_Potion - else if (.@i < 38) getitem 607,1; //Yggdrasilberry - else if (.@i < 51) getitem 608,1; //Seed_Of_Yggdrasil + if (.@i == 1) getitem Old_C_Album_Helm,1; + else if (.@i == 2) getitem Old_C_Album_Armor,1; + else if (.@i == 3) getitem Old_C_Album_Garment,1; + else if (.@i == 4) getitem Old_C_Album_Shoes,1; + else if (.@i == 5) getitem Old_C_Album_Weapon,1; + else if (.@i == 6) getitem Old_C_Album_Acc,1; + else if (.@i == 7) getitem Old_C_Album_Shield,1; + else if (.@i < 28) getitem White_Slim_Potion,10; + else if (.@i < 38) getitem Yggdrasilberry,1; + else if (.@i < 51) getitem Seed_Of_Yggdrasil,1; else { - getitem 12696,5; //RWC_Cele_Fire - getitem 12697,5; //RWC_Cele_Fire2 + getitem RWC_Cele_Fire,5; + getitem RWC_Cele_Fire2,5; } mes "[RWC2011 Agent]"; mes "It's not much but please keep it! Haha, we still have lots of cards to be found. I hope you can help me tomorrow as well."; diff --git a/npc/events/RWC_2012.txt b/npc/events/RWC_2012.txt index a97ec90fc..b23ebe2d3 100644 --- a/npc/events/RWC_2012.txt +++ b/npc/events/RWC_2012.txt @@ -34,7 +34,7 @@ prontera,147,61,3 script Driller#pron 4_M_BARBER,{ disable_items; - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You're carrying too many items in your inventory. Visit Kafra storage and try again."; close; } @@ -103,7 +103,7 @@ prontera,147,61,3 script Driller#pron 4_M_BARBER,{ prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{ disable_items; - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You are carrying too many items. Come back after you have organized your inventory."; close; } @@ -319,7 +319,7 @@ prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{ mes "Come back if you change your mind."; close; } - if (countitem(6665) == 0) { + if (countitem(RWC_Inicializer) == 0) { mes "[Goldberg]"; mes "I'm sorry. But you don't have the RWC Initialization coupon. Can you check your inventory?"; close; @@ -332,7 +332,7 @@ prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{ specialeffect2 EF_REPAIRWEAPON; mes "[Goldberg]"; mes "The enchant option in your item will be initialized."; - delitem 6665,1; //RWC_Inicializer + delitem RWC_Inicializer,1; delequip .@part; //GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3] diff --git a/npc/events/StPatrick_2008.txt b/npc/events/StPatrick_2008.txt index a997e91ef..9039d0f66 100644 --- a/npc/events/StPatrick_2008.txt +++ b/npc/events/StPatrick_2008.txt @@ -186,7 +186,7 @@ prt_fild05,170,286,4 script Anxious Leprechaun#8pday 4_M_PATRICK,{ case 1: mes "[O'Riley the Leprechaun]"; mes "Thank you. Here's your ale~"; - if (countitem(7915) >= 10) { + if (countitem(Copper_Coin_) >= 10) { getitem 12135,1; delitem 7915,10; } @@ -194,7 +194,7 @@ prt_fild05,170,286,4 script Anxious Leprechaun#8pday 4_M_PATRICK,{ case 2: mes "[O'Riley the Leprechaun]"; mes "Thank you. Here's your ale~"; - if (countitem(7916) >= 5) { + if (countitem(Silver_Coin_) >= 5) { getitem 12135,1; delitem 7916,5; } @@ -202,7 +202,7 @@ prt_fild05,170,286,4 script Anxious Leprechaun#8pday 4_M_PATRICK,{ case 3: mes "[O'Riley the Leprechaun]"; mes "Thank you. Here's your ale~"; - if (countitem(7720) >= 1) { + if (countitem(Gold_Coin_US) >= 1) { getitem 12135,1; delitem 7720,1; } @@ -226,7 +226,7 @@ OnTouch: if (StPatrick2008 == 1) { mes "- You've found a pile of rocks covered with soil. -"; next; - if (countitem(12018) < 200) { + if (countitem(Fire_Cracker) < 200) { mes "The rocks won't budge."; mes "Maybe O'Riley knows a way to move the rocks."; close; diff --git a/npc/events/children_week.txt b/npc/events/children_week.txt index 507c3e025..5c72df97f 100644 --- a/npc/events/children_week.txt +++ b/npc/events/children_week.txt @@ -62,14 +62,14 @@ prontera,146,91,5 script Pandit chacha#child07 1_M_PUBMASTER,{ close; } oversea_event9 = 1; - getitem 11705,10; //Special_White_Potion + getitem Special_White_Potion,10; mes "[Pandit chacha]"; mes "Look. This is a child Potion."; mes "The weight is just 1 but recover much HP."; mes "If you want to get more, bring the 1 Wedding Bouquet and 1 Witherless Rose."; close; } else if (oversea_event9 == 1) { - if (countitem(745) > 0 && countitem(748) > 0) { + if (countitem(Wedding_Bouquet) > 0 && countitem(Witherless_Rose) > 0) { mes "[Pandit chacha]"; mes "Ahha!!"; mes "You have remembered my beautiful composition."; @@ -87,10 +87,10 @@ prontera,146,91,5 script Pandit chacha#child07 1_M_PUBMASTER,{ mes "Here, I will exchange to the 50 child potion."; mes "Once you get this 50 child potion, I won't give any more."; close2; - delitem 745,1; //Wedding_Bouquet - delitem 748,1; //Witherless_Rose + delitem Wedding_Bouquet,1; + delitem Witherless_Rose,1; oversea_event9 = 2; - getitem 11705,50; //Special_White_Potion + getitem Special_White_Potion,50; end; } mes "[Pandit chacha]"; diff --git a/npc/events/christmas_2005.txt b/npc/events/christmas_2005.txt index 486014259..d3d9841e2 100644 --- a/npc/events/christmas_2005.txt +++ b/npc/events/christmas_2005.txt @@ -64,7 +64,7 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{ mes ""; emotion e_lv; next; - if (countitem(2236) > 0) { + if (countitem(Santa's_Hat) > 0) { if (select("Here.:It's ok.") == 1) { mes "[Designer Louise Kim]"; mes "Nice choice!!"; @@ -90,7 +90,7 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{ mes "^0000FF 1 Rosary ^000000 for luckiness."; mes "It's pretty enough to make Louise Hat."; next; - if (countitem(952) > 0 && countitem(523) > 9 && countitem(2608) > 0) { + if (countitem(Cactus_Needle) > 0 && countitem(Holy_Water) > 9 && countitem(Rosary) > 0) { select("Here you are....."); mes "[Designer Louise Kim]"; mes "Wow~~!! So fast!!"; @@ -160,11 +160,11 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{ mes "~Who would be happier than~"; mes "~being with Louise.~"; emotion e_ho; - delitem 2236,1; //Santa's_Hat - delitem 952,1; //Cactus_Needle - delitem 523,10; //Holy_Water - delitem 2608,1; //Rosary - getitem 5136,1; //Santa's_Hat_ + delitem Santa's_Hat,1; + delitem Cactus_Needle,1; + delitem Holy_Water,10; + delitem Rosary,1; + getitem Santa's_Hat_,1; close; } else { @@ -327,7 +327,7 @@ prontera,155,285,3 script Enjoy#enjoy 4_M_MONK,{ close; } else if (christ_solo05 == 5) { - if (countitem(604) > 4){ + if (countitem(Branch_Of_Dead_Tree) > 4){ mes "[Enjoy]"; mes "Did you do as I told you to do?!!!"; mes "Did you bring branch of dead trees?Let me see~~!!"; @@ -409,7 +409,7 @@ prontera,155,285,3 script Enjoy#enjoy 4_M_MONK,{ donpcevent "Mas#mas02::OnCommandEmotion"; donpcevent "Event#event02::OnCommandEmotion"; misceffect EF_HITLINE2; - delitem 604,5; //Branch_of_Dead_Tree + delitem Branch_Of_Dead_Tree,5; //Branch_of_Dead_Tree christ_solo05 = 6; donpcevent "Happymerry#happymerry02::OnCommandOff"; donpcevent "Christ#christ02::OnCommandOff"; @@ -1127,7 +1127,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ close; } else if (christ_carol05 == 2) { - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -1145,7 +1145,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "to store some of your items.^000000"; close; } - if (countitem(1097) > 0) { + if (countitem(Worn_Out_Page) > 0) { mes "[Oholy]"; mes "Oh, my gracious! "; mes "You have brought me the book!"; @@ -1198,9 +1198,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "There are many sweets in them."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 12130,7;//Cookie_Bag + getitem Cookie_Bag,7; close; case 2: mes "[Oholy]"; @@ -1210,9 +1210,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Very sweet and delicious."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 529,20;//Candy + getitem Candy,20; close; case 3: mes "[Oholy]"; @@ -1222,9 +1222,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Very sweet and delicious."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 530,15;//Candy_Striper + getitem Candy_Striper,15; close; case 4: mes "[Oholy]"; @@ -1234,9 +1234,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Very soft and delicious."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 539,5;//Piece_of_Cake + getitem Piece_Of_Cake,5;//Piece_of_Cake close; case 5: mes "[Oholy]"; @@ -1246,9 +1246,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Very crispy and delicious."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 538,10;//Well_baked_Cookie + getitem Well_Baked_Cookie,10;//Well_baked_Cookie close; case 6: mes "[Oholy]"; @@ -1258,9 +1258,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Very cute."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 743,1;//Spore_Doll + getitem Spore_Doll,1; close; case 7: mes "[Oholy]"; @@ -1270,9 +1270,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Oops, oh well."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 750,1;//Baphomet_Doll + getitem Baphomet_Doll,1; close; case 8: mes "[Oholy]"; @@ -1282,9 +1282,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Oops, oh well."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 751,1;//Osiris_Doll + getitem Osiris_Doll,1; close; case 9: mes "[Oholy]"; @@ -1294,9 +1294,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Very kind of him."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 752,1;//Grasshopper_Doll + getitem Grasshopper_Doll,1; close; case 10: @@ -1307,9 +1307,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Very kind of him."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 753,1;//Monkey_Doll + getitem Monkey_Doll,1; close; case 11: mes "[Oholy]"; @@ -1319,9 +1319,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Very kind of him."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 754,1;//Raccoondog_Doll + getitem Raccoondog_Doll,1; close; case 12: mes "[Oholy]"; @@ -1332,9 +1332,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Hope she is doing okay."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 7206,1;//Black_Kitty_Doll + getitem Black_Kitty_Doll,1; close; case 13: mes "[Oholy]"; @@ -1343,9 +1343,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "Isn't it adorable?!"; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 7212,1;//Hanging_Doll + getitem Hanging_Doll,1; close; case 14: mes "[Oholy]"; @@ -1356,9 +1356,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "with his passion."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 7277,1;//Munak_Doll + getitem Munak_Doll,1; close; case 15: mes "[Oholy]"; @@ -1368,9 +1368,9 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ mes "It is not a common hat."; mes "Merry Christmas!"; emotion e_heh; - delitem 1097,1;//Worn_Out_Page + delitem Worn_Out_Page,1; christ_carol05 = 3; - getitem 2236,1;//Santa's_Hat + getitem Santa's_Hat,1; close; } } @@ -1443,7 +1443,7 @@ function script F_carol_devi { mes "Hmm, I think I got what I need."; mes "Let's go back to Ms.Oholy."; christ_carol05 = 2; - getitem 1097,1; //Worn_Out_Page + getitem Worn_Out_Page,1; close; case 2: mes "[Deviruchi]"; diff --git a/npc/events/christmas_2008.txt b/npc/events/christmas_2008.txt index 6286a4289..593a23caf 100644 --- a/npc/events/christmas_2008.txt +++ b/npc/events/christmas_2008.txt @@ -132,7 +132,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{ mes "If you can get ^0000FFSinging Crystal Pieces^000000, give them to me please?"; next; select("Why not? Sure, I can give you some."); - if (countitem(6092) < 6) { + if (countitem(Singing_Crystal_Piece) < 6) { mes "[Caroller]"; mes "Yes, please."; next; @@ -304,7 +304,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{ } if (iROxmas08carol == 1) { - if (countitem(6092) < 6) { + if (countitem(Singing_Crystal_Piece) < 6) { mes "[Caroller]"; mes "Maybe, it's quite hard to make a jukebox for the villages, but a music box might be possible."; next; @@ -370,7 +370,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{ } if (iROxmas08carol == 2) { - if (countitem(1019) < 10 || countitem(1005) < 1 || countitem(7312) < 1 || countitem(938) < 10 || countitem(732) < 1) { + if (countitem(Wooden_Block) < 10 || countitem(Hammer_Of_Blacksmith) < 1 || countitem(Jubilee) < 1 || countitem(Sticky_Mucus) < 10 || countitem(Crystal_Jewel__) < 1) { mes "[Caroller]"; mes "We can make a music box with Singing Crystal Pieces."; mes "It's handy, you can hear carols anywhere. Sounds cool?"; @@ -800,7 +800,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 4_F_06,{ mes "[Louise Kim]"; mes "If you bring me all that stuff, I can make you a glamorous Santa costume."; next; - if (countitem(2301) < 1 || countitem(501) < 3 || countitem(523) < 1 || countitem(7175) < 4 || countitem(7174) < 1) { + if (countitem(Cotton_Shirt) < 1 || countitem(Red_Potion) < 3 || countitem(Holy_Water) < 1 || countitem(Packing_Paper) < 4 || countitem(Packing_Ribbon) < 1) { mes "[Louise Kim]"; mes "If you were to bring me all the stuff, I would make you a wonderful costume, for free..."; next; diff --git a/npc/events/easter_2008.txt b/npc/events/easter_2008.txt index 3e8a1bcac..48417f8bd 100644 --- a/npc/events/easter_2008.txt +++ b/npc/events/easter_2008.txt @@ -122,7 +122,7 @@ prontera,111,99,5 script Egg Salesman#prt::EggVendor 4W_M_02,{ close; } else { - if (checkweight(7605,.@input) == 0) { + if (checkweight(Chicken_Egg,.@input) == 0) { mes "[Egg Salesman]"; mes "Hey, I know you really"; mes "want to buy some Chicken"; @@ -141,7 +141,7 @@ prontera,111,99,5 script Egg Salesman#prt::EggVendor 4W_M_02,{ mes "about that. Well, have a good"; mes "time, and I'll see you again!"; Zeny -= .@egg_zeny; - getitem 7605,.@input; //Chicken_Egg + getitem Chicken_Egg,.@input; close; } } @@ -281,7 +281,7 @@ prontera,230,312,3 script Nerlen#es07 1_F_PRIEST,{ next; } else { - if ((countitem(509) < .@input) || (countitem(511) < .@input) || (countitem(508) < .@input) || (countitem(523) < .@input) || (countitem(7605) < .@input)) { + if ((countitem(White_Herb) < .@input) || (countitem(Green_Herb) < .@input) || (countitem(Yellow_Herb) < .@input) || (countitem(Holy_Water) < .@input) || (countitem(Chicken_Egg) < .@input)) { mes "[Nerlen]"; mes "I'm sorry, but you don't"; mes "have enough items to make"; @@ -302,7 +302,7 @@ prontera,230,312,3 script Nerlen#es07 1_F_PRIEST,{ } } } - if (checkweight(12019,.@input) == 0) { + if (checkweight(Holy_Egg,.@input) == 0) { mes "[Nerlen]"; mes "I'm sorry, but you"; mes "won't be able to carry"; @@ -312,12 +312,12 @@ prontera,230,312,3 script Nerlen#es07 1_F_PRIEST,{ close; } else { - delitem 509,.@input; //White_Herb - delitem 511,.@input; //Green_Herb - delitem 508,.@input; //Yellow_Herb - delitem 523,.@input; //Holy_Water - delitem 7605,.@input; //Egg - getitem 12019,.@input; //Holy_Egg + delitem White_Herb,.@input; + delitem Green_Herb,.@input; + delitem Yellow_Herb,.@input; + delitem Holy_Water,.@input; + delitem Chicken_Egg,.@input; //Egg + getitem Holy_Egg,.@input; mes "[Nerlen]"; mes "Thank you!"; mes "I hope you enjoy"; @@ -341,7 +341,7 @@ morocc,131,26,5 script Secret Corps#egg 4_M_MASKMAN,{ mes "Death... It's inescapable."; mes "Even you'll die someday. But..."; next; - if (countitem(12019) > 0) { + if (countitem(Holy_Egg) > 0) { mes "[Corps Member]"; mes "Oh, yes. That's it."; mes "You have it. The egg you"; @@ -402,16 +402,16 @@ morocc,131,26,5 script Secret Corps#egg 4_M_MASKMAN,{ mes "First, let me check if you"; mes "brought the Holy Eggs..."; next; - if (countitem(12019) > 9) { + if (countitem(Holy_Egg) > 9) { mes "[Corps Member]"; mes "Very well. In return"; mes "for these Holy Eggs, let"; mes "me give you a small present"; mes "for joining us. Now, I can"; mes "tell you about what we do."; - delitem 12019,10; //Holy_Egg + delitem Holy_Egg,10; easter2008 = 3; - getitem 644,2; //Gift_Box + getitem Gift_Box,2; next; mes "[Corps Member]"; mes "^333333*Cough Cough*^000000"; @@ -474,7 +474,7 @@ morocc,131,26,5 script Secret Corps#egg 4_M_MASKMAN,{ next; switch(select("Give Holy Eggs:Don't Give Holy Eggs")) { case 1: - if (countitem(12019) > 32) { + if (countitem(Holy_Egg) > 32) { mes "[Corps Member]"; mes "Ah, these will do!"; mes "Now, make a note of the"; @@ -658,7 +658,7 @@ pay_dun00,22,127,0 script Trace#egg1 CLEAR_NPC,{ mes "Time to use all of"; mes "these Holy Eggs."; next; - if (countitem(12019) > 32) { + if (countitem(Holy_Egg) > 32) { mes "[" + strcharinfo(0) + "]"; mes "Here we go..."; mes "Will this really bring"; @@ -679,7 +679,7 @@ pay_dun00,22,127,0 script Trace#egg1 CLEAR_NPC,{ mes "that Corps Member and let"; mes "him know that it didn't work."; close2; - delitem 12019,33; //Holy_Egg + delitem Holy_Egg,33; easter2008 = 9; end; } @@ -710,7 +710,7 @@ iz_dun02,340,346,0 script Trace#egg CLEAR_NPC,{ mes "Time to use all of"; mes "these Holy Eggs."; next; - if (countitem(12019) > 32) { + if (countitem(Holy_Egg) > 32) { mes "[" + strcharinfo(0) + "]"; mes "Here we go..."; mes "Will this really bring"; @@ -731,7 +731,7 @@ iz_dun02,340,346,0 script Trace#egg CLEAR_NPC,{ mes "that Corps Member and let"; mes "him know that it didn't work."; close2; - delitem 12019,33; //Holy_Egg + delitem Holy_Egg,33; easter2008 = 9; end; } @@ -762,7 +762,7 @@ mjo_dun03,308,256,0 script Trace#egg2 CLEAR_NPC,{ mes "Time to use all of"; mes "these Holy Eggs."; next; - if (countitem(12019) > 32) { + if (countitem(Holy_Egg) > 32) { mes "[" + strcharinfo(0) + "]"; mes "Here we go..."; mes "Will this really bring"; @@ -783,7 +783,7 @@ mjo_dun03,308,256,0 script Trace#egg2 CLEAR_NPC,{ mes "that Corps Member and let"; mes "him know that it didn't work."; close2; - delitem 12019,33; //Holy_Egg + delitem Holy_Egg,33; easter2008 = 9; end; } @@ -814,7 +814,7 @@ gl_prison,157,176,0 script Trace#egg3 CLEAR_NPC,{ mes "Time to use all of"; mes "these Holy Eggs."; next; - if (countitem(12019) > 32) { + if (countitem(Holy_Egg) > 32) { mes "[" + strcharinfo(0) + "]"; mes "Here we go..."; mes "Will this really bring"; @@ -835,7 +835,7 @@ gl_prison,157,176,0 script Trace#egg3 CLEAR_NPC,{ mes "that Corps Member and let"; mes "him know that it didn't work."; close2; - delitem 12019,33; //Holy_Egg + delitem Holy_Egg,33; easter2008 = 9; end; } diff --git a/npc/events/easter_2010.txt b/npc/events/easter_2010.txt index fc6399663..18979e744 100644 --- a/npc/events/easter_2010.txt +++ b/npc/events/easter_2010.txt @@ -244,7 +244,7 @@ prontera,202,297,3 script Rina#Easter 4_F_JOB_HUNTER,{ mes "My curse has been released."; mes "Thank you so much."; next; - if (checkweight(5852,1) == 0) { + if (checkweight(Easter_Egg_Shell,1) == 0) { mes "[Rina]"; mes "Your bag is too full."; mes "I have a present for you"; @@ -253,7 +253,7 @@ prontera,202,297,3 script Rina#Easter 4_F_JOB_HUNTER,{ close; } completequest 9123; - getitem 5852,1; //Easter_Egg_Shell + getitem Easter_Egg_Shell,1; .@BaseExp = (BaseLevel * (BaseLevel / 4)) * ((BaseLevel / 29) + (BaseLevel / 6)) + (5 * BaseLevel / 2); if (ADVJOB == 0) { if (BaseLevel < 40) .@nBaseExp = .@BaseExp; @@ -377,7 +377,7 @@ prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{ .@nCharge = 480000; } else .@nCharge = 500000; - if (countitem(574) < 1 || countitem(1001) < 20 || Zeny < .@nCharge) { + if (countitem(Egg) < 1 || countitem(Sparkling_Dust) < 20 || Zeny < .@nCharge) { mes "[Rina's Little Friend]"; mes "Hmm."; mes "The material is not enough."; @@ -400,8 +400,8 @@ prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{ mes "^787878( A mysterious atmosphere hangs in the air. )^000000"; next; specialeffect EF_ASPERSIO; - delitem 574,1; //Egg - delitem 1001,20; //Sparkling_Dust + delitem Egg,1; + delitem Sparkling_Dust,20; Zeny -= .@nCharge; .@nPercentage = rand(1,100); if (.@nPercentage <= 41) { @@ -410,21 +410,21 @@ prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{ mes "Aaaaah~ I got to take some rest."; mes "Good bye~!"; if (.@nPercentage <= 12) - getitem 9003,1; //Poporing_Egg + getitem Poporing_Egg,1; else if (.@nPercentage <= 24) - getitem 9005,1; //Picky_Egg + getitem Picky_Egg,1; else if (.@nPercentage <= 36) - getitem 9009,1; //Savage_Bebe_Egg + getitem Savage_Bebe_Egg,1; else - getitem 9023,1; //Deviruchi_Egg + getitem Deviruchi_Egg,1; close2; emotion e_yawn; end; } else if (.@nPercentage <= 60) { if (.@nPercentage >= 42 && .@nPercentage <= 45) - getitem 5852,1; //Easter_Egg_Shell + getitem Easter_Egg_Shell,1; else - getitem 12019,5; //Holy_Egg + getitem Holy_Egg,5; mes "[Rina's Little Friend]"; mes "It seems that you have quite interesting things."; mes "I need to take some rest."; @@ -434,11 +434,11 @@ prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{ end; } else if (.@nPercentage <= 85) { if (.@nPercentage >= 61 && .@nPercentage <= 75) { - getitem 1001,20; //Sparkling_Dust - getitem 607,1; //Yggdrasilberry + getitem Sparkling_Dust,20; + getitem Yggdrasilberry,1; } else { - getitem 574,1; //Egg - getitem 608,2; //Seed_Of_Yggdrasil + getitem Egg,1; + getitem Seed_Of_Yggdrasil,2; } mes "[Rina's Little Friend]"; mes "There was no change."; @@ -448,7 +448,7 @@ prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{ emotion e_dum; close; } else { - getitem 12093,2; //Dex_Dish08 + getitem Dex_Dish08,2; mes "[Rina's Little Friend]"; mes "Hmm."; mes "It became a dish."; diff --git a/npc/events/gdevent_aru.txt b/npc/events/gdevent_aru.txt index bb18bd76b..b917a414b 100644 --- a/npc/events/gdevent_aru.txt +++ b/npc/events/gdevent_aru.txt @@ -122,7 +122,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{ mes "He stole my Pickaxe!"; mes "I can't live without it..."; next; - if (countitem(6010) > 0) { + if (countitem(Pickaxe) > 0) { mes "[" + strcharinfo(0) + "]"; mes "Is this the pickaxe that you've been looking for?"; next; @@ -172,7 +172,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{ mes "Alright! Let's go."; mes "If your friends visit me again later, I will guide them to that area again."; mes "Don't forget, dwarves are grateful beings! Hahaha!"; - delitem 6010,1; //Pickaxe + delitem Pickaxe,1; $@gdeventv_a1 = 1; $@gdevents_a$ = .@chk_yourgdname$; close2; @@ -254,7 +254,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{ mes "He stole my Pickaxe!"; mes "I can't live without it..."; next; - if (countitem(6010) > 0) { + if (countitem(Pickaxe) > 0) { mes "[" + strcharinfo(0) + "]"; mes "Is this the pickaxe that you've been looking for?"; next; @@ -304,7 +304,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{ mes "Alright! Let's go."; mes "If your friends visit me again later, I will guide them to that area again."; mes "Don't forget, dwarves are grateful beings! Hahaha!"; - delitem 6010,1; //Pickaxe + delitem Pickaxe,1; $@gdeventv_a1 = 1; $@gdevents_a$ = .@chk_yourgdname$; close2; @@ -397,7 +397,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{ mes "He stole my Pickaxe!"; mes "I can't live without it..."; next; - if (countitem(6010) > 0) { + if (countitem(Pickaxe) > 0) { mes "[" + strcharinfo(0) + "]"; mes "Is this the pickaxe that you've been looking for?"; next; @@ -447,7 +447,7 @@ arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{ mes "Alright! Let's go."; mes "If your friends visit me again later, I will guide them to that area again."; mes "Don't forget, dwarves are grateful beings! Hahaha!"; - delitem 6010,1; //Pickaxe + delitem Pickaxe,1; $@gdeventv_a1 = 1; $@gdevents_a$ = .@chk_yourgdname$; close2; @@ -513,7 +513,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ else { setnpcdisplay "Pierrot Pier#aru_gd", 4_CAT; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait!! -"; mes "- You're carrying too many items, -"; mes "- you can't receive the materials. -"; @@ -693,7 +693,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ mes "[Pierrot Pier]"; mes "Let me see..."; next; - if (countitem(6031) > 0) { + if (countitem(Glitering_PaperB) > 0) { donpcevent "Controller#gdevent_a::OnStop"; $@gdeventv_a2 = 3; donpcevent "eff_mvp#aru_gd::OnMVP"; @@ -702,11 +702,11 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ mes "Success~!!"; mes "What a success~!!"; mapannounce "arug_que01", "Pierrot Pier: Wow~~!! Success~!! What a success~!!",bc_map,"0x99CC00"; - delitem 6031,1; //Glitering_PaperB + delitem Glitering_PaperB,1; close; } else { - if (countitem(6030) > 0) { + if (countitem(Glitering_PaperA) > 0) { mes "[Pierrot Pier]"; mes "Ahh, what a shame, it seems like you haven't found the treasure map yet."; mes "Quickly! Your time is running out! Hurry up!"; @@ -804,7 +804,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ mapannounce "arug_que01", "Pierrot Pier: Here, take Pierre's Treasure Boxes.",bc_map,"0x99CC00"; donpcevent "eff_mvp#aru_gd::OnMVP"; $@gdeventv_a2 = 5; - getitem 14596,10; //Pierre_Treasurebox + getitem Pierre_Treasurebox,10; close; } else if ($@gdeventv_a2 == 4) { @@ -834,7 +834,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ mes "[Pierrot Pier]"; mes "Let me see."; next; - if (countitem(6031) > 0) { + if (countitem(Glitering_PaperB) > 0) { donpcevent "Controller#gdevent_a::OnStop"; $@gdeventv_a2 = 3; donpcevent "eff_mvp#aru_gd::OnMVP"; @@ -842,11 +842,11 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ mes "Wow~~!!"; mes "Success~!!"; mes "What a success~!!"; - delitem 6031,1; //Glitering_PaperB + delitem Glitering_PaperB,1; close; } else { - if (countitem(6030) > 0) { + if (countitem(Glitering_PaperA) > 0) { mes "[Pierrot Pier]"; mes "Ahh, what a shame, it seems like you haven't found the treasure map yet."; mes "Quickly! Your time is running out! Hurry up!"; @@ -944,7 +944,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ mes "[Pierrot Pier]"; mes "Let me see..."; next; - if (countitem(6031) > 0) { + if (countitem(Glitering_PaperB) > 0) { donpcevent "Controller#gdevent_a::OnStop"; $@gdeventv_a2 = 3; donpcevent "eff_mvp#aru_gd::OnMVP"; @@ -953,11 +953,11 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ mes "Success~!!"; mes "What a success~!!"; mapannounce "arug_que01", "Pierrot Pier: Wow~~!! Success~!! What a success~!!",bc_map,"0x99CC00"; - delitem 6031,1; //Glitering_PaperB + delitem Glitering_PaperB,1; close; } else { - if (countitem(6030) > 0) { + if (countitem(Glitering_PaperA) > 0) { mes "[Pierrot Pier]"; mes "Ahh, what a shame, it seems like you haven't found the treasure map yet."; mes "Quickly! Your time is running out! Hurry up!"; @@ -1008,7 +1008,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ mes "[Pierrot Pier]"; mes "Let me see..."; next; - if (countitem(6031) > 0) { + if (countitem(Glitering_PaperB) > 0) { donpcevent "Controller#gdevent_a::OnStop"; $@gdeventv_a2 = 3; donpcevent "eff_mvp#aru_gd::OnMVP"; @@ -1016,11 +1016,11 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ mes "Wow~~!!"; mes "Success~!!"; mes "What a success~!!"; - delitem 6031,1; //Glitering_PaperB + delitem Glitering_PaperB,1; close; } else { - if (countitem(6030) > 0) { + if (countitem(Glitering_PaperA) > 0) { mes "[Pierrot Pier]"; mes "Ahh, what a shame, it seems like you haven't found the treasure map yet."; mes "Quickly! Your time is running out! Hurry up!"; @@ -1334,11 +1334,11 @@ OnInit: end; OnTouch2: - .@paper_aru_gd = countitem(6030); - .@spaper_aru_gd = countitem(6031); + .@paper_aru_gd = countitem(Glitering_PaperA); + .@spaper_aru_gd = countitem(Glitering_PaperB); if ((.@paper_aru_gd > 0) || (.@spaper_aru_gd > 0)) { - delitem 6030,.@paper_aru_gd; //Glitering_PaperA - delitem 6031,.@spaper_aru_gd; //Glitering_PaperB + delitem Glitering_PaperA,.@paper_aru_gd; + delitem Glitering_PaperB,.@spaper_aru_gd; } end; } diff --git a/npc/events/gdevent_sch.txt b/npc/events/gdevent_sch.txt index 3c92fcd53..871126098 100644 --- a/npc/events/gdevent_sch.txt +++ b/npc/events/gdevent_sch.txt @@ -122,7 +122,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{ mes "He stole my Pickaxe!"; mes "I can't live without it..."; next; - if (countitem(6010) > 0) { + if (countitem(Pickaxe) > 0) { mes "[" + strcharinfo(0) + "]"; mes "Is this the pickaxe that you've been looking for?"; next; @@ -172,7 +172,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{ mes "Alright! Let's go."; mes "If your friends visit me again later, I will guide them to that area again."; mes "Don't forget, dwarves are grateful beings! Hahaha!"; - delitem 6010,1; //Pickaxe + delitem Pickaxe,1; $@gdeventv_s1 = 1; $@gdevents_s$ = .@chk_yourgdname$; close2; @@ -254,7 +254,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{ mes "He stole my Pickaxe!"; mes "I can't live without it..."; next; - if (countitem(6010) > 0) { + if (countitem(Pickaxe) > 0) { mes "[" + strcharinfo(0) + "]"; mes "Is this the pickaxe that you've been looking for?"; next; @@ -304,7 +304,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{ mes "Alright! Let's go."; mes "If your friends visit me again later, I will guide them to that area again."; mes "Don't forget, dwarves are grateful beings! Hahaha!"; - delitem 6010,1; //Pickaxe + delitem Pickaxe,1; $@gdeventv_s1 = 1; $@gdevents_s$ = .@chk_yourgdname$; close2; @@ -396,7 +396,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{ mes "He stole my Pickaxe!"; mes "I can't live without it..."; next; - if (countitem(6010) > 0) { + if (countitem(Pickaxe) > 0) { mes "[" + strcharinfo(0) + "]"; mes "Is this the pickaxe that you've been looking for?"; next; @@ -446,7 +446,7 @@ schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{ mes "Alright! Let's go."; mes "If your friends visit me again later, I will guide them to that area again."; mes "Don't forget, dwarves are grateful beings! Hahaha!"; - delitem 6010,1; //Pickaxe + delitem Pickaxe,1; $@gdeventv_s1 = 1; $@gdevents_s$ = .@chk_yourgdname$; close2; @@ -512,7 +512,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ else { setnpcdisplay "Pierrot Pier#sch_gd", 4_CAT; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait!! -"; mes "- You're carrying too many items, -"; mes "- you can't receive the materials. -"; @@ -692,7 +692,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ mes "[Pierrot Pier]"; mes "Let me see..."; next; - if (countitem(6031) > 0) { + if (countitem(Glitering_PaperB) > 0) { donpcevent "Controller#gdevent_s::OnStop"; $@gdeventv_s2 = 3; donpcevent "eff_mvp#sch_gd::OnMVP"; @@ -701,11 +701,11 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ mes "Success~!!"; mes "What a success~!!"; mapannounce "schg_que01", "Pierrot Pier: Wow~~!! Success~!! What a success~!!",bc_map,"0x99CC00"; - delitem 6031,1; //Glitering_PaperB + delitem Glitering_PaperB,1; close; } else { - if (countitem(6030) > 0) { + if (countitem(Glitering_PaperA) > 0) { mes "[Pierrot Pier]"; mes "Ahh, what a shame, it seems like you haven't found the treasure map yet."; mes "Quickly! Your time is running out! Hurry up!"; @@ -803,7 +803,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ mapannounce "schg_que01", "Pierrot Pier: Here, take Pierre's Treasure Boxes.",bc_map,"0x99CC00"; donpcevent "eff_mvp#sch_gd::OnMVP"; $@gdeventv_s2 = 5; - getitem 14596,10; //Pierre_Treasurebox + getitem Pierre_Treasurebox,10; close; } else if ($@gdeventv_s2 == 4) { @@ -833,7 +833,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ mes "[Pierrot Pier]"; mes "Let me see."; next; - if (countitem(6031) > 0) { + if (countitem(Glitering_PaperB) > 0) { donpcevent "Controller#gdevent_s::OnStop"; $@gdeventv_s2 = 3; donpcevent "eff_mvp#sch_gd::OnMVP"; @@ -841,11 +841,11 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ mes "Wow~~!!"; mes "Success~!!"; mes "What a success~!!"; - delitem 6031,1; //Glitering_PaperB + delitem Glitering_PaperB,1; close; } else { - if (countitem(6030) > 0) { + if (countitem(Glitering_PaperA) > 0) { mes "[Pierrot Pier]"; mes "Ahh, what a shame, it seems like you haven't found the treasure map yet."; mes "Quickly! Your time is running out! Hurry up!"; @@ -943,7 +943,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ mes "[Pierrot Pier]"; mes "Let me see..."; next; - if (countitem(6031) > 0) { + if (countitem(Glitering_PaperB) > 0) { donpcevent "Controller#gdevent_s::OnStop"; $@gdeventv_s2 = 3; donpcevent "eff_mvp#sch_gd::OnMVP"; @@ -952,11 +952,11 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ mes "Success~!!"; mes "What a success~!!"; mapannounce "schg_que01", "Pierrot Pier: Wow~~!! Success~!! What a success~!!",bc_map,"0x99CC00"; - delitem 6031,1; //Glitering_PaperB + delitem Glitering_PaperB,1; close; } else { - if (countitem(6030) > 0) { + if (countitem(Glitering_PaperA) > 0) { mes "[Pierrot Pier]"; mes "Ahh, what a shame, it seems like you haven't found the treasure map yet."; mes "Quickly! Your time is running out! Hurry up!"; @@ -1007,7 +1007,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ mes "[Pierrot Pier]"; mes "Let me see..."; next; - if (countitem(6031) > 0) { + if (countitem(Glitering_PaperB) > 0) { donpcevent "Controller#gdevent_s::OnStop"; $@gdeventv_s2 = 3; donpcevent "eff_mvp#sch_gd::OnMVP"; @@ -1015,11 +1015,11 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ mes "Wow~~!!"; mes "Success~!!"; mes "What a success~!!"; - delitem 6031,1; //Glitering_PaperB + delitem Glitering_PaperB,1; close; } else { - if (countitem(6030) > 0) { + if (countitem(Glitering_PaperA) > 0) { mes "[Pierrot Pier]"; mes "Ahh, what a shame, it seems like you haven't found the treasure map yet."; mes "Quickly! Your time is running out! Hurry up!"; @@ -1331,11 +1331,11 @@ OnInit: end; OnTouch2: - .@paper_sch_gd = countitem(6030); - .@spaper_sch_gd = countitem(6031); + .@paper_sch_gd = countitem(Glitering_PaperA); + .@spaper_sch_gd = countitem(Glitering_PaperB); if ((.@paper_sch_gd > 0) || (.@spaper_sch_gd > 0)) { - delitem 6030,.@paper_sch_gd; //Glitering_PaperA - delitem 6031,.@spaper_sch_gd; //Glitering_PaperB + delitem Glitering_PaperA,.@paper_sch_gd; + delitem Glitering_PaperB,.@spaper_sch_gd; } end; } diff --git a/npc/events/god_se_festival.txt b/npc/events/god_se_festival.txt index 57e58fe0f..455aad8bc 100644 --- a/npc/events/god_se_festival.txt +++ b/npc/events/god_se_festival.txt @@ -67,7 +67,7 @@ yuno,1,1,0 script Festival Manager#gq_fes0 4_F_HUGIRL,{ yuno,118,192,5 script Rmimi Ravies#gq_fes01 4_F_HUGIRL,{ .@GID = getcharid(2); - if (countitem(7840) > 0) { + if (countitem(Valkyrie_Gift) > 0) { mes "[Rmimi Ravies]"; mes "This is the flower."; mes "This is just a formality, but let me check your qualifications."; @@ -136,7 +136,7 @@ yuno,118,192,5 script Rmimi Ravies#gq_fes01 4_F_HUGIRL,{ if ($@gqse_festival == 0) { mes "[Rmimi Ravies]"; mes "Ok, we would ge started to summon monsters."; - delitem 7840,1; //Valkyrie's_Gift + delitem Valkyrie_Gift,1; //Valkyrie's_Gift next; mes "[Rmimi Ravies]"; mes "Have a good time."; @@ -443,7 +443,7 @@ rachel,1,1,0 script Festival Manager#gq_fes2 4_F_HUGIRL,{ rachel,132,117,3 script Rhehe Ravies#gq_fes03 4_F_HUGIRL,{ .@GID = getcharid(2); - if (countitem(7840) > 0) { + if (countitem(Valkyrie_Gift) > 0) { mes "[Rhehe Ravies]"; mes "A flower!!"; mes "Shall we proceed?"; @@ -516,7 +516,7 @@ rachel,132,117,3 script Rhehe Ravies#gq_fes03 4_F_HUGIRL,{ if ($@gqse_festival == 0) { mes "[Rhehe Ravies]"; mes "Good! Now seems like a good time, so let's begin!"; - delitem 7840,1; //Valkyrie_Gift + delitem Valkyrie_Gift,1; next; mes "[Rhehe Ravies]"; mes "I hope you enjoy yourself!"; 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; 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; diff --git a/npc/events/idul_fitri.txt b/npc/events/idul_fitri.txt index 7bb5e81a9..a403d6b96 100644 --- a/npc/events/idul_fitri.txt +++ b/npc/events/idul_fitri.txt @@ -62,7 +62,7 @@ prontera,146,92,3 script Cellerb 1_M_MERCHANT,{ mes "^000088~2 Green Herb, 5 Stem~.^000000"; next; mes "[Staff Idul Fitri]"; - if ( (countitem(552)<5 || countitem(515)<5 ||countitem(516)<5 || countitem(517)<10 || countitem(511)<2 || countitem(905)<5) ) { + if ( (countitem(KETUPAT)<5 || countitem(Carrot)<5 ||countitem(Sweet_Potato)<5 || countitem(Meat)<10 || countitem(Green_Herb)<2 || countitem(Stem)<5) ) { mes "You don't have enough items."; mes "Come back when you have them all."; close; diff --git a/npc/events/lunar_2008.txt b/npc/events/lunar_2008.txt index 9569bc1b8..e4cde292b 100644 --- a/npc/events/lunar_2008.txt +++ b/npc/events/lunar_2008.txt @@ -105,24 +105,24 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{ close; } else if ((lunar_rat >= 1 && lunar_rat <= 2) || lunar_rat == 4) { - if (countitem(7770) >= 1 && lunar_rat == 2) { + if (countitem(Sweet_Rice) >= 1 && lunar_rat == 2) { mes "Oh, is that the"; mes "Sweet Rice my son made?"; mes "Would you let me have it?"; mes "Please wait here a moment,"; mes "and I'll make you some pastry~"; - delitem 7770,1; //Sweet_rice + delitem Sweet_Rice,1; //Sweet_rice lunar_rat = 3; close; } else if (lunar_rat == 4) { - if (countitem(7770) >= 1) { + if (countitem(Sweet_Rice) >= 1) { mes "Oh, is that the"; mes "Sweet Rice my son made?"; mes "Would you let me have it?"; mes "Please wait here a moment,"; mes "and I'll make you some pastry~"; - delitem 7770,1; //Sweet_rice + delitem Sweet_Rice,1; //Sweet_rice lunar_rat = 5; close; } @@ -131,7 +131,7 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{ mes "them to make more rice cakes..."; close; } - else if (countitem(7869) < 1 && lunar_rat <= 2) { + else if (countitem(RicePouch) < 1 && lunar_rat <= 2) { mes "Ooh, those white and"; mes "blue mouses might have"; mes "snatched my Rice Pouches"; @@ -153,23 +153,23 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{ .@reward = rand(1,100); if (.@reward <= 5) { if (lunar_rat == 3) { - getitem 9038,1; // New_Year_Doll_Egg + getitem New_Year_Doll_Egg,1; // New_Year_Doll_Egg lunar_rat = 4; } else if (lunar_rat == 5) { - getitem 668,1; // Red_Envelope + getitem Handsei,1; // Red_Envelope } } - else if (.@reward >= 6 && .@reward <= 10) getitem 12198,2; // Lucky_Rice_Cake - else if (.@reward >= 11 && .@reward <= 30) getitem 12195,3; // Plain_Rice_Cake - else if (.@reward >= 31 && .@reward <= 40) getitem 12196,2; // Hearty_Rice_Cake - else if (.@reward >= 41 && .@reward <= 55) getitem 12123,2; // Honey_Pastry - else if (.@reward >= 56 && .@reward <= 70) getitem 12122,2; // Sesame_Pastry - else if (.@reward >= 71 && .@reward <= 80) getitem 12124,2; // Rainbow_Cake - else if (.@reward >= 81 && .@reward <= 90) getitem 12198,2; // Korean_Rice_Cake - else if (.@reward >= 91 && .@reward <= 100) getitem 12197,3; // Salty_Rice_Cake + else if (.@reward >= 6 && .@reward <= 10) getitem Lucky_Rice_Cake,2; // Lucky_Rice_Cake + else if (.@reward >= 11 && .@reward <= 30) getitem Plain_Rice_Cake,3; // Plain_Rice_Cake + else if (.@reward >= 31 && .@reward <= 40) getitem Hearty_Rice_Cake,2; // Hearty_Rice_Cake + else if (.@reward >= 41 && .@reward <= 55) getitem Honey_Pastry,2; // Honey_Pastry + else if (.@reward >= 56 && .@reward <= 70) getitem Sesame_Pastry,2; // Sesame_Pastry + else if (.@reward >= 71 && .@reward <= 80) getitem Rainbow_Cake,2; // Rainbow_Cake + else if (.@reward >= 81 && .@reward <= 90) getitem Lucky_Rice_Cake,2; // Korean_Rice_Cake + else if (.@reward >= 91 && .@reward <= 100) getitem Salty_Rice_Cake,3; // Salty_Rice_Cake // After getting the egg there is a chance to get an envelope with each turn in - if (rand(1,20) <= 5 && lunar_rat == 4) getitem 668,1; // Red_Envelope + if (rand(1,20) <= 5 && lunar_rat == 4) getitem Handsei,1; // Red_Envelope // Set the quest accordingly for repeat turn-ins. if (lunar_rat == 3) lunar_rat = 2; else if (lunar_rat == 5) lunar_rat = 4; @@ -209,7 +209,7 @@ payon,215,127,4 script Rice Mill Man#rat 1_M_JOBGUIDER,{ close; } else if (lunar_rat >= 2) { - if (countitem(7869) < 1) { + if (countitem(RicePouch) < 1) { mes "If you bring me some"; mes "Rice Pouches, then I can"; mes "pound into into Sweet Rice."; @@ -236,8 +236,8 @@ payon,215,127,4 script Rice Mill Man#rat 1_M_JOBGUIDER,{ mes "be made into pastries"; mes "Would you please bring"; mes "this to my mother?"; - delitem 7869,1; //Rice_Pouch - getitem 7770,1; //Sweet_Rice + delitem RicePouch,1; //Rice_Pouch + getitem Sweet_Rice,1; close; } } @@ -245,7 +245,7 @@ payon,215,127,4 script Rice Mill Man#rat 1_M_JOBGUIDER,{ //payon,126,113,4 script Miss Lunar#rat 4_F_LGTGIRL,{ payon,126,113,4 script Miss Lunar#rat 4_F_NACORURI,{ mes "[Lunar]"; - if ((MaxWeight-Weight) < 3000 || checkweight(1201,1) == 0) { + if ((MaxWeight-Weight) < 3000 || checkweight(Knife,1) == 0) { mes "Oh, I'm sorry, but we"; mes "can't do any business if"; mes "you're carry so much stuff."; @@ -277,7 +277,7 @@ payon,126,113,4 script Miss Lunar#rat 4_F_NACORURI,{ if (select("Yes:No") == 1) { if (Zeny >= 3000) { Zeny -= 3000; - getitem 554,10; // Mojji + getitem Mojji,10; // Mojji mes "[Lunar]"; mes "Thank you, and I hope you"; mes "have a happy new year!"; diff --git a/npc/events/valentinesday.txt b/npc/events/valentinesday.txt index 5363a44bd..4f9145b46 100644 --- a/npc/events/valentinesday.txt +++ b/npc/events/valentinesday.txt @@ -120,7 +120,7 @@ prt_castle,54,34,4 script Carl Orleans 1_M_01,{ mes "Well, I just might be able to fulfill your needs..."; next; mes "[Carl Orleans]"; - if (countitem(558) < 3) { + if (countitem(Chocolate) < 3) { mes "I'm sorry, you don't have enough Chocolate Bars to do this."; close; } delitem 558,3; diff --git a/npc/events/valentinesday_2009.txt b/npc/events/valentinesday_2009.txt index ca707918e..52f54f036 100644 --- a/npc/events/valentinesday_2009.txt +++ b/npc/events/valentinesday_2009.txt @@ -89,7 +89,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{ next; } } - if (!checkweight(558, .@input)) { + if (!checkweight(Chocolate, .@input)) { mes "[Marco Bassinio]"; mes "You're carrying too many items."; mes "Please use the Kafra Services."; @@ -123,7 +123,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{ mes "You also need to pay 500 zeny to carve your name on the box."; mes "Are you all prepared...?"; next; - if (countitem(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 1 || Zeny < 500) { + if (countitem(Packing_Paper) < 1 || countitem(Packing_Ribbon) < 1 || countitem(Box) < 1 || Zeny < 500) { mes "[Marco Bassinio]"; mes "Hmm.. Looks like you don't have enough materials to decorate the gift box.."; mes "You can't just put your gift into some plain looking box.."; @@ -134,7 +134,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{ mes "Oh, also bring 500 zeny, and don't forget to bring your true loving heart with you!!"; close; } - if (countitem(558) < 1) { + if (countitem(Chocolate) < 1) { mes "[Marco Bassinio]"; mes "Hey, look, adventurer!"; mes "I can't create something right away!"; @@ -144,7 +144,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{ mes "You're not saying that you want an empty chocolate box without any chocolate in it, am I right?"; close; } - if (!checkweight(12744,1)) { + if (!checkweight(Chocotate_Box,1)) { mes "[Marco Bassinio]"; mes "You're carrying too many items."; mes "Please use the Kafra Services."; @@ -208,7 +208,7 @@ prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{ next; break; } - if (!checkweight(7175,.@input)) { + if (!checkweight(Packing_Paper,.@input)) { mes "[Packs Trader]"; mes "You're carrying too many items."; mes "Please use the Kafra Services."; @@ -249,7 +249,7 @@ prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{ next; break; } - if (!checkweight(7174,.@input)) { + if (!checkweight(Packing_Ribbon,.@input)) { mes "[Packs Trader]"; mes "You're carrying too many items."; mes "Please use the Kafra Services."; @@ -290,7 +290,7 @@ prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{ next; break; } - if (!checkweight(7948,.@input)) { + if (!checkweight(Box,.@input)) { mes "[Packs Trader]"; mes "You're carrying too many items."; mes "Please use the Kafra Services."; @@ -381,7 +381,7 @@ prontera,154,185,5 script Event Ring Maker#Val09 4_F_KAFRA7,{ mes "Just follow your heart!"; close; } - if (countitem(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 1 || Zeny < 1000) { + if (countitem(Packing_Paper) < 1 || countitem(Packing_Ribbon) < 1 || countitem(Box) < 1 || Zeny < 1000) { mes "[Event Ring Maker]"; mes "Well, you don't have enough materials to make a gift box."; mes "Check what you have, and come back later with all the materials."; @@ -454,7 +454,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{ } if (Sex) { - if (countitem(7947) > .@input) { + if (countitem(Valentine_Silver_Ring) > .@input) { mes "[Valentine Vote Manager]"; mes "Seems like the value you entered is too small."; mes "I know you've got more. Be honest, dear."; @@ -462,7 +462,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{ break; } - if (countitem(7947) < .@input) { + if (countitem(Valentine_Silver_Ring) < .@input) { mes "[Valentine Vote Manager]"; mes "Seems like the value you entered is too large."; mes "I know you've got less. Be honest, dear."; @@ -482,7 +482,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{ next; break; } else { - if (countitem(7946) > .@input) { + if (countitem(Valentine_Gold_Ring) > .@input) { mes "[Valentine Vote Manager]"; mes "Seems like the value you entered is too small."; mes "I know you've got more. Be honest, dear."; @@ -490,7 +490,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{ break; } - if (countitem(7946) < .@input) { + if (countitem(Valentine_Gold_Ring) < .@input) { mes "[Valentine Vote Manager]"; mes "Seems like the value you entered is too large."; mes "I know you've got less. Be honest, dear."; @@ -568,7 +568,7 @@ prt_castle,42,35,3 script Dessert Manager#Val09 1_M_01,{ mes "Please.. I feel like my soul is lost.."; close; } - if (countitem(558) < 3) { + if (countitem(Chocolate) < 3) { mes "[Charles Orleans]"; mes "Ahhh, Mademoiselle."; mes "I'm not an alchemist, or a magician."; @@ -607,7 +607,7 @@ prt_castle,42,35,3 script Dessert Manager#Val09 1_M_01,{ mes "I'll be waiting for you."; close; } else { - if (!checkweight(559,1)) { + if (!checkweight(HandMade_Chocolate,1)) { mes "[Charles Orleans]"; mes "You're carrying too many items."; mes "Please use the Kafra Services."; diff --git a/npc/events/valentinesday_2012.txt b/npc/events/valentinesday_2012.txt index 04b6a5d77..2f969e10b 100644 --- a/npc/events/valentinesday_2012.txt +++ b/npc/events/valentinesday_2012.txt @@ -69,7 +69,7 @@ mosk_in,21,246,5 script Pinkamenia 1_F_LIBRARYGIRL,{ close; } else if (#V_QUE12==2) { mes .@n$; - if (countitem(7864) < 15) { + if (countitem(Love_Flower) < 15) { mes "You have to bring me 15 Love Flowers!"; close; } diff --git a/npc/events/xmas.txt b/npc/events/xmas.txt index 9a2b0028e..a6308b867 100644 --- a/npc/events/xmas.txt +++ b/npc/events/xmas.txt @@ -98,13 +98,13 @@ L_Start: close; case 2: // Give proof mes "[Santa Claus]"; - if(countitem(7034) < 3) goto L_NotEnuf; + if(countitem(Red_Socks_With_Holes) < 3) goto L_NotEnuf; delitem 7034,3; mes "Seems you've been doing a"; mes "good job of taking down those"; mes "fake Santas. Keep it up!"; next; - getitem 644,1; //Gift Box Prototype + getitem Gift_Box,1; //Gift Box Prototype ++#event_xmas; mes "[Santa Claus]"; mes "There's your reward."; |