diff options
Diffstat (limited to 'npc/events')
32 files changed, 1533 insertions, 753 deletions
diff --git a/npc/events/MemorialDay_2008.txt b/npc/events/MemorialDay_2008.txt index 96c24bdfa..2b60a8a82 100644 --- a/npc/events/MemorialDay_2008.txt +++ b/npc/events/MemorialDay_2008.txt @@ -14,8 +14,8 @@ // Lauds //============================================================ -prontera,182,214,4 script Lauds#Memorial 58,{ - if(Memorial08 < 1) { +prontera,182,214,4 script Lauds#Memorial 1_M_MERCHANT,{ + if (Memorial08 < 1) { mes "[Mad Sago Lauds]"; mes "Hey, yo!"; mes "What are you doing there!?"; @@ -27,7 +27,7 @@ prontera,182,214,4 script Lauds#Memorial 58,{ next; mes "[Mad Sago Lauds]"; mes "What is this!?"; - emotion 0; + emotion e_gasp; next; mes "[Mad Sago Lauds]"; mes "Where is your towel!?"; @@ -67,14 +67,14 @@ prontera,182,214,4 script Lauds#Memorial 58,{ close; } - else if(Memorial08 == 1) { + else if (Memorial08 == 1) { if (countitem(1059) < 30 || countitem(914) < 20) { mes "[Mad Sago Lauds]"; mes "What are these? They aren't enough?!"; mes "*Sigh* Do I really have to tell you again?!"; mes "Bring me ^FF000030 Fabric and 20 Fluffs^000000."; close; - }else{ + } else { mes "***Mad Sago Lauds appears to be muttering to himself***"; next; mes "[Mad Sago Lauds]"; @@ -96,7 +96,7 @@ prontera,182,214,4 script Lauds#Memorial 58,{ } } - else if(Memorial08 == 2) { + else if (Memorial08 == 2) { mes "[Mad Sago Lauds]"; mes "Ah, you have fluffy new towel now I even put your name on it"; next; @@ -118,20 +118,20 @@ prontera,182,214,4 script Lauds#Memorial 58,{ close; } - else if(Memorial08 == 3) { + else if (Memorial08 == 3) { mes "[Mad Sago Lauds]"; mes "What are you still doing here?"; mes "I told you to go speak to Grast in Prontera!"; close; } - else if(Memorial08 == 4 || Memorial08 == 5 || Memorial08 == 6) { + else if (Memorial08 == 4 || Memorial08 == 5 || Memorial08 == 6) { mes "[Mad Sago Lauds]"; mes "Go help Grast, and then come back."; close; } - else if(Memorial08 == 7) { + else if (Memorial08 == 7) { mes "[Mad Sago Lauds]"; mes "Oh, you've brought them all."; mes "Hahaha!"; @@ -153,38 +153,38 @@ prontera,182,214,4 script Lauds#Memorial 58,{ close; } - else if(Memorial08 == 8) { + else if (Memorial08 == 8) { mes "[Mad Sago Lauds]"; mes "Stop trying to give me your garbage!"; mes "Go to the plaque at 12 o'clock direction in Prontera for your journey!"; close; } - else if(Memorial08 >= 9) { + else if (Memorial08 >= 9) { set .@RandomMsg, rand(1,5); - if(.@RandomMsg == 1) { + if (.@RandomMsg == 1) { mes "[Mad Sago Lauds]"; mes "Don't panic!"; - emotion 0; + emotion e_gasp; close; } - else if(.@RandomMsg == 2) { + else if (.@RandomMsg == 2) { mes "[Mad Sago Lauds]"; mes "Life... is like a grapefruit."; mes "It's orange and squishy, and has a few pips in it, and some folks have half a one for breakfast."; close; } - else if(.@RandomMsg == 3) { + else if (.@RandomMsg == 3) { mes "[Mad Sago Lauds]"; mes "There was a point to this story, but it has temporarily escaped the chronicler's mind."; close; } - else if(.@RandomMsg == 4) { + else if (.@RandomMsg == 4) { mes "[Mad Sago Lauds]"; mes "42!"; close; } - else if(.@RandomMsg == 5) { + else if (.@RandomMsg == 5) { mes "[Mad Sago Lauds]"; mes "It is a mistake to think you can solve any major problems just with potatoes."; close; @@ -194,14 +194,14 @@ prontera,182,214,4 script Lauds#Memorial 58,{ // Memorial Plaque //============================================================ -prontera,153,286,4 script Memorial Plaque#Memorial 857,{ - if(Memorial08 < 8) { +prontera,153,286,4 script Memorial Plaque#Memorial 4_BOARD3,{ + if (Memorial08 < 8) { mes "[" + strcharinfo(0) + "]"; mes "- It's a dusty old plaque.-"; close; } - else if(Memorial08 == 8) { + else if (Memorial08 == 8) { mes "[" + strcharinfo(0) + "]"; mes "- It's a dusty old plaque.-"; mes "'This must be what Lauds was talking about.'"; @@ -212,7 +212,7 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ goto L_CleanPlaque; } - else if(Memorial08 >= 9) { + else if (Memorial08 >= 9) { goto L_CleanPlaque; } @@ -223,7 +223,7 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ mes "-nor engraved stone bear record of their deeds,-"; mes "-yet will their remembrance be as lasting as the land they honored.-"; mes "-Daniel Webster-"; - if(Memorial08 == 9) { + if (Memorial08 == 9) { getexp 93750,43750; } next; @@ -232,7 +232,7 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ mes "-I may not have gone where I intended to go,-"; mes "-but I think I have ended up where I needed to be.-"; mes "- Douglas Adams.-"; - if(Memorial08 == 9) { + if (Memorial08 == 9) { getexp 93750,43750; } next; @@ -242,7 +242,7 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ mes "-It is not the urge to surpass all others at whatever cost,-"; mes "- but the urge to serve others at whatever cost. -"; mes "- Arthur Ashe -"; - if(Memorial08 == 9) { + if (Memorial08 == 9) { getexp 93750,43750; set Memorial08,10; } @@ -251,15 +251,15 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ // Grast //============================================================ -prontera,150,270,4 script Grast#Memorial 900,{ - if(Memorial08 < 3) { +prontera,150,270,4 script Grast#Memorial 4_M_HUMERCHANT,{ + if (Memorial08 < 3) { mes "[Grast]"; mes "Memorial Day is a sad and yet glorious day."; mes "I wonder how many people remember them..."; close; } - else if(Memorial08 == 3) { + else if (Memorial08 == 3) { mes "[Grast]"; mes "Oh, isn't that a Towel of Memory?"; mes "I'm so glad to meet someone who understands the meaning of Memorial Day."; @@ -277,7 +277,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ close; } - else if(Memorial08 == 4) { + else if (Memorial08 == 4) { if (countitem(501) < 1 || countitem(506) < 1 || countitem(656) < 1 || countitem(602) < 1) { mes "[Grast]"; mes "Oops, you haven't brought all materials."; @@ -293,7 +293,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ goto L_GiveUp; } goto L_Continue; - }else{ + } else { mes "[Grast]"; mes "Oh, you've brought the materials I asked."; next; @@ -308,7 +308,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ } } - else if(Memorial08 == 5) { + else if (Memorial08 == 5) { if (countitem(1065) < 1 || countitem(610) < 1 || countitem(717) < 1 || countitem(747) < 1 || countitem(517) < 1 || countitem(515) < 1) { mes "[Grast]"; mes "Oops, you haven't brought all materials."; @@ -323,7 +323,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ goto L_GiveUp; } goto L_Continue; - }else{ + } else { mes "[Grast]"; mes "Oh, you've brought everything I asked."; mes "Hmm, I think you need just a little bit more."; @@ -335,7 +335,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ } } - else if(Memorial08 == 6) { + else if (Memorial08 == 6) { if (countitem(643) < 1 || countitem(12018) < 1 || countitem(741) < 1 || countitem(745) < 1) { mes "[Grast]"; mes "Oops, you haven't brought all materials."; @@ -354,7 +354,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ goto L_GiveUp; } goto L_Continue; - }else{ + } else { mes "[Grast]"; mes "Have you brought the materials I asked?"; mes "Ah, thank you for your hard work you've brought all of them."; @@ -390,14 +390,14 @@ prontera,150,270,4 script Grast#Memorial 900,{ } } - else if(Memorial08 == 7) { + else if (Memorial08 == 7) { mes "[Grast]"; mes "Have you met Lauds?"; mes "I hope you'll remember your freedom and happiness are built on thousands of lives sacrificed in war."; close; } - else if(Memorial08 >= 8) { + else if (Memorial08 >= 8) { mes "[Grast]"; mes "A towel is about the most massively useful thing an adventurer can have."; close; diff --git a/npc/events/RWC_2011.txt b/npc/events/RWC_2011.txt index 560b11f3d..992bd7bd3 100644 --- a/npc/events/RWC_2011.txt +++ b/npc/events/RWC_2011.txt @@ -1,20 +1,18 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= RWC 2011 Golden Poring -//===== By: ================================================== +//===== By: ================================================== //= Euphy -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.0 -//===== Compatible With: ===================================== -//= rAthena SVN -//===== Description: ========================================= +//===== Description: ========================================= //= [Official Conversion] //= Collect blue cards dropped by Golden Porings to spell out //= 'RWC2011' and win a prize! -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First Version. [Euphy] -//============================================================ +//============================================================ -prontera,114,81,5 script RWC2011 Agent#2 407,{ +prontera,114,81,5 script RWC2011 Agent#2 4_M_ATEIL,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) { mes "[New Agent]"; mes "You have too many items. Please make room in your inventory and come back."; diff --git a/npc/events/RWC_2012.txt b/npc/events/RWC_2012.txt index cfa3a2b9b..33e3cec84 100644 --- a/npc/events/RWC_2012.txt +++ b/npc/events/RWC_2012.txt @@ -1,19 +1,17 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= RWC 2012 Enchants -//===== By: ================================================== +//===== By: ================================================== //= Euphy -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.0 -//===== Compatible With: ===================================== -//= rAthena SVN -//===== Description: ========================================= +//===== Description: ========================================= //= [Official Conversion] //= Adds slots and enchantments to 2012 RWC Memory accessories. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First Version. [Euphy] -//============================================================ +//============================================================ -prontera,147,61,3 script Driller#pron 87,{ +prontera,147,61,3 script Driller#pron 4_M_BARBER,{ disable_items; if (checkweight(1201,1) == 0) { mes "You're carrying too many items in your inventory. Visit Kafra storage and try again."; @@ -82,7 +80,7 @@ prontera,147,61,3 script Driller#pron 87,{ } } -prontera,147,59,3 script Goldberg#pron 878,{ +prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{ disable_items; if (checkweight(1201,1) == 0) { mes "You are carrying too many items. Come back after you have organized your inventory."; diff --git a/npc/events/StPatrick_2008.txt b/npc/events/StPatrick_2008.txt index bb736955f..92408c54a 100644 --- a/npc/events/StPatrick_2008.txt +++ b/npc/events/StPatrick_2008.txt @@ -24,13 +24,13 @@ //= 1.0 First version. [Kisuka] //= 1.1 Fixed checkitems for ale, fixed ale prize(gives the correct one now). [Kisuka] //= 1.2 Optimized. Uses only one variable now. [L0ne_W0lf] -//= Corrected EXP rewards, and some typos. +//= Corrected EXP rewards, and some typos. //= 1.3 Corrected random in item function. [L0ne_W0lf] //= 1.4 Replaced effect numerics with constants. [Samuray22] //= 1.5 Revamped the script. [Kisuka] //============================================================ -prt_fild05,170,286,4 script Anxious Leprechaun#8pday 954,{ +prt_fild05,170,286,4 script Anxious Leprechaun#8pday 4_M_PATRICK,{ if (StPatrick2008 < 1) { mes "[O'Riley the Leprechaun]"; mes "Hmm..."; diff --git a/npc/events/bossnia.txt b/npc/events/bossnia.txt index ee71a940b..70f4fc21c 100644 --- a/npc/events/bossnia.txt +++ b/npc/events/bossnia.txt @@ -1,18 +1,20 @@ //===== Hercules Script ====================================== //= Bossnia Warp NPCs -//===== By: ================================================== +//===== By: ================================================== //= Masao -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= -//= Bossnia Warp NPC's. -//===== Additional Comments: ================================= +//===== Current Version: ===================================== +//= 1.2 +//===== Description: ========================================= +//= Bossnia MVP event. +//===== Additional Comments: ================================= //= 1.0 Converted from the official script. //= 1.1 Optimized. [Euphy] -//============================================================ - -prontera,132,125,4 script Bossnia Staff::bsw 908,{ +//= 1.2 Moved spawns and warps (by Masao) to this file. [Euphy] +//============================================================ +// Entrance NPCs +//============================================================ +prontera,132,125,4 script Bossnia Staff#1 4_M_PHILMAN,{ mes "[Riss]"; mes "Hello?"; mes "I found some beautiful places"; @@ -62,7 +64,7 @@ prontera,132,125,4 script Bossnia Staff::bsw 908,{ next; if (Zeny > 4999) { mes "[Riss]"; - mes "Would you really like to take the challenge??"; + mes "Would you really like to take the challenge?"; mes "Ok, just choose the course."; next; set .@i, select("First","Second","Third","Fourth"); @@ -79,9 +81,194 @@ prontera,132,125,4 script Bossnia Staff::bsw 908,{ mes "Come back when you have at least 5,000 zeny."; close; } +geffen,124,169,4 duplicate(Bossnia Staff#1) Bossnia Staff#2 4_M_PHILMAN +payon,165,150,4 duplicate(Bossnia Staff#1) Bossnia Staff#3 4_M_PHILMAN +morocc,142,100,4 duplicate(Bossnia Staff#1) Bossnia Staff#4 4_M_PHILMAN +lighthalzen,203,140,4 duplicate(Bossnia Staff#1) Bossnia Staff#5 4_M_PHILMAN +rachel,132,144,4 duplicate(Bossnia Staff#1) Bossnia Staff#6 4_M_PHILMAN + +// Warp Portals +//============================================================ +bossnia_01,204,204,0 warp bossnia01 1,1,prontera,155,180 +bossnia_02,204,204,0 warp bossnia02 1,1,prontera,155,180 +bossnia_03,204,204,0 warp bossnia03 1,1,prontera,155,180 +bossnia_04,204,204,0 warp bossnia04 1,1,prontera,155,180 + +// Monster Spawns +//============================================================ + +//---------------------------------------------------------------------------- +// bossnia_01 - Bossnia +//---------------------------------------------------------------------------- +bossnia_01,0,0,0,0 monster Garm 1252,5,7200000,0,1 +bossnia_01,0,0,0,0 monster Gloom Under Night 1768,2,7200000,0,1 +bossnia_01,0,0,0,0 monster Dark Lord 1272,3,7200000,0,1 +bossnia_01,0,0,0,0 monster Doppelganger 1046,10,7200000,0,1 +bossnia_01,0,0,0,0 monster Dracula 1389,5,1800000,0,1 +bossnia_01,0,0,0,0 monster Drake 1112,10,1800000,0,1 +bossnia_01,0,0,0,0 monster Detale 1719,2,7200000,0,1 +bossnia_01,0,0,0,0 monster Maya 1147,10,1800000,0,1 +bossnia_01,0,0,0,0 monster Mistress 1059,1,1800000,0,1 +bossnia_01,0,0,0,0 monster Baphomet 1039,10,1800000,0,1 +bossnia_01,0,0,0,0 monster Egnigem Cenia 1658,10,1800000,0,1 +bossnia_01,0,0,0,0 monster Amon Ra 1511,1,1800000,0,1 +bossnia_01,0,0,0,0 monster Atroce 1785,10,1800000,0,1 +bossnia_01,0,0,0,0 monster Vesper 1685,2,7200000,0,1 +bossnia_01,0,0,0,0 monster Eddga 1115,1,1800000,0,1 +bossnia_01,0,0,0,0 monster Osiris 1038,10,7200000,0,1 +bossnia_01,0,0,0,0 monster Orc Lord 1190,10,7200000,0,1 +bossnia_01,0,0,0,0 monster Orc Hero 1087,2,1800000,0,1 +bossnia_01,0,0,0,0 monster Samurai Specter 1492,1,3600000,0,1 +bossnia_01,0,0,0,0 monster Moonlight Flower 1150,1,3600000,0,1 +bossnia_01,0,0,0,0 monster Lord of the Dead 1373,1,3600000,0,1 +bossnia_01,0,0,0,0 monster Ktullanux 1779,2,7200000,0,1 +bossnia_01,0,0,0,0 monster Kiel D-01 1734,2,7200000,0,1 +bossnia_01,0,0,0,0 monster Thanatos Phantom 1708,2,7200000,0,1 +bossnia_01,0,0,0,0 monster Lady Tanee 1688,1,3600000,0,1 +bossnia_01,0,0,0,0 monster Tao Gunka 1583,1,3600000,0,1 +bossnia_01,0,0,0,0 monster Turtle General 1312,10,7200000,0,1 +bossnia_01,0,0,0,0 monster Pharaoh 1157,2,3600000,0,1 +bossnia_01,0,0,0,0 monster Stormy Knight 1251,2,3600000,0,1 +bossnia_01,0,0,0,0 monster Falling Bishop 1871,5,7200000,0,1 +bossnia_01,0,0,0,0 monster Phreeoni 1159,10,7200000,0,1 +bossnia_01,0,0,0,0 monster Golden Thief Bug 1086,10,3600000,0,1 +bossnia_01,0,0,0,0 monster Evil Snake Lord 1418,10,7200000,0,1 +bossnia_01,0,0,0,0 monster RSX-0806 1623,5,7200000,0,1 +bossnia_01,0,0,0,0 monster Assassin Cross Eremes 1647,1,0,0,1 +bossnia_01,137,118,1,1 monster Whitesmith Howard 1648,1,0,0,1 +bossnia_01,122,195,1,1 monster Beelzebub 1873,1,0,0,1 +bossnia_01,45,118,1,1 monster Beelzebub 1873,1,0,0,1 +bossnia_01,196,122,1,1 monster Valkyrie Randgris 1751,1,0,0,1 +bossnia_01,142,61,1,1 monster Ifrit 1832,1,0,0,1 + +//---------------------------------------------------------------------------- +// bossnia_02 - Bossnia +//---------------------------------------------------------------------------- +bossnia_02,0,0,0,0 monster Garm 1252,5,7200000,0,1 +bossnia_02,0,0,0,0 monster Gloom Under Night 1768,2,7200000,0,1 +bossnia_02,0,0,0,0 monster Dark Lord 1272,3,7200000,0,1 +bossnia_02,0,0,0,0 monster Doppelganger 1046,10,7200000,0,1 +bossnia_02,0,0,0,0 monster Dracula 1389,5,1800000,0,1 +bossnia_02,0,0,0,0 monster Drake 1112,10,1800000,0,1 +bossnia_02,0,0,0,0 monster Detale 1719,2,7200000,0,1 +bossnia_02,0,0,0,0 monster Maya 1147,10,1800000,0,1 +bossnia_02,0,0,0,0 monster Mistress 1059,1,1800000,0,1 +bossnia_02,0,0,0,0 monster Baphomet 1039,10,1800000,0,1 +bossnia_02,0,0,0,0 monster Egnigem Cenia 1658,10,1800000,0,1 +bossnia_02,0,0,0,0 monster Amon Ra 1511,1,1800000,0,1 +bossnia_02,0,0,0,0 monster Atroce 1785,10,1800000,0,1 +bossnia_02,0,0,0,0 monster Vesper 1685,2,7200000,0,1 +bossnia_02,0,0,0,0 monster Eddga 1115,1,1800000,0,1 +bossnia_02,0,0,0,0 monster Osiris 1038,10,7200000,0,1 +bossnia_02,0,0,0,0 monster Orc Lord 1190,10,7200000,0,1 +bossnia_02,0,0,0,0 monster Orc Hero 1087,2,1800000,0,1 +bossnia_02,0,0,0,0 monster Samurai Specter 1492,1,3600000,0,1 +bossnia_02,0,0,0,0 monster Moonlight Flower 1150,1,3600000,0,1 +bossnia_02,0,0,0,0 monster Lord of the Dead 1373,1,3600000,0,1 +bossnia_02,0,0,0,0 monster Ktullanux 1779,2,7200000,0,1 +bossnia_02,0,0,0,0 monster Kiel D-01 1734,2,7200000,0,1 +bossnia_02,0,0,0,0 monster Thanatos Phantom 1708,2,7200000,0,1 +bossnia_02,0,0,0,0 monster Lady Tanee 1688,1,3600000,0,1 +bossnia_02,0,0,0,0 monster Tao Gunka 1583,1,3600000,0,1 +bossnia_02,0,0,0,0 monster Turtle General 1312,10,7200000,0,1 +bossnia_02,0,0,0,0 monster Pharaoh 1157,2,3600000,0,1 +bossnia_02,0,0,0,0 monster Stormy Knight 1251,2,3600000,0,1 +bossnia_02,0,0,0,0 monster Falling Bishop 1871,5,7200000,0,1 +bossnia_02,0,0,0,0 monster Phreeoni 1159,10,7200000,0,1 +bossnia_02,0,0,0,0 monster Golden Thief Bug 1086,10,3600000,0,1 +bossnia_02,0,0,0,0 monster Evil Snake Lord 1418,10,7200000,0,1 +bossnia_02,0,0,0,0 monster RSX-0806 1623,5,7200000,0,1 +bossnia_02,0,0,0,0 monster Assassin Cross Eremes 1647,1,0,0,1 +bossnia_02,137,118,1,1 monster Whitesmith Howard 1648,1,0,0,1 +bossnia_02,122,195,1,1 monster Beelzebub 1873,1,0,0,1 +bossnia_02,45,118,1,1 monster Beelzebub 1873,1,0,0,1 +bossnia_02,196,122,1,1 monster Valkyrie Randgris 1751,1,0,0,1 +bossnia_02,142,61,1,1 monster Ifrit 1832,1,0,0,1 + +//---------------------------------------------------------------------------- +// bossnia_03 - Bossnia +//---------------------------------------------------------------------------- +bossnia_03,0,0,0,0 monster Garm 1252,5,7200000,0,1 +bossnia_03,0,0,0,0 monster Gloom Under Night 1768,2,7200000,0,1 +bossnia_03,0,0,0,0 monster Dark Lord 1272,3,7200000,0,1 +bossnia_03,0,0,0,0 monster Doppelganger 1046,10,7200000,0,1 +bossnia_03,0,0,0,0 monster Dracula 1389,5,1800000,0,1 +bossnia_03,0,0,0,0 monster Drake 1112,10,1800000,0,1 +bossnia_03,0,0,0,0 monster Detale 1719,2,7200000,0,1 +bossnia_03,0,0,0,0 monster Maya 1147,10,1800000,0,1 +bossnia_03,0,0,0,0 monster Mistress 1059,1,1800000,0,1 +bossnia_03,0,0,0,0 monster Baphomet 1039,10,1800000,0,1 +bossnia_03,0,0,0,0 monster Egnigem Cenia 1658,10,1800000,0,1 +bossnia_03,0,0,0,0 monster Amon Ra 1511,1,1800000,0,1 +bossnia_03,0,0,0,0 monster Atroce 1785,10,1800000,0,1 +bossnia_03,0,0,0,0 monster Vesper 1685,2,7200000,0,1 +bossnia_03,0,0,0,0 monster Eddga 1115,1,1800000,0,1 +bossnia_03,0,0,0,0 monster Osiris 1038,10,7200000,0,1 +bossnia_03,0,0,0,0 monster Orc Lord 1190,10,7200000,0,1 +bossnia_03,0,0,0,0 monster Orc Hero 1087,2,1800000,0,1 +bossnia_03,0,0,0,0 monster Samurai Specter 1492,1,3600000,0,1 +bossnia_03,0,0,0,0 monster Moonlight Flower 1150,1,3600000,0,1 +bossnia_03,0,0,0,0 monster Lord of the Dead 1373,1,3600000,0,1 +bossnia_03,0,0,0,0 monster Ktullanux 1779,2,7200000,0,1 +bossnia_03,0,0,0,0 monster Kiel D-01 1734,2,7200000,0,1 +bossnia_03,0,0,0,0 monster Thanatos Phantom 1708,2,7200000,0,1 +bossnia_03,0,0,0,0 monster Lady Tanee 1688,1,3600000,0,1 +bossnia_03,0,0,0,0 monster Tao Gunka 1583,1,3600000,0,1 +bossnia_03,0,0,0,0 monster Turtle General 1312,10,7200000,0,1 +bossnia_03,0,0,0,0 monster Pharaoh 1157,2,3600000,0,1 +bossnia_03,0,0,0,0 monster Stormy Knight 1251,2,3600000,0,1 +bossnia_03,0,0,0,0 monster Falling Bishop 1871,5,7200000,0,1 +bossnia_03,0,0,0,0 monster Phreeoni 1159,10,7200000,0,1 +bossnia_03,0,0,0,0 monster Golden Thief Bug 1086,10,3600000,0,1 +bossnia_03,0,0,0,0 monster Evil Snake Lord 1418,10,7200000,0,1 +bossnia_03,0,0,0,0 monster RSX-0806 1623,5,7200000,0,1 +bossnia_03,0,0,0,0 monster Assassin Cross Eremes 1647,1,0,0,1 +bossnia_03,137,118,1,1 monster Whitesmith Howard 1648,1,0,0,1 +bossnia_03,122,195,1,1 monster Beelzebub 1873,1,0,0,1 +bossnia_03,45,118,1,1 monster Beelzebub 1873,1,0,0,1 +bossnia_03,196,122,1,1 monster Valkyrie Randgris 1751,1,0,0,1 +bossnia_03,142,61,1,1 monster Ifrit 1832,1,0,0,1 -geffen,124,169,4 duplicate(bsw) Bossnia Staff#2 908 -payon,165,150,4 duplicate(bsw) Bossnia Staff#3 908 -morocc,142,100,4 duplicate(bsw) Bossnia Staff#4 908 -lighthalzen,203,140,4 duplicate(bsw) Bossnia Staff#5 908 -rachel,132,144,4 duplicate(bsw) Bossnia Staff#6 908 +//---------------------------------------------------------------------------- +// bossnia_04 - Bossnia +//---------------------------------------------------------------------------- +bossnia_04,0,0,0,0 monster Garm 1252,5,7200000,0,1 +bossnia_04,0,0,0,0 monster Gloom Under Night 1768,2,7200000,0,1 +bossnia_04,0,0,0,0 monster Dark Lord 1272,3,7200000,0,1 +bossnia_04,0,0,0,0 monster Doppelganger 1046,10,7200000,0,1 +bossnia_04,0,0,0,0 monster Dracula 1389,5,1800000,0,1 +bossnia_04,0,0,0,0 monster Drake 1112,10,1800000,0,1 +bossnia_04,0,0,0,0 monster Detale 1719,2,7200000,0,1 +bossnia_04,0,0,0,0 monster Maya 1147,10,1800000,0,1 +bossnia_04,0,0,0,0 monster Mistress 1059,1,1800000,0,1 +bossnia_04,0,0,0,0 monster Baphomet 1039,10,1800000,0,1 +bossnia_04,0,0,0,0 monster Egnigem Cenia 1658,10,1800000,0,1 +bossnia_04,0,0,0,0 monster Amon Ra 1511,1,1800000,0,1 +bossnia_04,0,0,0,0 monster Atroce 1785,10,1800000,0,1 +bossnia_04,0,0,0,0 monster Vesper 1685,2,7200000,0,1 +bossnia_04,0,0,0,0 monster Eddga 1115,1,1800000,0,1 +bossnia_04,0,0,0,0 monster Osiris 1038,10,7200000,0,1 +bossnia_04,0,0,0,0 monster Orc Lord 1190,10,7200000,0,1 +bossnia_04,0,0,0,0 monster Orc Hero 1087,2,1800000,0,1 +bossnia_04,0,0,0,0 monster Samurai Specter 1492,1,3600000,0,1 +bossnia_04,0,0,0,0 monster Moonlight Flower 1150,1,3600000,0,1 +bossnia_04,0,0,0,0 monster Lord of the Dead 1373,1,3600000,0,1 +bossnia_04,0,0,0,0 monster Ktullanux 1779,2,7200000,0,1 +bossnia_04,0,0,0,0 monster Kiel D-01 1734,2,7200000,0,1 +bossnia_04,0,0,0,0 monster Thanatos Phantom 1708,2,7200000,0,1 +bossnia_04,0,0,0,0 monster Lady Tanee 1688,1,3600000,0,1 +bossnia_04,0,0,0,0 monster Tao Gunka 1583,1,3600000,0,1 +bossnia_04,0,0,0,0 monster Turtle General 1312,10,7200000,0,1 +bossnia_04,0,0,0,0 monster Pharaoh 1157,2,3600000,0,1 +bossnia_04,0,0,0,0 monster Stormy Knight 1251,2,3600000,0,1 +bossnia_04,0,0,0,0 monster Falling Bishop 1871,5,7200000,0,1 +bossnia_04,0,0,0,0 monster Phreeoni 1159,10,7200000,0,1 +bossnia_04,0,0,0,0 monster Golden Thief Bug 1086,10,3600000,0,1 +bossnia_04,0,0,0,0 monster Evil Snake Lord 1418,10,7200000,0,1 +bossnia_04,0,0,0,0 monster RSX-0806 1623,5,7200000,0,1 +bossnia_04,0,0,0,0 monster Assassin Cross Eremes 1647,1,0,0,1 +bossnia_04,137,118,1,1 monster Whitesmith Howard 1648,1,0,0,1 +bossnia_04,122,195,1,1 monster Beelzebub 1873,1,0,0,1 +bossnia_04,45,118,1,1 monster Beelzebub 1873,1,0,0,1 +bossnia_04,196,122,1,1 monster Valkyrie Randgris 1751,1,0,0,1 +bossnia_04,142,61,1,1 monster Ifrit 1832,1,0,0,1 diff --git a/npc/events/children_week.txt b/npc/events/children_week.txt index cc4fb543c..48e9231d6 100644 --- a/npc/events/children_week.txt +++ b/npc/events/children_week.txt @@ -5,27 +5,27 @@ //===== Current Version: ===================================== //= 1.1 //===== Description: ========================================= -//= [Aegis Conversion] +//= [Official Conversion] //= Indian Ro: Children Week Event //===== Additional Comments: ================================= //= 1.1 First Beta. [Samuray22] //============================================================ -prontera,146,91,5 script Pandit chacha#child07 61,{ - if(BaseLevel > 50) { +prontera,146,91,5 script Pandit chacha#child07 1_M_PUBMASTER,{ + if (BaseLevel > 50) { mes "[Pandit chacha]"; mes "Hahaha~"; mes "It is special day, comes only one time in a year."; mes "If you see little adventurers around you send to me~"; mes "I will give the special gift."; close; - } else if(BaseLevel < 20) { + } else if (BaseLevel < 20) { mes "[Pandit chacha]"; mes "Hahaha~"; mes "You are a baby adventurer not little adventurer."; mes "When you more grow up, come back again. hahaha."; close; - } else if(oversea_event9 < 1) { + } else if (oversea_event9 < 1) { mes "[Pandit chacha]"; mes "Hahaha~"; mes "Welcome, little adventurers!"; @@ -33,7 +33,7 @@ prontera,146,91,5 script Pandit chacha#child07 61,{ mes "I would like to give the small gift to little adventurer..."; mes "What about you? Do you want to take it?"; next; - if(select("No. I will take it later.","Sure, i want.") == 1) { + if(select("No. I will take it later.:Sure, I want.") == 1) { mes "[Pandit chacha]"; mes "That's too bad.... hum..."; mes "I gathered some stuffs from far a way world to make it...."; @@ -41,21 +41,21 @@ prontera,146,91,5 script Pandit chacha#child07 61,{ close; } set oversea_event9,1; - getitem 11705,10; //Children's Potion + getitem 11705,10; //Special_White_Potion 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) { + } else if (oversea_event9 == 1) { + if (countitem(745) > 0 && countitem(748) > 0) { mes "[Pandit chacha]"; mes "Ahha!!"; mes "You have remembered my beautiful composition."; mes "You did good work."; mes "Could you give me 1 Wedding Bouquet and 1 Witherless Rose? "; next; - if(select("Not yet.","Sure, take it.") == 1) { + if(select("Not yet.:Sure, take it.") == 1) { mes "[Pandit chacha]"; mes "If you are not prepared yet, call me when you ready."; close; @@ -66,10 +66,10 @@ prontera,146,91,5 script Pandit chacha#child07 61,{ 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 745,1; //Wedding_Bouquet + delitem 748,1; //Witherless_Rose set oversea_event9,2; - getitem 11705,50; //Children's Potion + getitem 11705,50; //Special_White_Potion end; } mes "[Pandit chacha]"; diff --git a/npc/events/christmas_2005.txt b/npc/events/christmas_2005.txt index a5af84273..5236e5a54 100644 --- a/npc/events/christmas_2005.txt +++ b/npc/events/christmas_2005.txt @@ -5,7 +5,7 @@ //===== Current Version: ===================================== //= 1.2 //===== Description: ========================================= -//= [Aegis Conversion] +//= [Official Conversion] //= Event 1: Louise's Kim creates Louise's Santa Hat. //= Event 2: Enjoy Happymerry Chistmas Event summons monsters. //= Event 3: Oholy requires you to hunt Deviruchi NPCs. @@ -24,7 +24,7 @@ //============================================================ // Louise's Santa Hat (Event 1) -xmas_in,89,92,5 script Louise Kim#designer 714,{ +xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{ mes "[Designer Louise Kim]"; mes "Cone shaped red Santa hat is too ordinary."; mes "It's old fashioned."; @@ -51,7 +51,7 @@ xmas_in,89,92,5 script Louise Kim#designer 714,{ mes ""; emotion e_lv; next; - if(countitem(2236) > 0) { + if (countitem(2236) > 0) { if (select("Here.:It's ok.") == 1) { mes "[Designer Louise Kim]"; mes "Nice choice!!"; @@ -189,7 +189,7 @@ xmas_in,89,92,5 script Louise Kim#designer 714,{ } // Enjoy Happymerry Chistmas Event (Event 2) -prontera,155,285,3 script Enjoy#enjoy 753,{ +prontera,155,285,3 script Enjoy#enjoy 4_M_MONK,{ if (!christ_solo05){ mes "[Enjoy]"; mes "Oh~~~"; @@ -294,7 +294,7 @@ prontera,155,285,3 script Enjoy#enjoy 753,{ end; } } - else if((christ_solo05 > 0) && (christ_solo05 < 5)){ + else if ((christ_solo05 > 0) && (christ_solo05 < 5)){ mes "[Enjoy]"; mes "Each should have one person's phone number."; mes "We must keep it secret before we put in action."; @@ -395,7 +395,7 @@ prontera,155,285,3 script Enjoy#enjoy 753,{ donpcevent "Christ#christ02::OnCommandEmotion"; donpcevent "Mas#mas02::OnCommandEmotion"; donpcevent "Event#event02::OnCommandEmotion"; - misceffect 376; //_HITLINE2 + misceffect EF_HITLINE2; delitem 604,5; //Branch_of_Dead_Tree set christ_solo05,6; donpcevent "Happymerry#happymerry02::OnCommandOff"; @@ -506,7 +506,7 @@ OnTimer180000: end; } -prontera,150,286,5 script Happymerry#happymerry02 869,{ +prontera,150,286,5 script Happymerry#happymerry02 4_M_LGTMAN,{ end; OnInit: @@ -535,7 +535,7 @@ OnTimer60000: end; } -prontera,161,286,4 script Christ#christ02 875,{ +prontera,161,286,4 script Christ#christ02 4_M_PECOKNIGHT,{ end; OnInit: disablenpc "Christ#christ02"; @@ -552,7 +552,7 @@ OnCommandOff: end; } -prontera,161,281,1 script Mas#mas02 748,{ +prontera,161,281,1 script Mas#mas02 4_M_ALCHE_A,{ end; OnInit: disablenpc "Mas#mas02"; @@ -569,7 +569,7 @@ OnCommandOff: end; } -prontera,150,281,7 script Event#event02 881,{ +prontera,150,281,7 script Event#event02 4_M_SITDOWN,{ end; OnInit: disablenpc "Event#event02"; @@ -586,7 +586,7 @@ OnCommandOff: end; } -prontera,188,177,4 script Happymerry#happymerry 869,{ +prontera,188,177,4 script Happymerry#happymerry 4_M_LGTMAN,{ if (christ_solo05==1) { mes "[Happymerry]"; mes "Holgren~~!!"; @@ -666,7 +666,7 @@ prontera,188,177,4 script Happymerry#happymerry 869,{ } } -prontera,62,339,3 script Christ#christ 875,{ +prontera,62,339,3 script Christ#christ 4_M_PECOKNIGHT,{ if (christ_solo05 == 2) { mes "[Christ]"; mes "Now~finally!!!"; @@ -719,7 +719,7 @@ prontera,62,339,3 script Christ#christ 875,{ set christ_solo05,3; close; } - else if(christ_solo05 > 2) { + else if (christ_solo05 > 2) { mes "[Christ]"; mes "Than,see you there!!"; mes "I'll go meet Enjoy!"; @@ -754,8 +754,8 @@ prontera,62,339,3 script Christ#christ 875,{ } } -prontera,163,66,7 script Mas#mas 748,{ - if(christ_solo05 == 3) { +prontera,163,66,7 script Mas#mas 4_M_ALCHE_A,{ + if (christ_solo05 == 3) { mes "[Mas]"; mes "Herds!!!!!How long does it take!"; mes "Somebody know the regenerating time of Herb?!!"; @@ -810,7 +810,7 @@ prontera,163,66,7 script Mas#mas 748,{ set christ_solo05,4; close; } - else if(christ_solo05 > 3) { + else if (christ_solo05 > 3) { mes "[Mas]"; mes "If you excuse me, I'll go ahead and meat Enjoy."; mes "And don't forget to tell ^0000FFEvent^000000 about this."; @@ -836,8 +836,8 @@ prontera,163,66,7 script Mas#mas 748,{ } } -prontera,35,209,5 script Event#event 881,{ - if(christ_solo05 == 4) { +prontera,35,209,5 script Event#event 4_M_SITDOWN,{ + if (christ_solo05 == 4) { mes "[Event]"; mes "........................"; next; @@ -891,7 +891,7 @@ prontera,35,209,5 script Event#event 881,{ set christ_solo05,5; close; } - else if(christ_solo05 > 4) { + else if (christ_solo05 > 4) { mes "[Event]"; mes "Wait for me miss Kafra~~~"; mes "Don't be so lonely~."; @@ -933,7 +933,7 @@ prontera,35,209,5 script Event#event 881,{ } // Oholy (Event 3) -prontera,156,242,0 script Oholy#pron::OholyDup 79,{ +prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{ if (!christ_carol05) { mes "[Oholy]"; mes "Joy to the world!"; @@ -1104,7 +1104,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 79,{ close; } } - else if(christ_carol05 == 1) { + else if (christ_carol05 == 1) { mes "[Oholy]"; mes "He should not be able to escape"; mes "from the town. Please find the"; @@ -1113,8 +1113,8 @@ prontera,156,242,0 script Oholy#pron::OholyDup 79,{ mes "Punish the wicked devil who is ruining Christmas!!!"; close; } - else if(christ_carol05 == 2) { - if(!checkweight(1201,1)) { + else if (christ_carol05 == 2) { + if (!checkweight(1201,1)) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -1123,8 +1123,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 79,{ mes "to store some of your items.^000000"; close; } - set .@now_weight,MaxWeight-Weight; - if(.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -1441,7 +1440,7 @@ function script F_carol_devi { disablenpc getarg(0); next; mes "-You are now cursed!!!-"; - sc_start SC_Curse,5000,0; + sc_start SC_CURSE,5000,0; emotion e_omg,1; close; case 3: @@ -1458,7 +1457,7 @@ function script F_carol_devi { disablenpc getarg(0); next; mes "-You are blinded!!!-"; - sc_start SC_Blind,5000,0; + sc_start SC_BLIND,5000,0; emotion e_omg,1; close; case 4: @@ -1475,7 +1474,7 @@ function script F_carol_devi { disablenpc getarg(0); next; mes "-You are poisoned!!!-"; - sc_start SC_Poison,5000,0; + sc_start SC_POISON,5000,0; emotion e_omg,1; close; } @@ -1539,7 +1538,7 @@ function script F_carol_devi2 { end; } -prontera,94,297,3 script Deviruchi#pron_01 738,3,3,{ +prontera,94,297,3 script Deviruchi#pron_01 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","prontera",155,230); end; @@ -1548,7 +1547,7 @@ OnTouch: end; } -prontera,205,242,3 script Deviruchi#pron_02 738,3,3,{ +prontera,205,242,3 script Deviruchi#pron_02 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","prontera",155,230); end; @@ -1557,7 +1556,7 @@ OnTouch: end; } -prontera,126,118,3 script Deviruchi#pron_03 738,3,3,{ +prontera,126,118,3 script Deviruchi#pron_03 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","prontera",155,230); end; @@ -1567,8 +1566,8 @@ OnTouch: } // Payon -payon,165,153,3 duplicate(OholyDup) Oholy#payon 79 -payon,142,203,3 script Deviruchi#payon_01 738,3,3,{ +payon,165,153,3 duplicate(OholyDup) Oholy#payon 1_F_PRIEST +payon,142,203,3 script Deviruchi#payon_01 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","payon",166,60); end; @@ -1577,7 +1576,7 @@ OnTouch: end; } -payon,248,239,3 script Deviruchi#payon_02 738,3,3,{ +payon,248,239,3 script Deviruchi#payon_02 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","payon",166,60); end; @@ -1586,7 +1585,7 @@ OnTouch: end; } -payon,140,56,3 script Deviruchi#payon_03 738,3,3,{ +payon,140,56,3 script Deviruchi#payon_03 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","payon",166,60); end; @@ -1595,8 +1594,8 @@ OnTouch: end; } -morocc,161,85,0 duplicate(OholyDup) Oholy#morocc 79 -morocc,52,134,3 script Deviruchi#morocc_01 738,3,3,{ +morocc,161,85,0 duplicate(OholyDup) Oholy#morocc 1_F_PRIEST +morocc,52,134,3 script Deviruchi#morocc_01 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","morocc",160,51); end; @@ -1605,7 +1604,7 @@ OnTouch: end; } -morocc,210,264,3 script Deviruchi#morocc_02 738,3,3,{ +morocc,210,264,3 script Deviruchi#morocc_02 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","morocc",160,51); end; @@ -1614,7 +1613,7 @@ OnTouch: end; } -morocc,223,74,3 script Deviruchi#morocc_03 738,3,3,{ +morocc,223,74,3 script Deviruchi#morocc_03 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","morocc",160,51); end; @@ -1624,8 +1623,8 @@ OnTouch: } // Geffen -geffen,120,188,0 duplicate(OholyDup) Oholy#geffen 79 -geffen,173,163,3 script Deviruchi#geffen_01 738,3,3,{ +geffen,120,188,0 duplicate(OholyDup) Oholy#geffen 1_F_PRIEST +geffen,173,163,3 script Deviruchi#geffen_01 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","geffen",120,34); end; @@ -1634,7 +1633,7 @@ OnTouch: end; } -geffen,49,95,3 script Deviruchi#geffen_02 738,3,3,{ +geffen,49,95,3 script Deviruchi#geffen_02 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","geffen",120,34); end; @@ -1643,7 +1642,7 @@ OnTouch: end; } -geffen,111,101,3 script Deviruchi#geffen_03 738,3,3,{ +geffen,111,101,3 script Deviruchi#geffen_03 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","geffen",120,34); end; @@ -1653,8 +1652,8 @@ OnTouch: } // Alberta -alberta,54,237,0 duplicate(OholyDup) Oholy#alberta 79 -alberta,97,86,3 script Deviruchi#alberta_01 738,3,3,{ +alberta,54,237,0 duplicate(OholyDup) Oholy#alberta 1_F_PRIEST +alberta,97,86,3 script Deviruchi#alberta_01 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","alberta",28,235); end; @@ -1663,7 +1662,7 @@ OnTouch: end; } -alberta,180,48,3 script Deviruchi#alberta_02 738,3,3,{ +alberta,180,48,3 script Deviruchi#alberta_02 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","alberta",28,235); end; @@ -1672,7 +1671,7 @@ OnTouch: end; } -alberta,54,132,3 script Deviruchi#alberta_03 738,3,3,{ +alberta,54,132,3 script Deviruchi#alberta_03 4_DEVIRUCHI,3,3,{ callfunc("F_carol_devi2","alberta",28,235); end; diff --git a/npc/events/christmas_2008.txt b/npc/events/christmas_2008.txt index 91555424a..11fd1dea1 100644 --- a/npc/events/christmas_2008.txt +++ b/npc/events/christmas_2008.txt @@ -18,7 +18,7 @@ // Caroller - Music Box //============================================================ -prontera,226,306,4 script Caroller#iROxmas08 79,{ +prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{ if (iROxmas08carol < 1 || iROxmas08carol == 3) { if (iROxmas08carol == 3) { mes "[Caroller]"; @@ -29,7 +29,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Merry Christmas!"; mes "Hey! You! What comes to mind when you think about Christmas?"; next; - }else{ + } else { mes "[Caroller]"; mes "Jingle Bells! Jingle Bells! Jingle all the way!"; next; @@ -41,7 +41,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Merry Christmas!"; if (Sex) { mes "Hey, boy! What comes to mind when"; - }else{ + } else { mes "Hey, girl! What comes to mind when"; } mes "you think about Christmas?"; @@ -67,7 +67,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "If you win over Santa, you can get a gift. Would you go for it?"; next; - emotion 18; + emotion e_heh; mes "[Caroller]"; mes "Caroller's hot news! Ha!"; mes "Isn't that big news?"; @@ -85,7 +85,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "Furthermore, he has put bad magic on the gifts so that they become monsters!"; next; - emotion 18; + emotion e_heh; mes "[Caroller]"; mes "Caroller's hot news! Ha!"; mes "Isn't it amazing?"; @@ -113,7 +113,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "If you can get ^0000FFSinging Crystal Pieces^000000, give them to me please?"; close; - }else{ + } else { mes "[Caroller]"; mes "Wow, you have them."; next; @@ -131,13 +131,13 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "If you can get ^0000FFSinging Crystal Pieces^000000, give them to me please?"; next; - emotion 18; + emotion e_heh; delitem 6092,6; getnameditem 12354,"+strcharinfo(0)+"; mes "[Caroller]"; mes "Let's care about others around you on this Christmas season!"; close; - }else{ + } else { mes "[Caroller]"; mes "Oh!"; mes "Shyness!"; @@ -152,7 +152,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "If you can get ^0000FFSinging Crystal Pieces^000000, give them to me please?"; next; - emotion 18; + emotion e_heh; delitem 6092,6; getitem 12354,1; mes "[Caroller]"; @@ -230,7 +230,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Please, for our children's hope!!!?"; mes "Please bring me 6 Singing Crystal Pieces from ^0000FFViolent Gift Boxes^000000!"; next; - emotion 33; + emotion e_ok; mes "[Caroller]"; mes "They're definitely as harsh as their name."; mes "Go on please!"; @@ -252,7 +252,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Are there some spcial abilities within them?"; mes "There's still the designer in the Christmas village... How about asking her to make that costume?"; next; - emotion 18; + emotion e_heh; mes "[Caroller]"; mes "Caroller's hot news! Ha!"; mes "It's hot, huh?"; @@ -270,7 +270,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "And he isn't alone anymore... is what I heard..."; next; - emotion 18; + emotion e_heh; mes "[Caroller]"; mes "Caroller's hot news! Ha!"; mes "Hotness, right?"; @@ -293,13 +293,13 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "For all of the children of this world!!!"; mes "Please bring me ^0000FFSinging Crystal Pieces^000000 from ^0000FFViolent Gift Boxes^000000!"; next; - emotion 33; + emotion e_ok; mes "[Caroller]"; mes "Be careful!"; mes "They're definitely as harsh as their name."; mes "Take care!!!"; close; - }else{ + } else { specialeffect EF_GLORIA; mes "[Caroller]"; mes "Don't cry, don't cry!"; @@ -335,7 +335,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "^0000FF10 Trunk, 1 Hammer Of Blacksmith, 1 Jubilee, 10 Sticky Mucus, 3carat Diamond^000000!"; next; delitem 6092,6; - emotion 33; + emotion e_ok; set iROxmas08carol,2; mes "[Caroller]"; mes "Those are all needed."; @@ -354,12 +354,12 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "So, we need more of some materials."; mes "^0000FF10 Trunk, 1 Hammer Of Blacksmith, 1 Jubilee, 10 Sticky Mucus, 3carat Diamond^000000!"; next; - emotion 33; + emotion e_ok; mes "[Caroller]"; mes "That's all we need."; mes "Isn't that easy?"; close; - }else{ + } else { specialeffect EF_GLORIA; mes "[Caroller]"; mes "Jingle bells, jingle bells,"; @@ -414,7 +414,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "Don't worry, it tastes good."; next; - emotion 33; + emotion e_ok; getitem 2784,1; getnameditem 12354,"+strcharinfo(0)+"; delitem 1019,10; @@ -434,7 +434,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ // Santa Claus - Card Game //============================================================ -- script Santa Claus#iROxmas08::08santa 718,{ +- script Santa Claus#iROxmas08::08santa 4_M_SANTA,{ mes "[Santa Claus]"; mes "Wow! Were you naughty or nice this year?"; mes "All right, what comes to your mind when you think about Christmas?"; @@ -454,7 +454,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Santa Claus]"; if (Sex) { mes "Ho ho ho! What a good boy!"; - }else{ + } else { mes "Ho ho ho! What a good girl!"; } next; @@ -526,7 +526,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Let's get started!"; next; while(.@SantaCardTurn != 5) { - emotion 56; + emotion e_loud; mes "[Santa Claus]"; mes "First let me shuffle up these cards... Ok!!!"; next; @@ -581,28 +581,28 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Let's see!!"; mes "One! Two! Three!"; if (.@SantaCardNpc == 1) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card } else if (.@SantaCardNpc == 2) { - cutin "¿£Ã©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card } else if (.@SantaCardNpc == 3) { - cutin "°Ã½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card } next; set .@SantaCardTurn,.@SantaCardTurn+1; if (.@SantaCardP == .@SantaCardNpc) { set .@SantaCardWins,.@SantaCardWins+1; - emotion 0; - emotion 5,1; + emotion e_gasp; + emotion e_ic,1; cutin "",255; mes "[Santa Claus]"; mes "You're lucky."; mes "Can you guess the right card the next time around?"; next; - }else{ - emotion 0; - emotion 23,1; + } else { + emotion e_gasp; + emotion e_omg,1; cutin "",255; mes "[Santa Claus]"; mes "Aww maybe next time..."; @@ -617,7 +617,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Santa Claus]"; mes "Whenever you want."; close; - }else{ + } else { mes "[Santa Claus]"; mes "You're so good!"; next; @@ -687,7 +687,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "........................"; if (Sex) { mes "Oh! Poor boy..."; - }else{ + } else { mes "Oh! Poor girl..."; } next; @@ -695,7 +695,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "........................"; if (Sex) { mes "Oh! Poor boy..."; - }else{ + } else { mes "Oh! Poor girl..."; } mes "..."; @@ -707,15 +707,15 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ } } -payon,171,109,4 duplicate(08santa) Santa Claus#0801 718 -prontera,156,285,4 duplicate(08santa) Santa Claus#0802 718 -alberta,117,66,4 duplicate(08santa) Santa Claus#0803 718 -geffen,119,70,4 duplicate(08santa) Santa Claus#0804 718 -morocc,158,104,4 duplicate(08santa) Santa Claus#0805 718 +payon,171,109,4 duplicate(08santa) Santa Claus#0801 4_M_SANTA +prontera,156,285,4 duplicate(08santa) Santa Claus#0802 4_M_SANTA +alberta,117,66,4 duplicate(08santa) Santa Claus#0803 4_M_SANTA +geffen,119,70,4 duplicate(08santa) Santa Claus#0804 4_M_SANTA +morocc,158,104,4 duplicate(08santa) Santa Claus#0805 4_M_SANTA // Louise Kim - Santa Suit //============================================================ -xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ +xmas_in,89,92,4 script Louise Kim#iROxmas08 4_F_06,{ mes "[Louise Kim]"; mes "I always thought about how boring Santa Claus is wearing a too boring costume."; mes "Too boring!"; @@ -728,7 +728,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "The reason catching up to him is so hard, is that his clothes have been given strong power!"; mes "I blessed them with good luck!"; next; - emotion 3; + emotion e_lv; mes "[Louise Kim]"; mes "Preta Porter!!"; mes "Which is quite luxurious but sold at good price ~"; @@ -745,7 +745,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "Ah!"; mes "You're silly! You lost your big chance!"; next; - emotion 18; + emotion e_heh; mes "[Louise Kim]"; mes "Come to me later if you want to get the mission."; mes "I, Louise Kim, am generous enough to accept you next time."; @@ -763,7 +763,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "Anyway, can you bring me some stuff?"; next; if (select("Why not? What do you need?:Sorry, no time.") == 2) { - emotion 18; + emotion e_heh; mes "[Louise Kim]"; mes "What?"; mes "You will definitely regret it."; @@ -781,13 +781,13 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "[Louise Kim]"; mes "If you were to bring me all the stuff, I would make you a wonderful costume, for free..."; next; - emotion 3; + emotion e_lv; mes "[Louise Kim]"; mes "Please see me again if you are interested."; close; - }else{ + } else { select("Here you are."); - emotion 33; + emotion e_ok; mes "[Louise Kim]"; mes "Oh! Good!"; mes "Let's not delay."; @@ -799,7 +799,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "-and many blessings she sings.-"; next; specialeffect EF_BLESSING; - emotion 2; + emotion e_ho; mes "[Louise Kim]"; mes "By artist, Louise Kim!"; mes "All over the world will be blessed tonight!"; @@ -813,7 +813,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "-Count your blessings and sing!-"; next; specialeffect EF_GLORIA; - emotion 2; + emotion e_ho; mes "[Louise Kim]"; mes "By artist, Louise Kim!"; mes "All over the world will be blessed tonight!"; @@ -825,7 +825,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "-cheer and goodwill!-"; next; specialeffect EF_BENEDICTIO; - emotion 3; + emotion e_lv; mes "[Louise Kim]"; mes "This is miraculous!"; mes "I am a genius of the world."; @@ -837,7 +837,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "My fashion is radiant."; mes "I ain't envious of Designer Pierre."; next; - emotion 18; + emotion e_heh; mes "[Louise Kim]"; mes "I am supposed to get paid well, however I will just let it be free, since this is Christmas!"; next; diff --git a/npc/events/dumplingfestival.txt b/npc/events/dumplingfestival.txt index 44135389b..1c94548f9 100644 --- a/npc/events/dumplingfestival.txt +++ b/npc/events/dumplingfestival.txt @@ -11,7 +11,7 @@ //= 1.01 fixed bugs [Lupus] //============================================================ -payon,93,81,4 script Exorcist Master Fahae 834,{ +payon,93,81,4 script Exorcist Master Fahae 4_M_BUDDHIST,{ mes "[Exorcist Master Fahae]"; mes "Greetings young warrior, I'm the Exorcist Master Fahae."; diff --git a/npc/events/easter_2008.txt b/npc/events/easter_2008.txt index fe6e02c85..6b64df494 100644 --- a/npc/events/easter_2008.txt +++ b/npc/events/easter_2008.txt @@ -14,7 +14,7 @@ //============================================================ // Prontera -prontera,111,99,5 script Egg Salesman#prt::EggVendor 98,{ +prontera,111,99,5 script Egg Salesman#prt::EggVendor 4W_M_02,{ mes "[Egg Salesman]"; mes "^FF0000Chicken Eggs^000000! Come and"; mes "buy as many Chicken Eggs"; @@ -91,7 +91,7 @@ prontera,111,99,5 script Egg Salesman#prt::EggVendor 98,{ } else { set .@egg_zeny,.@input*500; - if (zeny < .@egg_zeny) { + if (Zeny < .@egg_zeny) { mes "[Egg Salesman]"; mes "You don't have enough Zeny."; next; @@ -118,7 +118,7 @@ prontera,111,99,5 script Egg Salesman#prt::EggVendor 98,{ mes "them, but I don't know anything"; mes "about that. Well, have a good"; mes "time, and I'll see you again!"; - set zeny,zeny-.@egg_zeny; + set Zeny, Zeny-.@egg_zeny; getitem 7605,.@input; //Chicken_Egg close; } @@ -138,7 +138,7 @@ prontera,111,99,5 script Egg Salesman#prt::EggVendor 98,{ } } -prontera,113,98,0 script Dowdy Matron#prt::EggMatron 701,{ +prontera,113,98,0 script Dowdy Matron#prt::EggMatron 4_F_GODEMOM,{ mes "[Dowdy Matron]"; mes "This festival is going"; mes "to be so much fun! Ooh!"; @@ -155,7 +155,7 @@ prontera,113,98,0 script Dowdy Matron#prt::EggMatron 701,{ close; } -prontera,108,96,5 script Cantankerous Geezer#prt::EggGeezer 709,{ +prontera,108,96,5 script Cantankerous Geezer#prt::EggGeezer 4_M_SEAMAN,{ mes "[Cantankerous Geezer]"; mes ".Hey, do you know how"; mes "Chicken Eggs got to be so"; @@ -179,27 +179,27 @@ prontera,108,96,5 script Cantankerous Geezer#prt::EggGeezer 709,{ } // Payon -payon,172,173,5 duplicate(EggVendor) Egg Salesman#pay 98 -payon,175,171,1 duplicate(EggMatron) Dowdy Matron#pay 701 -payon,170,171,5 duplicate(EggGeezer) Cantankerous Geezer#pay 709 +payon,172,173,5 duplicate(EggVendor) Egg Salesman#pay 4W_M_02 +payon,175,171,1 duplicate(EggMatron) Dowdy Matron#pay 4_F_GODEMOM +payon,170,171,5 duplicate(EggGeezer) Cantankerous Geezer#pay 4_M_SEAMAN // Geffen -geffen,136,64,5 duplicate(EggVendor) Egg Salesman#gef 98 -geffen,138,63,1 duplicate(EggMatron) Dowdy Matron#gef 701 -geffen,133,63,5 duplicate(EggGeezer) Cantankerous Geezer#gef 709 +geffen,136,64,5 duplicate(EggVendor) Egg Salesman#gef 4W_M_02 +geffen,138,63,1 duplicate(EggMatron) Dowdy Matron#gef 4_F_GODEMOM +geffen,133,63,5 duplicate(EggGeezer) Cantankerous Geezer#gef 4_M_SEAMAN // Al De Baran -aldebaran,133,119,5 duplicate(EggVendor) Egg Salesman#alde 98 -aldebaran,135,117,1 duplicate(EggMatron) Dowdy Matron#ald 701 -aldebaran,132,116,5 duplicate(EggGeezer) Cantankerous Geezer#ald 709 +aldebaran,133,119,5 duplicate(EggVendor) Egg Salesman#alde 4W_M_02 +aldebaran,135,117,1 duplicate(EggMatron) Dowdy Matron#ald 4_F_GODEMOM +aldebaran,132,116,5 duplicate(EggGeezer) Cantankerous Geezer#ald 4_M_SEAMAN // Alberta -alberta,90,55,5 duplicate(EggVendor) Egg Salesman#alb 98 -alberta,92,53,1 duplicate(EggMatron) Dowdy Matron#alb 701 -alberta,88,52,5 duplicate(EggGeezer) Cantankerous Geezer#alb 709 +alberta,90,55,5 duplicate(EggVendor) Egg Salesman#alb 4W_M_02 +alberta,92,53,1 duplicate(EggMatron) Dowdy Matron#alb 4_F_GODEMOM +alberta,88,52,5 duplicate(EggGeezer) Cantankerous Geezer#alb 4_M_SEAMAN // Create Holy Eggs -prontera,230,312,3 script Nerlen#es07 79,{ +prontera,230,312,3 script Nerlen#es07 1_F_PRIEST,{ mes "[Nerlen]"; mes "Hello! If you'd like,"; mes "I can take your Chicken"; @@ -312,7 +312,7 @@ prontera,230,312,3 script Nerlen#es07 79,{ } // Easter Quest -morocc,131,26,5 script Secret Corps#egg 880,{ +morocc,131,26,5 script Secret Corps#egg 4_M_MASKMAN,{ if (easter2008 == 1) { mes "[Corps Member]"; mes "How are you doing?"; @@ -626,7 +626,7 @@ morocc,131,26,5 script Secret Corps#egg 880,{ } } -pay_dun00,22,127,0 script Trace#egg1 844,{ +pay_dun00,22,127,0 script Trace#egg1 CLEAR_NPC,{ if (easter2008 == 5) { mes "[" + strcharinfo(0) + "]"; mes "Well..."; @@ -678,7 +678,7 @@ pay_dun00,22,127,0 script Trace#egg1 844,{ } } -iz_dun02,340,346,0 script Trace#egg 844,{ +iz_dun02,340,346,0 script Trace#egg CLEAR_NPC,{ if (easter2008 == 6) { mes "[" + strcharinfo(0) + "]"; mes "Well..."; @@ -730,7 +730,7 @@ iz_dun02,340,346,0 script Trace#egg 844,{ } } -mjo_dun03,308,256,0 script Trace#egg2 844,{ +mjo_dun03,308,256,0 script Trace#egg2 CLEAR_NPC,{ if (easter2008 == 7) { mes "[" + strcharinfo(0) + "]"; mes "Well..."; @@ -782,7 +782,7 @@ mjo_dun03,308,256,0 script Trace#egg2 844,{ } } -gl_prison,157,176,0 script Trace#egg3 844,{ +gl_prison,157,176,0 script Trace#egg3 CLEAR_NPC,{ if (easter2008 == 8) { mes "[" + strcharinfo(0) + "]"; mes "Well..."; diff --git a/npc/events/easter_2010.txt b/npc/events/easter_2010.txt new file mode 100644 index 000000000..50a22aec8 --- /dev/null +++ b/npc/events/easter_2010.txt @@ -0,0 +1,618 @@ +//===== Hercules Script ====================================== +//= Easter Event (2010) +//===== By: ================================================== +//= Euphy +//===== Current Version: ===================================== +//= 1.0 +//===== Description: ========================================= +//= Lift Lina's curse for an Easter Egg Shell. +//===== Additional Comments: ================================= +//= 1.0 First version. [Euphy] +//============================================================ + +prontera,202,297,3 script Rina#Easter 4_F_JOB_HUNTER,{ + disable_items; + if (BaseLevel < 40) { + mes "[Rina]"; + mes "Hi~!"; + mes "You are an adventurer like me."; + next; + mes "[Rina]"; + mes "I am put under a curse."; + mes "I know you want to help me,"; + mes "but your experience is not enough."; + next; + consumeitem 607; //Yggdrasilberry + consumeitem 12068; //Luk_Dish03 + consumeitem 12063; //Dex_Dish03 + consumeitem 12053; //Vit_Dish03 + npcskill "AL_INCAGI",1,0,0; + npcskill "AL_BLESSING",1,0,0; + mes "[Rina]"; + mes "I am not in the good condition,"; + mes "so what I can do for you"; + mes "is just like this."; + mes "Then, good bye."; + mes "Take care~!"; + close; + } + set .@quest1, checkquest(9117); + if (.@quest1 == -1) { + playbgm "30.mp3"; // One Step Closer + mes "[Rina]"; + mes "Hi~!"; + mes "You are an adventurer like me."; + mes "Well... In fact, I am"; + mes "put under a strange curse."; + next; + mes "[Rina]"; + mes "To release this curse,"; + mes "somebody needs to do ^800080Oath-taking ceremony^000000"; + mes "with me,"; + mes "and then needs to solve"; + mes "several problems instead of me."; + next; + if (select("Let's help ^800080Rina^000000.:Just skip it.") == 2) { + emotion e_sigh; + mes "[Rina]"; + mes "To help me,"; + mes "I need a competent adventurer."; + mes "If you know those people,"; + mes "I hope you to introduce them to me later."; + close; + } + emotion e_awsm; + mes "[Rina]"; + mes "Are you really going to help me?"; + mes "Thank you."; + mes "You are so brave."; + next; + playbgm "01.mp3"; // Title + mes "[Rina]"; + mes "Then I'll start ^800080Oath-taking ceremony^000000."; + mes " "; + mes "^787878( A mysterious atmosphere hangs in the air. )^000000"; + next; + specialeffect2 EF_COUPLECASTING; + next; + mes "[Rina]"; + mes "Blah blah blah..."; + mes " "; + mes "Blah blah blah..."; + mes " "; + mes "^787878( ... This is a strange spell. )^000000"; + next; + specialeffect2 EF_SIGNUM; + mes "[Rina]"; + mes "Haaaaah~"; + mes "^800080Oath-taking ceremony^000000 is done enough now."; + mes "Isn't that so simple?"; + next; + emotion e_dum; + mes "[Rina]"; + mes "Okay, from no on,"; + mes "you need to go on ^006400a real adventure"; + mes "to release my curse^000000."; + mes "Let me know when you are ready."; + setquest 9117; + close; + } else if (.@quest1 == 0 || .@quest1 == 1) { + L_HuntingInfo: + mes "[Rina]"; + mes "What you need to do is"; + mes "to choose one monster among"; + mes "^FF0000DEVIRUCHI,^000000 ^FF0000WRAITH DEAD,^000000"; + mes "^FF0000DULLAHAN,^000000 ^FF0000NIGHTMARE TERROR^000000"; + mes "and then kill ^0000FF50^000000 monsters"; + mes "and come back to me."; + next; + mes "[Rina]"; + mes "It must be a tough task,"; + mes "but you are the right person"; + mes "who did the oath-taking ceremony."; + mes "I hope you succeed."; + if (.@quest1 < 2) { + completequest 9117; + setquest 9118; + setquest 9119; + setquest 9120; + setquest 9121; + } + close2; + npcskill "AL_INCAGI",1,0,0; + npcskill "AL_BLESSING",1,0,0; + end; + } else if (.@quest1 == 2) { + if (checkquest(9118) < 2 || checkquest(9119) < 2 || checkquest(9120) < 2 || checkquest(9121) < 2) { + if (checkquest(9118,HUNTING) == 2 || checkquest(9119,HUNTING) == 2 || checkquest(9120,HUNTING) == 2 || checkquest(9121,HUNTING) == 2) { + mes "[Rina]"; + mes "You did it."; + mes "I can feel that my body is recovering."; + mes "But it is not enough."; + next; + mes "[Rina]"; + mes "^006400You have one more thing to do.^000000"; + mes "Let me know when you're ready."; + close2; + completequest 9118; + completequest 9119; + completequest 9120; + completequest 9121; + setquest 9122; + } else + goto L_HuntingInfo; + end; + } + } + set .@quest2, checkquest(9122); + if (.@quest2 == 0 || .@quest2 == 1) { + mes "[Rina]"; + mes "I will check one thing."; + mes "For this task,"; + mes "You need to feel the music."; + next; + mes "[Rina]"; + mes "You cannot complete the task"; + mes "without the music."; + mes "do you have any problem?"; + next; + mes "- Check! -"; + mes "^787878- BGM option should be turned on -^000000"; + mes "^787878- in the game option menu. -^000000"; + mes "^787878- Please check -^000000"; + mes "^787878- whether you can listen -^000000"; + mes "^787878- to the music sound. -^000000"; + next; + if(select("[I'm ready to listen to the BGM.]:[I can't listen to the BGM.]") == 2) { + mes "[Rina]"; + mes "I am so shocked that"; + mes "you cannot feel the music."; + mes "What should we do now..."; + close2; + emotion e_sob; + end; + } + mes "[Rina]"; + mes "Listen carefully"; + mes "the feelings of it..."; + mes "I can't hear it,"; + mes "but you can hear the sound."; + next; + if (oversea_event2 < 520 || oversea_event3 < 270 || oversea_event6 < 245 || oversea_event9 < 197) { + if (oversea_event2 == 520) playbgm "13.mp3"; // Theme of Geffen + else if (oversea_event3 == 270) playbgm "59.mp3"; // Theme of Lutie + else if (oversea_event6 == 245) playbgm "70.mp3"; // Theme of Juno + else if (oversea_event9 == 197) playbgm "94.mp3"; // Theme of Rachel + else { + switch(rand(1,4)) { + case 1: playbgm "13.mp3"; set oversea_event2,520; break; + case 2: playbgm "59.mp3"; set oversea_event3,270; break; + case 3: playbgm "70.mp3"; set oversea_event6,245; break; + case 4: playbgm "94.mp3"; set oversea_event9,197; break; + } + } + } + mes "[Rina]"; + mes "^006400The music you're hearing now^000000"; + mes "has something to do with the one specific city."; + mes "Think carefully ^006400what kind of city^000000"; + mes "has similar feeling with this music."; + next; + mes "[Rina]"; + mes "And..."; + mes "Go to ^006400the city"; + mes "where you can remind by this music^000000."; + next; + mes "[Rina]"; + mes "After that,"; + mes "find ^FF0000the strange mark^000000"; + mes "around the entrances of the city."; + mes "Then you can release the curse on me."; + next; + mes "[Rina]"; + mes "It must be tough"; + mes "but I hope you good luck."; + close2; + emotion e_sigh; + end; + } else { + set .@quest3, checkquest(9123); + if (.@quest3 == 0 || .@quest3 == 1) { + emotion e_kis; + mes "[Rina]"; + mes "You're back~!"; + mes "My curse has been released."; + mes "Thank you so much."; + next; + if (checkweight(5852,1) == 0) { + mes "[Rina]"; + mes "Your bag is too full."; + mes "I have a present for you"; + mes "so make your bag lighter."; + mes "I'll wait for you."; + close; + } + completequest 9123; + getitem 5852,1; //Easter_Egg_Shell + set .@BaseExp, (BaseLevel * (BaseLevel / 4)) * ((BaseLevel / 29) + (BaseLevel / 6)) + (5 * BaseLevel / 2); + if (ADVJOB == 0) { + if (BaseLevel < 40) set .@nBaseExp, .@BaseExp; + else if (BaseLevel < 50) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel); + else if (BaseLevel < 60) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * (BaseLevel / 20)); + else if (BaseLevel < 70) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * (BaseLevel / 10)); + else if (BaseLevel < 80) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * (BaseLevel / 5)); + else if (BaseLevel < 90) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * (BaseLevel / 3)); + else if (BaseLevel < 99) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * (BaseLevel / 2)); + else set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * (BaseLevel / 2) * 2); + + set .@nJobExp, (JobLevel * (JobLevel - 3) * (JobLevel / 25 + 1) + (16 - (JobLevel * 2))) * 2; + } else { + if (BaseLevel < 30) set .@nBaseExp, .@BaseExp; + else if (BaseLevel < 40) set .@nBaseExp, .@BaseExp + (BaseLevel * 10); + else if (BaseLevel < 50) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * 2); + else if (BaseLevel < 60) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * (BaseLevel / 10)); + else if (BaseLevel < 70) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * (BaseLevel / 5)); + else if (BaseLevel < 80) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * (BaseLevel / 3)); + else if (BaseLevel < 90) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * (BaseLevel / 2)); + else if (BaseLevel < 98) set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * BaseLevel); + else set .@nBaseExp, .@BaseExp + (BaseLevel * BaseLevel * BaseLevel * 2); + + set .@nJobExp, (JobLevel * JobLevel * (JobLevel / 5 + 2) + (20 - JobLevel)) * 3; + } + getexp .@nBaseExp,.@nJobExp; + mes "[Rina]"; + mes "This is the present for you."; + mes "It's not a big one"; + mes "but please take it"; + mes "as a token of my gratitude."; + next; + mes "[Rina]"; + mes "I'll take a rest for a few days"; + mes "and then I'll go on an adventure."; + mes "See you again."; + close2; + consumeitem 607; //Yggdrasilberry + consumeitem 12068; //Luk_Dish03 + consumeitem 12063; //Dex_Dish03 + consumeitem 12053; //Vit_Dish03 + npcskill "AL_INCAGI",1,0,0; + npcskill "AL_BLESSING",1,0,0; + end; + } else { + mes "[Rina]"; + mes "Thank you for releasing my curse."; + mes "I'll take a rest for a few days"; + mes "and then go on an adventure again."; + mes "Have a happy day~!"; + close2; + consumeitem 607; //Yggdrasilberry + npcskill "AL_INCAGI",1,0,0; + npcskill "AL_BLESSING",1,0,0; + end; + } + } +} + +geffen,207,114,4 script #Hiddne01Easter CLEAR_NPC,{ + if (oversea_event2 > 519) { + OnRelease: + specialeffect EF_PATTACK; + mes "- I found ^0000FFthe strange mark^000000. -"; + next; + specialeffect2 EF_HOLYHIT; + mes "- I can definitely feel that"; + mes "- ^0000FFRina^000000 has been released"; + mes "- from the curse."; + mes "- ^006400Let's go back to Rina!^000000"; + if (checkquest(9122) < 2) { + completequest 9122; + setquest 9123; + } + close; + } + end; +} + +xmas,144,52,4 script #Hiddne02Easter CLEAR_NPC,{ + if (oversea_event3 > 269) + doevent "#Hiddne01Easter::OnRelease"; + end; +} + +yuno,164,46,4 script #Hiddne03Easter CLEAR_NPC,{ + if (oversea_event6 > 244) + doevent "#Hiddne01Easter::OnRelease"; + end; +} + +rachel,36,132,4 script #Hiddne04Easter CLEAR_NPC,{ + if (oversea_event9 > 196) + doevent "#Hiddne01Easter::OnRelease"; + end; +} + +prontera,204,297,3 script Rina's Little Friend 4_DRAGON_EGG,{ + disable_items; + if (checkquest(9117) == -1) { + emotion e_swt2; + mes "[Rina's Little Friend]"; + mes "......."; + mes " "; + mes "^787878( No response. )^000000"; + close; + } + if (checkquest(9123) == 2) { + emotion e_meh; + mes "[Rina's Little Friend]"; + mes "Hi."; + mes "I guess you're the trustworthy friend."; + mes "Are you here to make a deal with me?"; + next; + switch(select("Yes.:No.:What do you mean?")) { + case 1: + if (ADVJOB == 0) { + if (BaseLevel < 70) + set .@nCharge,400000; + else if (BaseLevel < 90) + set .@nCharge,450000; + else + set .@nCharge,480000; + } else + set .@nCharge,500000; + if (countitem(574) < 1 || countitem(1001) < 20 || Zeny < .@nCharge) { + mes "[Rina's Little Friend]"; + mes "Hmm."; + mes "The material is not enough."; + mes "Please check the things you need."; + close; + } + mes "[Rina's Little Friend]"; + mes "Cool... if you give me the materials"; + mes "I will start it right now."; + mes "Are you ready for it?"; + next; + if(select("Yes, let's start it.:No, stop it.") == 2) { + mes "[Rina's Little Friend]"; + mes "Heh. It's boring."; + close; + } + mes "[Rina's Little Friend]"; + mes "Okay, I will start it now."; + mes " "; + mes "^787878( A mysterious atmosphere hangs in the air. )^000000"; + next; + specialeffect EF_ASPERSIO; + delitem 574,1; //Egg + delitem 1001,20; //Sparkling_Dust + set Zeny, Zeny - .@nCharge; + set .@nPercentage, rand(1,100); + if (.@nPercentage <= 41) { + mes "[Rina's Little Friend]"; + mes "Life is given to the egg."; + mes "Aaaaah~ I got to take some rest."; + mes "Good bye~!"; + if (.@nPercentage <= 12) + getitem 9003,1; //Poporing_Egg + else if (.@nPercentage <= 24) + getitem 9005,1; //Picky_Egg + else if (.@nPercentage <= 36) + getitem 9009,1; //Savage_Bebe_Egg + else + getitem 9023,1; //Deviruchi_Egg + close2; + emotion e_yawn; + end; + } else if (.@nPercentage <= 60) { + if (.@nPercentage >= 42 && .@nPercentage <= 45) + getitem 5852,1; //Easter_Egg_Shell + else + getitem 12019,5; //Holy_Egg + mes "[Rina's Little Friend]"; + mes "It seems that you have quite interesting things."; + mes "I need to take some rest."; + mes "Good bye~!"; + close2; + emotion e_yawn; + end; + } else if (.@nPercentage <= 85) { + if (.@nPercentage >= 61 && .@nPercentage <= 75) { + getitem 1001,20; //Sparkling_Dust + getitem 607,1; //Yggdrasilberry + } else { + getitem 574,1; //Egg + getitem 608,2; //Seed_Of_Yggdrasil + } + mes "[Rina's Little Friend]"; + mes "There was no change."; + mes "I didn't mean to do it,"; + mes "but I'm sorry..."; + mes "I hope to see you again, my friend."; + emotion e_dum; + close; + } else { + getitem 12093,2; //Dex_Dish08 + mes "[Rina's Little Friend]"; + mes "Hmm."; + mes "It became a dish."; + mes "Looks delicious."; + mes "Then, good bye~!"; + close2; + emotion e_rice; + end; + } + case 2: + mes "[Rina's Little Friend]"; + mes "You are here just to see my cute looks?"; + mes "Aren't you peeking at Rina"; + mes "pretending to see me?"; + mes "It's funny... haha~"; + close2; + emotion e_gg; + end; + case 3: + playbgm "23.mp3"; // Travel + mes "[Rina's Little Friend]"; + mes "Huh?!"; + mes "I never told you before?"; + mes "Then listen carefully."; + next; + mes "[Rina's Little Friend]"; + mes "I have a"; + mes "special ability."; + mes "It's to give a special strength"; + mes "to ^0000FFthe egg^000000."; + next; + mes "[Rina's Little Friend]"; + mes "Well, I cannot do that unlimitedly."; + mes "There is no magic that is done forever."; + mes "So I need some additional cost."; + next; + mes "[Rina's Little Friend]"; + mes "And I cannot sure"; + mes "to what the egg will be changed."; + mes "It may be end in failure"; + mes "and it can be something like Pet Egg."; + next; + if(select("Ask the cost.:Stop listening because it feels like a trick.") == 2) { + mes "[Rina's Little Friend]"; + mes "Well... I don't really care."; + mes "Good bye."; + close2; + playbgm "08.mp3"; // Theme of Prontera + end; + } + mes "[Rina's Little Friend]"; + mes "Do you want to make a deal?"; + mes "You need"; + mes "^0000FF1 Egg^000000, ^0000FF20 Light Granule^000000 and"; + if (ADVJOB == 0) { + if (BaseLevel < 70) + mes "^B8860B400,000 Zeny."; + else if (BaseLevel < 90) + mes "^B8860B450,000 Zeny^000000."; + else + mes "^B8860B480,000 Zeny^000000."; + } else + mes "^B8860B500,000 Zeny^000000."; + next; + mes "[Rina's Little Friend]"; + mes "If you are interested"; + mes "make that zeny and come again."; + mes "Haha..."; + mes "I'll be waiting for you."; + close2; + playbgm "08.mp3"; // Theme of Prontera + emotion e_gg; + end; + } + } + emotion e_meh; + mes "[Rina's Little Friend]"; + mes "Ahem!"; + mes "Why? Are you surprised to see me speaking?"; + mes "Well, I understand you."; + mes "Only the person who did"; + mes "the oath-taking ceremony can talk with me."; + next; + mes "[Rina's Little Friend]"; + mes "If Rina's curse is released,"; + mes "I can also"; + mes "suggest you"; + mes "an interesting thing."; + next; + mes "[Rina's Little Friend]"; + mes "I will let you know"; + mes "the detailed explanation later."; + mes "Then see you later, my friend."; + close; +} + +prontera,116,82,5 script Traveler#01Easter 4_M_03,{ + mes "[Traveler]"; + mes "I'm a traveler"; + mes "and I often visit ^8B4513Prontera^000000."; + mes "Hmm, I think I might"; + mes "see you around here before."; + next; + if(select("Listen some more.:Just ignore it.") == 2) { + mes "[Traveler]"; + mes "As I expected,"; + mes "you are a silent person. Ha ha."; + mes "Good bye."; + close; + } + mes "[Traveler]"; + mes "A few days ago,"; + mes "I saw a new adventurer"; + mes "who were standing"; + mes "near the ^8B4513Cathedral^000000."; + next; + emotion e_lv; + mes "[Traveler]"; + mes "That adventurer seemed pretty."; + mes "But..."; + mes "I feel some strange energy"; + mes "so I don't come close to that person."; + next; + mes "[Traveler]"; + mes "Look like"; + mes "you're interested in"; + mes "that new adventurer?"; + mes "Or that is just your face look. Ha ha."; + next; + if(select("I'm interested in it.:I don't care at all.") == 2) { + mes "[Traveler]"; + mes "Ah~ I see~!"; + mes "Then, Good bye."; + close; + } + mes "[Traveler]"; + mes "Just as I expected!"; + mes "You can find"; + mes "that new adventurer"; + mes "on the way to the ^8B4513Cathedral^000000"; + mes "at the direction of 1o'clock in ^8B4513Prontera^000000."; + next; + mes "[Traveler]"; + mes "She was carrying"; + mes "^800080a big egg thing^000000."; + mes "That's what I know."; + close; +OnInit: + initnpctimer; + end; +OnTimer5000: + emotion e_gasp; + stopnpctimer; + initnpctimer; + end; +} + +prontera,163,194,5 script Traveler#02Easter 4_F_03,{ + mes "[Traveler]"; + mes "A while ago,"; + mes "I met a lady"; + mes "and she said she has been"; + mes "under a strange curse."; + next; + mes "[Traveler]"; + mes "I wanted to help her"; + mes "but my experience is not enough."; + mes "So I couldn't help her."; + next; + mes "[Traveler]"; + mes "If you are more than"; + mes "level ^0000FF40^000000,"; + mes "go to the ^8B4513Cathedral^000000"; + mes "at the direction of 1'o clock."; + mes "I hope you can help her..."; + close; +OnInit: + initnpctimer; + end; +OnTimer5000: + emotion e_gasp; + stopnpctimer; + initnpctimer; + end; +} diff --git a/npc/events/event_skill_reset.txt b/npc/events/event_skill_reset.txt index 893e0c92b..7248266ec 100644 --- a/npc/events/event_skill_reset.txt +++ b/npc/events/event_skill_reset.txt @@ -1,10 +1,10 @@ //===== Hercules Script ====================================== //= Official Skill Resetter Event in Yuno (kRO & idRO) -//===== By: ================================================== +//===== By: ================================================== //= $ephiroth -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.02 -//===== Description: ========================================= +//===== Description: ========================================= //= 2006 - Edition Skill Reset NPC //= 2006/11/16: 1.0 Release and fully working. [$ephiroth] //= 1.01 Checked, fixed typos, now uses MISC_QUEST var [Lupus] @@ -13,7 +13,7 @@ //= Skill Reset with payment, minimum BaseLv.60 to reset skill. //= Each 1 BaseLv need 20.000 Zeny, so be careful to use skill. //============================================================ -yuno,138,187,4 script Hypnotist Teacher 124,{ +yuno,138,187,4 script Hypnotist Teacher 4_F_TELEPORTER,{ set @npcname$,"[^D5A500Hypnotist^000000]"; mes @npcname$; diff --git a/npc/events/gdevent_aru.txt b/npc/events/gdevent_aru.txt index cafb8f01e..e0098bf9b 100644 --- a/npc/events/gdevent_aru.txt +++ b/npc/events/gdevent_aru.txt @@ -1,18 +1,19 @@ //===== Hercules Script ====================================== //= Guild dungeon event, Arunafeltz. -//===== By: ================================================== +//===== By: ================================================== //= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.2 +//===== Description: ========================================= //= Guild dungeon event, Arunafeltz. Retrieve Morestone's //= pickaxe from Kublin. //===== Additional Comments: ================================= //= 1.0 First version //= 1.1 Changed spawn timer to 1 hour. [L0ne_w0lf] +//= 1.2 Added GM management function. [Euphy] //============================================================ -arug_dun01,1,1,1 script Monster Controler#aru_gd 81,{ +arug_dun01,1,1,1 script Monster Controler#aru_gd 4_DOG01,{ OnInit: donpcevent "Monster Controler1#aru::OnKill"; initnpctimer; @@ -26,7 +27,7 @@ OnTimer3600000: end; } -arug_dun01,1,2,1 script Monster Controler1#aru 81,{ +arug_dun01,1,2,1 script Monster Controler1#aru 4_DOG01,{ OnEnable: set .@callwhere,rand(1,4); if (.@callwhere == 1) { @@ -43,7 +44,7 @@ OnEnable: } end; -Onkill: +OnKill: killmonster "arug_dun01","Monster Controler1#aru::OnMyMObDead"; end; @@ -56,7 +57,7 @@ OnMyMobDead: end; } -arug_dun01,199,195,5 script Dwarf#aru_gd 826,{ +arug_dun01,199,195,5 script Dwarf#aru_gd 4_M_DWARF,{ if (getcharid(2) == 0) { mes "[Dwarf]"; mes "Hey did you see an ugly Goblin come by? He stole something from me!"; @@ -475,7 +476,7 @@ OnEnable: end; } -arug_que01,100,81,3 script Pierrot Pier#aru_gd 715,{ +arug_que01,100,81,3 script Pierrot Pier#aru_gd 4_M_PIERROT,{ specialeffect EF_POISONHIT; set .@sprchg_gd,rand(1,5); if (.@sprchg_gd == 1) { @@ -674,7 +675,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 715,{ mes "Let me see..."; next; if (countitem(6031) > 0) { - donpcevent "Controller#gdevent_a::Onstop"; + donpcevent "Controller#gdevent_a::OnStop"; set $@gdeventv_a2,3; donpcevent "eff_mvp#aru_gd::Onmvp"; mes "[Pierrot Pier]"; @@ -816,7 +817,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 715,{ mes "Let me see."; next; if (countitem(6031) > 0) { - donpcevent "Controller#gdevent_a::Onstop"; + donpcevent "Controller#gdevent_a::OnStop"; set $@gdeventv_a2,3; donpcevent "eff_mvp#aru_gd::Onmvp"; mes "[Pierrot Pier]"; @@ -902,7 +903,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 715,{ mes "When is that person coming? I am very bored~!"; close; } - emotion 18; + emotion e_heh; mes "[Pierrot Pier]"; mes "^3131FF<Although you're a weirdo, you seem to be very dedicated>^000000. Beep beep."; next; @@ -926,7 +927,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 715,{ mes "Let me see..."; next; if (countitem(6031) > 0) { - donpcevent "Controller#gdevent_a::Onstop"; + donpcevent "Controller#gdevent_a::OnStop"; set $@gdeventv_a2,3; donpcevent "eff_mvp#aru_gd::Onmvp"; mes "[Pierrot Pier]"; @@ -983,14 +984,14 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 715,{ } else { mes "[Pierrot Pier]"; - mes "Voc� encontrou o tesouro?"; - mes "Mostre-me o que voc� tem nas m�os agora."; + mes "Did you find the treasure?"; + mes "Show me that thing you are holding, now!"; next; mes "[Pierrot Pier]"; - mes "Deixe-me ver..."; + mes "Let me see..."; next; if (countitem(6031) > 0) { - donpcevent "Controller#gdevent_a::Onstop"; + donpcevent "Controller#gdevent_a::OnStop"; set $@gdeventv_a2,3; donpcevent "eff_mvp#aru_gd::Onmvp"; mes "[Pierrot Pier]"; @@ -1018,7 +1019,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 715,{ } } -arug_que01,10,10,3 script Controller#gdevent_a 81,{ +arug_que01,10,10,3 script Controller#gdevent_a 4_DOG01,{ OnInit: set $@gdeventv_a2,0; end; @@ -1040,35 +1041,35 @@ Ongame_start: donpcevent "paper_sp_9_a::OnEnable"; set .@roulette_where,rand(1,9); if (.@roulette_where == 1) { - donpcevent "paper_sp_1_a::Onbingo"; + donpcevent "paper_sp_1_a::OnBingo"; } else if (.@roulette_where == 2) { - donpcevent "paper_sp_2_a::Onbingo"; + donpcevent "paper_sp_2_a::OnBingo"; } else if (.@roulette_where == 3) { - donpcevent "paper_sp_3_a::Onbingo"; + donpcevent "paper_sp_3_a::OnBingo"; } else if (.@roulette_where == 4) { - donpcevent "paper_sp_4_a::Onbingo"; + donpcevent "paper_sp_4_a::OnBingo"; } else if (.@roulette_where == 5) { - donpcevent "paper_sp_5_a::Onbingo"; + donpcevent "paper_sp_5_a::OnBingo"; } else if (.@roulette_where == 6) { - donpcevent "paper_sp_6_a::Onbingo"; + donpcevent "paper_sp_6_a::OnBingo"; } else if (.@roulette_where == 7) { - donpcevent "paper_sp_7_a::Onbingo"; + donpcevent "paper_sp_7_a::OnBingo"; } else if (.@roulette_where == 8) { - donpcevent "paper_sp_8_a::Onbingo"; + donpcevent "paper_sp_8_a::OnBingo"; } else { - donpcevent "paper_sp_9_a::Onbingo"; + donpcevent "paper_sp_9_a::OnBingo"; } end; -Onstop: +OnStop: stopnpctimer; end; @@ -1088,7 +1089,7 @@ OnTimer63000: end; } -arug_que01,87,93,0 script paper_sp_1_a 139,{ +arug_que01,87,93,0 script paper_sp_1_a HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1106,14 +1107,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x1,rand(81,95); set .@paper_y1,rand(87,100); makeitem 6031,1,"arug_que01",.@paper_x1,.@paper_y1; //Glitering_PaperB end; } -arug_que01,102,93,0 script paper_sp_2_a 139,{ +arug_que01,102,93,0 script paper_sp_2_a HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1131,14 +1132,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x2,rand(96,110); set .@paper_y2,rand(87,100); makeitem 6031,1,"arug_que01",.@paper_x2,.@paper_y2; //Glitering_PaperB end; } -arug_que01,117,93,0 script paper_sp_3_a 139,{ +arug_que01,117,93,0 script paper_sp_3_a HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1156,14 +1157,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x3,rand(111,124); set .@paper_y3,rand(87,100); makeitem 6031,1,"arug_que01",.@paper_x3,.@paper_y3; //Glitering_PaperB end; } -arug_que01,87,80,0 script paper_sp_4_a 139,{ +arug_que01,87,80,0 script paper_sp_4_a HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1181,14 +1182,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x4,rand(81,95); set .@paper_y4,rand(73,86); makeitem 6031,1,"arug_que01",.@paper_x4,.@paper_y4; //Glitering_PaperB end; } -arug_que01,102,80,0 script paper_sp_5_a 139,{ +arug_que01,102,80,0 script paper_sp_5_a HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1206,14 +1207,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x5,rand(96,110); set .@paper_y5,rand(73,86); makeitem 6031,1,"arug_que01",.@paper_x5,.@paper_y5; //Glitering_PaperB end; } -arug_que01,117,80,0 script paper_sp_6_a 139,{ +arug_que01,117,80,0 script paper_sp_6_a HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1231,14 +1232,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x6,rand(111,124); set .@paper_y6,rand(73,86); makeitem 6031,1,"arug_que01",.@paper_x6,.@paper_y6; //Glitering_PaperB end; } -arug_que01,87,65,0 script paper_sp_7_a 139,{ +arug_que01,87,65,0 script paper_sp_7_a HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1256,14 +1257,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x7,rand(81,95); set .@paper_y7,rand(59,72); makeitem 6031,1,"arug_que01",.@paper_x7,.@paper_y7; //Glitering_PaperB end; } -arug_que01,102,65,0 script paper_sp_8_a 139,{ +arug_que01,102,65,0 script paper_sp_8_a HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1281,14 +1282,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x8,rand(96,110); set .@paper_y8,rand(59,72); makeitem 6031,1,"arug_que01",.@paper_x8,.@paper_y8; //Glitering_PaperB end; } -arug_que01,117,65,0 script paper_sp_9_a 139,{ +arug_que01,117,65,0 script paper_sp_9_a HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1306,7 +1307,7 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x9,rand(111,124); set .@paper_y9,rand(59,72); makeitem 6031,1,"arug_que01",.@paper_x9,.@paper_y9; //Glitering_PaperB @@ -1330,7 +1331,7 @@ OnTouch2: end; } -arug_que01,6,6,1 script eff_mvp#aru_gd 844,{ +arug_que01,6,6,1 script eff_mvp#aru_gd CLEAR_NPC,{ end; Onmvp: @@ -1369,7 +1370,7 @@ OnTimer4000: end; } -arug_que01,100,75,5 script Gergath#aru_gd 412,{ +arug_que01,100,75,5 script Gergath#aru_gd 4_M_OLDFRIAR,{ end; OnInit: @@ -1428,7 +1429,7 @@ OnTimer50000: arug_que01,104,140,0 warp back#aru_gd 1,1,arug_dun01,199,192 /* -arug_que01,104,140,1 script treg#aru_gd 844,{ +arug_que01,104,140,1 script treg#aru_gd CLEAR_NPC,{ end; OnEnable: @@ -1452,69 +1453,70 @@ OnMyMobDead: } */ -arug_que01,98,105,3 script #aru_flower_01::GD_Ev_Flower 978,{ +arug_que01,98,105,3 script #aru_flower_01::GD_Ev_Flower 4_YELL_FLOWER,{ end; } -arug_que01,94,105,3 duplicate(GD_Ev_Flower) #aru_flower_02 977 -arug_que01,90,105,3 duplicate(GD_Ev_Flower) #aru_flower_03 978 -arug_que01,86,105,3 duplicate(GD_Ev_Flower) #aru_flower_04 977 -arug_que01,82,105,3 duplicate(GD_Ev_Flower) #aru_flower_05 978 -arug_que01,79,103,3 duplicate(GD_Ev_Flower) #aru_flower_06 977 -arug_que01,79,100,3 duplicate(GD_Ev_Flower) #aru_flower_07 978 -arug_que01,79,97,3 duplicate(GD_Ev_Flower) #aru_flower_08 977 -arug_que01,79,97,3 duplicate(GD_Ev_Flower) #aru_flower_09 978 -arug_que01,79,94,3 duplicate(GD_Ev_Flower) #aru_flower_10 977 -arug_que01,79,91,3 duplicate(GD_Ev_Flower) #aru_flower_11 978 -arug_que01,79,88,3 duplicate(GD_Ev_Flower) #aru_flower_12 977 -arug_que01,79,85,3 duplicate(GD_Ev_Flower) #aru_flower_13 978 -arug_que01,79,82,3 duplicate(GD_Ev_Flower) #aru_flower_14 977 -arug_que01,79,79,3 duplicate(GD_Ev_Flower) #aru_flower_15 978 -arug_que01,79,76,3 duplicate(GD_Ev_Flower) #aru_flower_16 977 -arug_que01,79,73,3 duplicate(GD_Ev_Flower) #aru_flower_17 978 -arug_que01,79,70,3 duplicate(GD_Ev_Flower) #aru_flower_18 977 -arug_que01,79,67,3 duplicate(GD_Ev_Flower) #aru_flower_19 978 -arug_que01,79,64,3 duplicate(GD_Ev_Flower) #aru_flower_20 977 -arug_que01,79,61,3 duplicate(GD_Ev_Flower) #aru_flower_21 978 -arug_que01,79,58,3 duplicate(GD_Ev_Flower) #aru_flower_22 977 -arug_que01,84,58,3 duplicate(GD_Ev_Flower) #aru_flower_23 978 -arug_que01,89,58,3 duplicate(GD_Ev_Flower) #aru_flower_24 977 -arug_que01,94,58,3 duplicate(GD_Ev_Flower) #aru_flower_25 978 -arug_que01,99,58,3 duplicate(GD_Ev_Flower) #aru_flower_26 977 -arug_que01,104,58,3 duplicate(GD_Ev_Flower) #aru_flower_27 978 -arug_que01,109,58,3 duplicate(GD_Ev_Flower) #aru_flower_28 977 -arug_que01,114,58,3 duplicate(GD_Ev_Flower) #aru_flower_29 978 -arug_que01,119,58,3 duplicate(GD_Ev_Flower) #aru_flower_30 977 -arug_que01,124,58,3 duplicate(GD_Ev_Flower) #aru_flower_31 978 -arug_que01,129,58,3 duplicate(GD_Ev_Flower) #aru_flower_32 977 -arug_que01,129,105,3 duplicate(GD_Ev_Flower) #aru_flower_33 978 -arug_que01,129,103,3 duplicate(GD_Ev_Flower) #aru_flower_34 977 -arug_que01,129,100,3 duplicate(GD_Ev_Flower) #aru_flower_35 978 -arug_que01,129,97,3 duplicate(GD_Ev_Flower) #aru_flower_36 977 -arug_que01,129,97,3 duplicate(GD_Ev_Flower) #aru_flower_37 978 -arug_que01,129,94,3 duplicate(GD_Ev_Flower) #aru_flower_38 977 -arug_que01,129,91,3 duplicate(GD_Ev_Flower) #aru_flower_39 978 -arug_que01,129,88,3 duplicate(GD_Ev_Flower) #aru_flower_40 977 -arug_que01,129,85,3 duplicate(GD_Ev_Flower) #aru_flower_41 978 -arug_que01,129,82,3 duplicate(GD_Ev_Flower) #aru_flower_42 977 -arug_que01,129,79,3 duplicate(GD_Ev_Flower) #aru_flower_43 978 -arug_que01,129,76,3 duplicate(GD_Ev_Flower) #aru_flower_44 977 -arug_que01,129,73,3 duplicate(GD_Ev_Flower) #aru_flower_45 978 -arug_que01,129,70,3 duplicate(GD_Ev_Flower) #aru_flower_46 977 -arug_que01,129,67,3 duplicate(GD_Ev_Flower) #aru_flower_47 978 -arug_que01,129,64,3 duplicate(GD_Ev_Flower) #aru_flower_48 977 -arug_que01,129,61,3 duplicate(GD_Ev_Flower) #aru_flower_49 978 -arug_que01,129,58,3 duplicate(GD_Ev_Flower) #aru_flower_50 977 -arug_que01,124,105,3 duplicate(GD_Ev_Flower) #aru_flower_51 978 -arug_que01,119,105,3 duplicate(GD_Ev_Flower) #aru_flower_52 977 -arug_que01,114,105,3 duplicate(GD_Ev_Flower) #aru_flower_53 978 -arug_que01,109,105,3 duplicate(GD_Ev_Flower) #aru_flower_54 977 -arug_que01,104,105,3 duplicate(GD_Ev_Flower) #aru_flower_55 976 - -/* -arug_dun01,5,5,1 script Event controller#aru_gd 81,{ - input .@input; //,0,9999; - if (input == 1854) { +arug_que01,94,105,3 duplicate(GD_Ev_Flower) #aru_flower_02 4_RED_FLOWER +arug_que01,90,105,3 duplicate(GD_Ev_Flower) #aru_flower_03 4_YELL_FLOWER +arug_que01,86,105,3 duplicate(GD_Ev_Flower) #aru_flower_04 4_RED_FLOWER +arug_que01,82,105,3 duplicate(GD_Ev_Flower) #aru_flower_05 4_YELL_FLOWER +arug_que01,79,103,3 duplicate(GD_Ev_Flower) #aru_flower_06 4_RED_FLOWER +arug_que01,79,100,3 duplicate(GD_Ev_Flower) #aru_flower_07 4_YELL_FLOWER +arug_que01,79,97,3 duplicate(GD_Ev_Flower) #aru_flower_08 4_RED_FLOWER +arug_que01,79,97,3 duplicate(GD_Ev_Flower) #aru_flower_09 4_YELL_FLOWER +arug_que01,79,94,3 duplicate(GD_Ev_Flower) #aru_flower_10 4_RED_FLOWER +arug_que01,79,91,3 duplicate(GD_Ev_Flower) #aru_flower_11 4_YELL_FLOWER +arug_que01,79,88,3 duplicate(GD_Ev_Flower) #aru_flower_12 4_RED_FLOWER +arug_que01,79,85,3 duplicate(GD_Ev_Flower) #aru_flower_13 4_YELL_FLOWER +arug_que01,79,82,3 duplicate(GD_Ev_Flower) #aru_flower_14 4_RED_FLOWER +arug_que01,79,79,3 duplicate(GD_Ev_Flower) #aru_flower_15 4_YELL_FLOWER +arug_que01,79,76,3 duplicate(GD_Ev_Flower) #aru_flower_16 4_RED_FLOWER +arug_que01,79,73,3 duplicate(GD_Ev_Flower) #aru_flower_17 4_YELL_FLOWER +arug_que01,79,70,3 duplicate(GD_Ev_Flower) #aru_flower_18 4_RED_FLOWER +arug_que01,79,67,3 duplicate(GD_Ev_Flower) #aru_flower_19 4_YELL_FLOWER +arug_que01,79,64,3 duplicate(GD_Ev_Flower) #aru_flower_20 4_RED_FLOWER +arug_que01,79,61,3 duplicate(GD_Ev_Flower) #aru_flower_21 4_YELL_FLOWER +arug_que01,79,58,3 duplicate(GD_Ev_Flower) #aru_flower_22 4_RED_FLOWER +arug_que01,84,58,3 duplicate(GD_Ev_Flower) #aru_flower_23 4_YELL_FLOWER +arug_que01,89,58,3 duplicate(GD_Ev_Flower) #aru_flower_24 4_RED_FLOWER +arug_que01,94,58,3 duplicate(GD_Ev_Flower) #aru_flower_25 4_YELL_FLOWER +arug_que01,99,58,3 duplicate(GD_Ev_Flower) #aru_flower_26 4_RED_FLOWER +arug_que01,104,58,3 duplicate(GD_Ev_Flower) #aru_flower_27 4_YELL_FLOWER +arug_que01,109,58,3 duplicate(GD_Ev_Flower) #aru_flower_28 4_RED_FLOWER +arug_que01,114,58,3 duplicate(GD_Ev_Flower) #aru_flower_29 4_YELL_FLOWER +arug_que01,119,58,3 duplicate(GD_Ev_Flower) #aru_flower_30 4_RED_FLOWER +arug_que01,124,58,3 duplicate(GD_Ev_Flower) #aru_flower_31 4_YELL_FLOWER +arug_que01,129,58,3 duplicate(GD_Ev_Flower) #aru_flower_32 4_RED_FLOWER +arug_que01,129,105,3 duplicate(GD_Ev_Flower) #aru_flower_33 4_YELL_FLOWER +arug_que01,129,103,3 duplicate(GD_Ev_Flower) #aru_flower_34 4_RED_FLOWER +arug_que01,129,100,3 duplicate(GD_Ev_Flower) #aru_flower_35 4_YELL_FLOWER +arug_que01,129,97,3 duplicate(GD_Ev_Flower) #aru_flower_36 4_RED_FLOWER +arug_que01,129,97,3 duplicate(GD_Ev_Flower) #aru_flower_37 4_YELL_FLOWER +arug_que01,129,94,3 duplicate(GD_Ev_Flower) #aru_flower_38 4_RED_FLOWER +arug_que01,129,91,3 duplicate(GD_Ev_Flower) #aru_flower_39 4_YELL_FLOWER +arug_que01,129,88,3 duplicate(GD_Ev_Flower) #aru_flower_40 4_RED_FLOWER +arug_que01,129,85,3 duplicate(GD_Ev_Flower) #aru_flower_41 4_YELL_FLOWER +arug_que01,129,82,3 duplicate(GD_Ev_Flower) #aru_flower_42 4_RED_FLOWER +arug_que01,129,79,3 duplicate(GD_Ev_Flower) #aru_flower_43 4_YELL_FLOWER +arug_que01,129,76,3 duplicate(GD_Ev_Flower) #aru_flower_44 4_RED_FLOWER +arug_que01,129,73,3 duplicate(GD_Ev_Flower) #aru_flower_45 4_YELL_FLOWER +arug_que01,129,70,3 duplicate(GD_Ev_Flower) #aru_flower_46 4_RED_FLOWER +arug_que01,129,67,3 duplicate(GD_Ev_Flower) #aru_flower_47 4_YELL_FLOWER +arug_que01,129,64,3 duplicate(GD_Ev_Flower) #aru_flower_48 4_RED_FLOWER +arug_que01,129,61,3 duplicate(GD_Ev_Flower) #aru_flower_49 4_YELL_FLOWER +arug_que01,129,58,3 duplicate(GD_Ev_Flower) #aru_flower_50 4_RED_FLOWER +arug_que01,124,105,3 duplicate(GD_Ev_Flower) #aru_flower_51 4_YELL_FLOWER +arug_que01,119,105,3 duplicate(GD_Ev_Flower) #aru_flower_52 4_RED_FLOWER +arug_que01,114,105,3 duplicate(GD_Ev_Flower) #aru_flower_53 4_YELL_FLOWER +arug_que01,109,105,3 duplicate(GD_Ev_Flower) #aru_flower_54 4_RED_FLOWER +arug_que01,104,105,3 duplicate(GD_Ev_Flower) #aru_flower_55 4_BLUE_FLOWER + +arug_dun01,5,5,1 script Event controller#aru_gd 4_DOG01,{ + if (callfunc("F_GM_NPC",1854,0) < 1) { + mes "Incorrect password."; + close; + } else { mes "How can I help you?"; next; switch(select("Reset.:No, thanks.")) { @@ -1532,9 +1534,4 @@ arug_dun01,5,5,1 script Event controller#aru_gd 81,{ close; } } - else { - mes "Incorrect password."; - close; - } } -*/ diff --git a/npc/events/gdevent_sch.txt b/npc/events/gdevent_sch.txt index 786164320..19ef7b8c3 100644 --- a/npc/events/gdevent_sch.txt +++ b/npc/events/gdevent_sch.txt @@ -1,18 +1,19 @@ //===== Hercules Script ====================================== //= Guild dungeon event, Schwaltzvalt. -//===== By: ================================================== +//===== By: ================================================== //= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.2 +//===== Description: ========================================= //= Guild dungeon event, Schwaltzvalt. Retrieve Morestone's //= pickaxe from Kublin. //===== Additional Comments: ================================= //= 1.0 First version //= 1.1 Changed spawn timer to 1 hour. [L0ne_w0lf] +//= 1.2 Added GM management function. [Euphy] //============================================================ -schg_dun01,1,1,1 script Monster Controler#sch_gd 81,{ +schg_dun01,1,1,1 script Monster Controler#sch_gd 4_DOG01,{ OnInit: donpcevent "Monster Controler1#sch::OnKill"; initnpctimer; @@ -26,7 +27,7 @@ OnTimer3600000: end; } -schg_dun01,1,2,1 script Monster Controler1#sch 81,{ +schg_dun01,1,2,1 script Monster Controler1#sch 4_DOG01,{ OnEnable: set .@callwhere,rand(1,4); if (.@callwhere == 1) { @@ -43,7 +44,7 @@ OnEnable: } end; -Onkill: +OnKill: killmonster "schg_dun01","Monster Controler1#sch::OnMyMObDead"; end; @@ -56,7 +57,7 @@ OnMyMobDead: end; } -schg_dun01,194,148,5 script Dwarf#sch_gd 826,{ +schg_dun01,194,148,5 script Dwarf#sch_gd 4_M_DWARF,{ if (getcharid(2) == 0) { mes "[Dwarf]"; mes "Hey did you see an ugly Goblin come by? He stole something from me!"; @@ -474,7 +475,7 @@ OnEnable: end; } -schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{ +schg_que01,100,81,3 script Pierrot Pier#sch_gd 4_M_PIERROT,{ specialeffect EF_POISONHIT; set .@sprchg_gd,rand(1,5); if (.@sprchg_gd == 1) { @@ -673,7 +674,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{ mes "Let me see..."; next; if (countitem(6031) > 0) { - donpcevent "Controller#gdevent_s::Onstop"; + donpcevent "Controller#gdevent_s::OnStop"; set $@gdeventv_s2,3; donpcevent "eff_mvp#sch_gd::Onmvp"; mes "[Pierrot Pier]"; @@ -815,7 +816,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{ mes "Let me see."; next; if (countitem(6031) > 0) { - donpcevent "Controller#gdevent_s::Onstop"; + donpcevent "Controller#gdevent_s::OnStop"; set $@gdeventv_s2,3; donpcevent "eff_mvp#sch_gd::Onmvp"; mes "[Pierrot Pier]"; @@ -901,7 +902,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{ mes "When is that person coming? I am very bored~!"; close; } - emotion 18; + emotion e_heh; mes "[Pierrot Pier]"; mes "^3131FF<Although you're a weirdo, you seem to be very dedicated>^000000. Beep beep."; next; @@ -925,7 +926,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{ mes "Let me see..."; next; if (countitem(6031) > 0) { - donpcevent "Controller#gdevent_s::Onstop"; + donpcevent "Controller#gdevent_s::OnStop"; set $@gdeventv_s2,3; donpcevent "eff_mvp#sch_gd::Onmvp"; mes "[Pierrot Pier]"; @@ -982,14 +983,14 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{ } else { mes "[Pierrot Pier]"; - mes "Voc� encontrou o tesouro?"; - mes "Mostre-me o que voc� tem nas m�os agora."; + mes "Did you find the treasure?"; + mes "Show me that thing you are holding, now!"; next; mes "[Pierrot Pier]"; - mes "Deixe-me ver..."; + mes "Let me see..."; next; if (countitem(6031) > 0) { - donpcevent "Controller#gdevent_s::Onstop"; + donpcevent "Controller#gdevent_s::OnStop"; set $@gdeventv_s2,3; donpcevent "eff_mvp#sch_gd::Onmvp"; mes "[Pierrot Pier]"; @@ -1017,7 +1018,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{ } } -schg_que01,10,10,3 script Controller#gdevent_s 81,{ +schg_que01,10,10,3 script Controller#gdevent_s 4_DOG01,{ OnInit: set $@gdeventv_s2,0; end; @@ -1039,35 +1040,35 @@ Ongame_start: donpcevent "paper_sp_9_s::OnEnable"; set .@roulette_where,rand(1,9); if (.@roulette_where == 1) { - donpcevent "paper_sp_1_s::Onbingo"; + donpcevent "paper_sp_1_s::OnBingo"; } else if (.@roulette_where == 2) { - donpcevent "paper_sp_2_s::Onbingo"; + donpcevent "paper_sp_2_s::OnBingo"; } else if (.@roulette_where == 3) { - donpcevent "paper_sp_3_s::Onbingo"; + donpcevent "paper_sp_3_s::OnBingo"; } else if (.@roulette_where == 4) { - donpcevent "paper_sp_4_s::Onbingo"; + donpcevent "paper_sp_4_s::OnBingo"; } else if (.@roulette_where == 5) { - donpcevent "paper_sp_5_s::Onbingo"; + donpcevent "paper_sp_5_s::OnBingo"; } else if (.@roulette_where == 6) { - donpcevent "paper_sp_6_s::Onbingo"; + donpcevent "paper_sp_6_s::OnBingo"; } else if (.@roulette_where == 7) { - donpcevent "paper_sp_7_s::Onbingo"; + donpcevent "paper_sp_7_s::OnBingo"; } else if (.@roulette_where == 8) { - donpcevent "paper_sp_8_s::Onbingo"; + donpcevent "paper_sp_8_s::OnBingo"; } else { - donpcevent "paper_sp_9_s::Onbingo"; + donpcevent "paper_sp_9_s::OnBingo"; } end; -Onstop: +OnStop: stopnpctimer; end; @@ -1087,7 +1088,7 @@ OnTimer63000: end; } -schg_que01,87,93,0 script paper_sp_1_s 139,{ +schg_que01,87,93,0 script paper_sp_1_s HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1105,14 +1106,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x1,rand(81,95); set .@paper_y1,rand(87,100); makeitem 6031,1,"schg_que01",.@paper_x1,.@paper_y1; //Glitering_PaperB end; } -schg_que01,102,93,0 script paper_sp_2_s 139,{ +schg_que01,102,93,0 script paper_sp_2_s HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1130,14 +1131,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x2,rand(96,110); set .@paper_y2,rand(87,100); makeitem 6031,1,"schg_que01",.@paper_x2,.@paper_y2; //Glitering_PaperB end; } -schg_que01,117,93,0 script paper_sp_3_s 139,{ +schg_que01,117,93,0 script paper_sp_3_s HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1155,14 +1156,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x3,rand(111,124); set .@paper_y3,rand(87,100); makeitem 6031,1,"schg_que01",.@paper_x3,.@paper_y3; //Glitering_PaperB end; } -schg_que01,87,80,0 script paper_sp_4_s 139,{ +schg_que01,87,80,0 script paper_sp_4_s HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1180,14 +1181,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x4,rand(81,95); set .@paper_y4,rand(73,86); makeitem 6031,1,"schg_que01",.@paper_x4,.@paper_y4; //Glitering_PaperB end; } -schg_que01,102,80,0 script paper_sp_5_s 139,{ +schg_que01,102,80,0 script paper_sp_5_s HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1205,14 +1206,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x5,rand(96,110); set .@paper_y5,rand(73,86); makeitem 6031,1,"schg_que01",.@paper_x5,.@paper_y5; //Glitering_PaperB end; } -schg_que01,117,80,0 script paper_sp_6_s 139,{ +schg_que01,117,80,0 script paper_sp_6_s HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1230,14 +1231,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x6,rand(111,124); set .@paper_y6,rand(73,86); makeitem 6031,1,"schg_que01",.@paper_x6,.@paper_y6; //Glitering_PaperB end; } -schg_que01,87,65,0 script paper_sp_7_s 139,{ +schg_que01,87,65,0 script paper_sp_7_s HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1255,14 +1256,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x7,rand(81,95); set .@paper_y7,rand(59,72); makeitem 6031,1,"schg_que01",.@paper_x7,.@paper_y7; //Glitering_PaperB end; } -schg_que01,102,65,0 script paper_sp_8_s 139,{ +schg_que01,102,65,0 script paper_sp_8_s HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1280,14 +1281,14 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x8,rand(96,110); set .@paper_y8,rand(59,72); makeitem 6031,1,"schg_que01",.@paper_x8,.@paper_y8; //Glitering_PaperB end; } -schg_que01,117,65,0 script paper_sp_9_s 139,{ +schg_que01,117,65,0 script paper_sp_9_s HIDDEN_WARP_NPC,{ end; OnEnable: @@ -1305,7 +1306,7 @@ OnEnable: } end; -Onbingo: +OnBingo: set .@paper_x9,rand(111,124); set .@paper_y9,rand(59,72); makeitem 6031,1,"schg_que01",.@paper_x9,.@paper_y9; //Glitering_PaperB @@ -1329,7 +1330,7 @@ OnTouch2: end; } -schg_que01,6,6,1 script eff_mvp#sch_gd 844,{ +schg_que01,6,6,1 script eff_mvp#sch_gd CLEAR_NPC,{ end; Onmvp: @@ -1368,7 +1369,7 @@ OnTimer4000: end; } -schg_que01,100,75,5 script Gergath#sch_gd 412,{ +schg_que01,100,75,5 script Gergath#sch_gd 4_M_OLDFRIAR,{ end; OnInit: @@ -1427,7 +1428,7 @@ OnTimer50000: schg_que01,104,140,0 warp back#sch_gd 1,1,schg_dun01,199,192 /* -schg_que01,104,140,1 script treg#sch_gd 844,{ +schg_que01,104,140,1 script treg#sch_gd CLEAR_NPC,{ end; OnEnable: @@ -1451,69 +1452,70 @@ OnMyMobDead: } */ -schg_que01,98,105,3 script #sch_flower_01::GD_Ev_Flower2 978,{ +schg_que01,98,105,3 script #sch_flower_01::GD_Ev_Flower2 4_YELL_FLOWER,{ end; } -schg_que01,94,105,3 duplicate(GD_Ev_Flower2) #sch_flower_02 977 -schg_que01,90,105,3 duplicate(GD_Ev_Flower2) #sch_flower_03 978 -schg_que01,86,105,3 duplicate(GD_Ev_Flower2) #sch_flower_04 977 -schg_que01,82,105,3 duplicate(GD_Ev_Flower2) #sch_flower_05 978 -schg_que01,79,103,3 duplicate(GD_Ev_Flower2) #sch_flower_06 977 -schg_que01,79,100,3 duplicate(GD_Ev_Flower2) #sch_flower_07 978 -schg_que01,79,97,3 duplicate(GD_Ev_Flower2) #sch_flower_08 977 -schg_que01,79,97,3 duplicate(GD_Ev_Flower2) #sch_flower_09 978 -schg_que01,79,94,3 duplicate(GD_Ev_Flower2) #sch_flower_10 977 -schg_que01,79,91,3 duplicate(GD_Ev_Flower2) #sch_flower_11 978 -schg_que01,79,88,3 duplicate(GD_Ev_Flower2) #sch_flower_12 977 -schg_que01,79,85,3 duplicate(GD_Ev_Flower2) #sch_flower_13 978 -schg_que01,79,82,3 duplicate(GD_Ev_Flower2) #sch_flower_14 977 -schg_que01,79,79,3 duplicate(GD_Ev_Flower2) #sch_flower_15 978 -schg_que01,79,76,3 duplicate(GD_Ev_Flower2) #sch_flower_16 977 -schg_que01,79,73,3 duplicate(GD_Ev_Flower2) #sch_flower_17 978 -schg_que01,79,70,3 duplicate(GD_Ev_Flower2) #sch_flower_18 977 -schg_que01,79,67,3 duplicate(GD_Ev_Flower2) #sch_flower_19 978 -schg_que01,79,64,3 duplicate(GD_Ev_Flower2) #sch_flower_20 977 -schg_que01,79,61,3 duplicate(GD_Ev_Flower2) #sch_flower_21 978 -schg_que01,79,58,3 duplicate(GD_Ev_Flower2) #sch_flower_22 977 -schg_que01,84,58,3 duplicate(GD_Ev_Flower2) #sch_flower_23 978 -schg_que01,89,58,3 duplicate(GD_Ev_Flower2) #sch_flower_24 977 -schg_que01,94,58,3 duplicate(GD_Ev_Flower2) #sch_flower_25 978 -schg_que01,99,58,3 duplicate(GD_Ev_Flower2) #sch_flower_26 977 -schg_que01,104,58,3 duplicate(GD_Ev_Flower2) #sch_flower_27 978 -schg_que01,109,58,3 duplicate(GD_Ev_Flower2) #sch_flower_28 977 -schg_que01,114,58,3 duplicate(GD_Ev_Flower2) #sch_flower_29 978 -schg_que01,119,58,3 duplicate(GD_Ev_Flower2) #sch_flower_30 977 -schg_que01,124,58,3 duplicate(GD_Ev_Flower2) #sch_flower_31 978 -schg_que01,129,58,3 duplicate(GD_Ev_Flower2) #sch_flower_32 977 -schg_que01,129,105,3 duplicate(GD_Ev_Flower2) #sch_flower_33 978 -schg_que01,129,103,3 duplicate(GD_Ev_Flower2) #sch_flower_34 977 -schg_que01,129,100,3 duplicate(GD_Ev_Flower2) #sch_flower_35 978 -schg_que01,129,97,3 duplicate(GD_Ev_Flower2) #sch_flower_36 977 -schg_que01,129,97,3 duplicate(GD_Ev_Flower2) #sch_flower_37 978 -schg_que01,129,94,3 duplicate(GD_Ev_Flower2) #sch_flower_38 977 -schg_que01,129,91,3 duplicate(GD_Ev_Flower2) #sch_flower_39 978 -schg_que01,129,88,3 duplicate(GD_Ev_Flower2) #sch_flower_40 977 -schg_que01,129,85,3 duplicate(GD_Ev_Flower2) #sch_flower_41 978 -schg_que01,129,82,3 duplicate(GD_Ev_Flower2) #sch_flower_42 977 -schg_que01,129,79,3 duplicate(GD_Ev_Flower2) #sch_flower_43 978 -schg_que01,129,76,3 duplicate(GD_Ev_Flower2) #sch_flower_44 977 -schg_que01,129,73,3 duplicate(GD_Ev_Flower2) #sch_flower_45 978 -schg_que01,129,70,3 duplicate(GD_Ev_Flower2) #sch_flower_46 977 -schg_que01,129,67,3 duplicate(GD_Ev_Flower2) #sch_flower_47 978 -schg_que01,129,64,3 duplicate(GD_Ev_Flower2) #sch_flower_48 977 -schg_que01,129,61,3 duplicate(GD_Ev_Flower2) #sch_flower_49 978 -schg_que01,129,58,3 duplicate(GD_Ev_Flower2) #sch_flower_50 977 -schg_que01,124,105,3 duplicate(GD_Ev_Flower2) #sch_flower_51 978 -schg_que01,119,105,3 duplicate(GD_Ev_Flower2) #sch_flower_52 977 -schg_que01,114,105,3 duplicate(GD_Ev_Flower2) #sch_flower_53 978 -schg_que01,109,105,3 duplicate(GD_Ev_Flower2) #sch_flower_54 977 -schg_que01,104,105,3 duplicate(GD_Ev_Flower2) #sch_flower_55 976 - -/* -schg_dun01,5,5,1 script Event controller#sch_gd 81,{ - input .@input; //,0,9999; - if (input == 1854) { +schg_que01,94,105,3 duplicate(GD_Ev_Flower2) #sch_flower_02 4_RED_FLOWER +schg_que01,90,105,3 duplicate(GD_Ev_Flower2) #sch_flower_03 4_YELL_FLOWER +schg_que01,86,105,3 duplicate(GD_Ev_Flower2) #sch_flower_04 4_RED_FLOWER +schg_que01,82,105,3 duplicate(GD_Ev_Flower2) #sch_flower_05 4_YELL_FLOWER +schg_que01,79,103,3 duplicate(GD_Ev_Flower2) #sch_flower_06 4_RED_FLOWER +schg_que01,79,100,3 duplicate(GD_Ev_Flower2) #sch_flower_07 4_YELL_FLOWER +schg_que01,79,97,3 duplicate(GD_Ev_Flower2) #sch_flower_08 4_RED_FLOWER +schg_que01,79,97,3 duplicate(GD_Ev_Flower2) #sch_flower_09 4_YELL_FLOWER +schg_que01,79,94,3 duplicate(GD_Ev_Flower2) #sch_flower_10 4_RED_FLOWER +schg_que01,79,91,3 duplicate(GD_Ev_Flower2) #sch_flower_11 4_YELL_FLOWER +schg_que01,79,88,3 duplicate(GD_Ev_Flower2) #sch_flower_12 4_RED_FLOWER +schg_que01,79,85,3 duplicate(GD_Ev_Flower2) #sch_flower_13 4_YELL_FLOWER +schg_que01,79,82,3 duplicate(GD_Ev_Flower2) #sch_flower_14 4_RED_FLOWER +schg_que01,79,79,3 duplicate(GD_Ev_Flower2) #sch_flower_15 4_YELL_FLOWER +schg_que01,79,76,3 duplicate(GD_Ev_Flower2) #sch_flower_16 4_RED_FLOWER +schg_que01,79,73,3 duplicate(GD_Ev_Flower2) #sch_flower_17 4_YELL_FLOWER +schg_que01,79,70,3 duplicate(GD_Ev_Flower2) #sch_flower_18 4_RED_FLOWER +schg_que01,79,67,3 duplicate(GD_Ev_Flower2) #sch_flower_19 4_YELL_FLOWER +schg_que01,79,64,3 duplicate(GD_Ev_Flower2) #sch_flower_20 4_RED_FLOWER +schg_que01,79,61,3 duplicate(GD_Ev_Flower2) #sch_flower_21 4_YELL_FLOWER +schg_que01,79,58,3 duplicate(GD_Ev_Flower2) #sch_flower_22 4_RED_FLOWER +schg_que01,84,58,3 duplicate(GD_Ev_Flower2) #sch_flower_23 4_YELL_FLOWER +schg_que01,89,58,3 duplicate(GD_Ev_Flower2) #sch_flower_24 4_RED_FLOWER +schg_que01,94,58,3 duplicate(GD_Ev_Flower2) #sch_flower_25 4_YELL_FLOWER +schg_que01,99,58,3 duplicate(GD_Ev_Flower2) #sch_flower_26 4_RED_FLOWER +schg_que01,104,58,3 duplicate(GD_Ev_Flower2) #sch_flower_27 4_YELL_FLOWER +schg_que01,109,58,3 duplicate(GD_Ev_Flower2) #sch_flower_28 4_RED_FLOWER +schg_que01,114,58,3 duplicate(GD_Ev_Flower2) #sch_flower_29 4_YELL_FLOWER +schg_que01,119,58,3 duplicate(GD_Ev_Flower2) #sch_flower_30 4_RED_FLOWER +schg_que01,124,58,3 duplicate(GD_Ev_Flower2) #sch_flower_31 4_YELL_FLOWER +schg_que01,129,58,3 duplicate(GD_Ev_Flower2) #sch_flower_32 4_RED_FLOWER +schg_que01,129,105,3 duplicate(GD_Ev_Flower2) #sch_flower_33 4_YELL_FLOWER +schg_que01,129,103,3 duplicate(GD_Ev_Flower2) #sch_flower_34 4_RED_FLOWER +schg_que01,129,100,3 duplicate(GD_Ev_Flower2) #sch_flower_35 4_YELL_FLOWER +schg_que01,129,97,3 duplicate(GD_Ev_Flower2) #sch_flower_36 4_RED_FLOWER +schg_que01,129,97,3 duplicate(GD_Ev_Flower2) #sch_flower_37 4_YELL_FLOWER +schg_que01,129,94,3 duplicate(GD_Ev_Flower2) #sch_flower_38 4_RED_FLOWER +schg_que01,129,91,3 duplicate(GD_Ev_Flower2) #sch_flower_39 4_YELL_FLOWER +schg_que01,129,88,3 duplicate(GD_Ev_Flower2) #sch_flower_40 4_RED_FLOWER +schg_que01,129,85,3 duplicate(GD_Ev_Flower2) #sch_flower_41 4_YELL_FLOWER +schg_que01,129,82,3 duplicate(GD_Ev_Flower2) #sch_flower_42 4_RED_FLOWER +schg_que01,129,79,3 duplicate(GD_Ev_Flower2) #sch_flower_43 4_YELL_FLOWER +schg_que01,129,76,3 duplicate(GD_Ev_Flower2) #sch_flower_44 4_RED_FLOWER +schg_que01,129,73,3 duplicate(GD_Ev_Flower2) #sch_flower_45 4_YELL_FLOWER +schg_que01,129,70,3 duplicate(GD_Ev_Flower2) #sch_flower_46 4_RED_FLOWER +schg_que01,129,67,3 duplicate(GD_Ev_Flower2) #sch_flower_47 4_YELL_FLOWER +schg_que01,129,64,3 duplicate(GD_Ev_Flower2) #sch_flower_48 4_RED_FLOWER +schg_que01,129,61,3 duplicate(GD_Ev_Flower2) #sch_flower_49 4_YELL_FLOWER +schg_que01,129,58,3 duplicate(GD_Ev_Flower2) #sch_flower_50 4_RED_FLOWER +schg_que01,124,105,3 duplicate(GD_Ev_Flower2) #sch_flower_51 4_YELL_FLOWER +schg_que01,119,105,3 duplicate(GD_Ev_Flower2) #sch_flower_52 4_RED_FLOWER +schg_que01,114,105,3 duplicate(GD_Ev_Flower2) #sch_flower_53 4_YELL_FLOWER +schg_que01,109,105,3 duplicate(GD_Ev_Flower2) #sch_flower_54 4_RED_FLOWER +schg_que01,104,105,3 duplicate(GD_Ev_Flower2) #sch_flower_55 4_BLUE_FLOWER + +schg_dun01,5,5,1 script Event controller#sch_gd 4_DOG01,{ + if (callfunc("F_GM_NPC",1854,0) < 1) { + mes "Incorrect password."; + close; + } else { mes "How can I help you?"; next; switch(select("Reset.:No, thanks.")) { @@ -1531,9 +1533,4 @@ schg_dun01,5,5,1 script Event controller#sch_gd 81,{ close; } } - else { - mes "Incorrect password."; - close; - } } -*/ diff --git a/npc/events/god_se_festival.txt b/npc/events/god_se_festival.txt index 5ceeebd44..c56563c86 100644 --- a/npc/events/god_se_festival.txt +++ b/npc/events/god_se_festival.txt @@ -1,25 +1,26 @@ //===== Hercules Script ====================================== //= Valkyrie's Gift NPCs -//===== By: ================================================== +//===== By: ================================================== //= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Current Version: ===================================== +//= 1.1 +//===== Description: ========================================= +//= [Official Conversion] //= Post-God Item SE Creation Summoning Event -//= Second Sister is a cusotm translation. -//===== Additional Comments: ================================= +//= Second Sister is a custom translation. +//===== Additional Comments: ================================= //= 1.0 First version. [L0ne_W0lf] -//============================================================ +//= 1.1 Added GM management function. [Euphy] +//============================================================ -/* -yuno,1,1,0 script Festival Manager#gq_fes00 891,{ +// Original name: "Festival Manager#god_se_fes00" +yuno,1,1,0 script Festival Manager#gq_fes0 4_F_HUGIRL,{ + callfunc "F_GM_NPC"; mes "[Festival Manager]"; mes "I am the festival NPC manager for the God SE quest."; mes "Please enter your password."; next; - input .@input$; - if (.@input$ != "07godsefes") { + if (callfunc("F_GM_NPC","07godsefes",1) == 0) { mes "[Festival Manager]"; mes "Password is incorrect."; close; @@ -42,9 +43,8 @@ yuno,1,1,0 script Festival Manager#gq_fes00 891,{ close; } } -*/ -yuno,118,192,5 script Rmimi Ravies#gq_fes01 891,{ +yuno,118,192,5 script Rmimi Ravies#gq_fes01 4_F_HUGIRL,{ set .@GID, getcharid(2); if (countitem(7840) > 0) { mes "[Rmimi Ravies]"; @@ -119,7 +119,7 @@ yuno,118,192,5 script Rmimi Ravies#gq_fes01 891,{ next; mes "[Rmimi Ravies]"; mes "Have a good time."; - donpcevent "Rmimi Ravies#gq_fes01::Onstart"; + donpcevent "Rmimi Ravies#gq_fes01::OnStart"; announce "["+ strcharinfo(0) +"] member of ["+ GetGuildName(.@GID) +"] is summoning a 'Valkyrie's Present' in 'Juno'.",bc_all,"0x70dbdb"; close; @@ -164,7 +164,7 @@ OnDisable: disablenpc "Rmimi Ravies#gq_fes01"; end; -Onstart: +OnStart: initnpctimer; set $@gqse_festival,1; end; @@ -390,19 +390,15 @@ OnTimer3900000: end; } -//=============================================================================================== -// Rachel -//=============================================================================================== -//-------------------------------------Rachel Festival Manager----------------------------------- -/* -rachel,1,1,0 script Festival Manager#god_se_fes02 891,{ +// Original name: "Festival Manager#god_se_fes02" +rachel,1,1,0 script Festival Manager#gq_fes2 4_F_HUGIRL,{ + callfunc "F_GM_NPC"; mes "[Festival Manager]"; mes "I am the festival NPC manager for the God SE quest."; mes "Please enter your password."; next; - input .@input$; - if (.@input$ != "07godsefes") { + if (callfunc("F_GM_NPC","07godsefes",1) == 0) { mes "[Festival Manager]"; mes "Password is incorrect."; close; @@ -425,10 +421,8 @@ rachel,1,1,0 script Festival Manager#god_se_fes02 891,{ close; } } -*/ -//----------------------------------------Rhehe Ravies---------------------------------------- -rachel,132,117,3 script Rhehe Ravies#gq_fes03 891,{ +rachel,132,117,3 script Rhehe Ravies#gq_fes03 4_F_HUGIRL,{ set .@GID, getcharid(2); if (countitem(7840) > 0) { mes "[Rhehe Ravies]"; @@ -507,7 +501,7 @@ rachel,132,117,3 script Rhehe Ravies#gq_fes03 891,{ next; mes "[Rhehe Ravies]"; mes "I hope you enjoy yourself!"; - donpcevent "Rhehe Ravies#gq_fes03::Onstart"; + donpcevent "Rhehe Ravies#gq_fes03::OnStart"; announce "["+ strcharinfo(0) +"] member of ["+ GetGuildName(.@GID) +"] is summoning a 'Valkyrie's Present' in 'Rachel'.",bc_all,"0x70dbdb"; close; } @@ -552,7 +546,7 @@ OnDisable: disablenpc "Rhehe Ravies#gq_fes03"; end; -Onstart: +OnStart: initnpctimer; set $@gqse_festival,1; end; diff --git a/npc/events/halloween_2006.txt b/npc/events/halloween_2006.txt index b8664de2e..ba603b207 100644 --- a/npc/events/halloween_2006.txt +++ b/npc/events/halloween_2006.txt @@ -5,7 +5,7 @@ //===== Current Version: ===================================== //= 1.4 //===== Description: ========================================= -//= [Aegis Conversion] +//= [Official Conversion] //= Event 1: Redeem "Pumpkin Mojo" for pumpkin headgear. //= Event 2: Create "Pumpkin Pie" item. //===== Additional Comments: ================================= @@ -39,9 +39,8 @@ OnEffect2: end; } -prontera,164,69,3 script Cool Devi#06_hw 738,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000 || checkweight(1201,1) == 0) { +prontera,164,69,3 script Cool Devi#06_hw 4_DEVIRUCHI,{ + if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -236,9 +235,8 @@ prontera,164,69,3 script Cool Devi#06_hw 738,{ } -geffen,145,132,3 script Hoirin#06_hw 729,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000 || checkweight(1201,1) == 0) { +geffen,145,132,3 script Hoirin#06_hw 4_F_NOVICE,{ + if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -392,9 +390,8 @@ OnTouch: close; } -nif_in,19,32,3 script Deviruchi#06_hw 738,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000 || checkweight(1201,1) == 0) { +nif_in,19,32,3 script Deviruchi#06_hw 4_DEVIRUCHI,{ + if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -485,9 +482,8 @@ nif_in,19,32,3 script Deviruchi#06_hw 738,{ // Creation of Pumpkin Pie (Event 2) //============================================================ -nif_fild01,165,115,3 script Chicken Masta#06_hw 794,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000 || checkweight(1201,1) == 0) { +nif_fild01,165,115,3 script Chicken Masta#06_hw 4_M_NFDEADMAN2,{ + if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -645,7 +641,7 @@ nif_fild01,165,115,3 script Chicken Masta#06_hw 794,{ } } -nif_fild01,167,113,3 script Masta's chicken#06_hw01 800,{ +nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{ mes "Drowsing chicken."; close; } @@ -719,14 +715,14 @@ OnInit: } -nif_fild01,270,145,3 duplicate(HwChicken) Masta's chicken#06_hw02 800 -nif_fild01,219,267,4 duplicate(HwChicken) Masta's chicken#06_hw03 800 -nif_fild01,199,240,5 duplicate(HwChicken) Masta's chicken#06_hw04 800 -nif_fild01,316,97,6 duplicate(HwChicken) Masta's chicken#06_hw05 800 -nif_fild01,147,343,7 duplicate(HwChicken) Masta's chicken#06_hw06 800 -nif_fild01,185,325,8 duplicate(HwChicken) Masta's chicken#06_hw07 800 -nif_fild01,133,105,1 duplicate(HwChicken) Masta's chicken#06_hw08 800 -nif_fild01,331,329,2 duplicate(HwChicken) Masta's chicken#06_hw09 800 +nif_fild01,270,145,3 duplicate(HwChicken) Masta's chicken#06_hw02 4_NFCOCK +nif_fild01,219,267,4 duplicate(HwChicken) Masta's chicken#06_hw03 4_NFCOCK +nif_fild01,199,240,5 duplicate(HwChicken) Masta's chicken#06_hw04 4_NFCOCK +nif_fild01,316,97,6 duplicate(HwChicken) Masta's chicken#06_hw05 4_NFCOCK +nif_fild01,147,343,7 duplicate(HwChicken) Masta's chicken#06_hw06 4_NFCOCK +nif_fild01,185,325,8 duplicate(HwChicken) Masta's chicken#06_hw07 4_NFCOCK +nif_fild01,133,105,1 duplicate(HwChicken) Masta's chicken#06_hw08 4_NFCOCK +nif_fild01,331,329,2 duplicate(HwChicken) Masta's chicken#06_hw09 4_NFCOCK pay_dun03,1,1,0 script #06_hw_timer01 -1,{ OnInit: @@ -866,47 +862,47 @@ OnTimer4200000: } -pay_dun03,151,138,3 duplicate(HwChicken3) Chicken#06_hw_p01 800 -pay_dun03,151,138,3 duplicate(HwChicken2) Chicken#06_hw_p02 800 -pay_dun03,152,138,3 duplicate(HwChicken2) Chicken#06_hw_p03 800 -pay_dun03,154,138,3 duplicate(HwChicken2) Chicken#06_hw_p04 800 -pay_dun03,155,138,3 duplicate(HwChicken2) Chicken#06_hw_p05 800 -pay_dun03,157,138,3 duplicate(HwChicken2) Chicken#06_hw_p06 800 -pay_dun03,158,138,3 duplicate(HwChicken3) Chicken#06_hw_p07 800 -pay_dun03,150,137,3 duplicate(HwChicken2) Chicken#06_hw_p08 800 -pay_dun03,153,137,3 duplicate(HwChicken2) Chicken#06_hw_p09 800 -pay_dun03,156,137,3 duplicate(HwChicken3) Chicken#06_hw_p10 800 -pay_dun03,159,137,3 duplicate(HwChicken2) Chicken#06_hw_p11 800 -pay_dun03,149,136,3 duplicate(HwChicken2) Chicken#06_hw_p12 800 -pay_dun03,152,136,3 duplicate(HwChicken3) Chicken#06_hw_p13 800 -pay_dun03,157,136,3 duplicate(HwChicken2) Chicken#06_hw_p14 800 -pay_dun03,160,136,3 duplicate(HwChicken2) Chicken#06_hw_p15 800 -pay_dun03,149,135,3 duplicate(HwChicken3) Chicken#06_hw_p16 800 -pay_dun03,151,135,3 duplicate(HwChicken2) Chicken#06_hw_p17 800 -pay_dun03,152,135,3 duplicate(HwChicken2) Chicken#06_hw_p18 800 -pay_dun03,153,135,3 duplicate(HwChicken3) Chicken#06_hw_p19 800 -pay_dun03,156,135,3 duplicate(HwChicken2) Chicken#06_hw_p20 800 -pay_dun03,157,135,3 duplicate(HwChicken2) Chicken#06_hw_p21 800 -pay_dun03,158,135,3 duplicate(HwChicken3) Chicken#06_hw_p22 800 -pay_dun03,160,135,3 duplicate(HwChicken2) Chicken#06_hw_p23 800 -pay_dun03,149,134,3 duplicate(HwChicken2) Chicken#06_hw_p24 800 -pay_dun03,152,134,3 duplicate(HwChicken3) Chicken#06_hw_p25 800 -pay_dun03,157,134,3 duplicate(HwChicken2) Chicken#06_hw_p26 800 -pay_dun03,160,134,3 duplicate(HwChicken2) Chicken#06_hw_p27 800 -pay_dun03,149,133,3 duplicate(HwChicken3) Chicken#06_hw_p28 800 -pay_dun03,160,133,3 duplicate(HwChicken2) Chicken#06_hw_p29 800 -pay_dun03,150,132,3 duplicate(HwChicken2) Chicken#06_hw_p30 800 -pay_dun03,153,132,3 duplicate(HwChicken3) Chicken#06_hw_p31 800 -pay_dun03,156,132,3 duplicate(HwChicken2) Chicken#06_hw_p32 800 -pay_dun03,159,132,3 duplicate(HwChicken2) Chicken#06_hw_p33 800 -pay_dun03,151,131,3 duplicate(HwChicken2) Chicken#06_hw_p34 800 -pay_dun03,152,131,3 duplicate(HwChicken2) Chicken#06_hw_p35 800 -pay_dun03,153,131,3 duplicate(HwChicken3) Chicken#06_hw_p36 800 -pay_dun03,154,131,3 duplicate(HwChicken2) Chicken#06_hw_p37 800 -pay_dun03,155,131,3 duplicate(HwChicken2) Chicken#06_hw_p38 800 -pay_dun03,156,131,3 duplicate(HwChicken3) Chicken#06_hw_p39 800 -pay_dun03,157,131,3 duplicate(HwChicken2) Chicken#06_hw_p40 800 -pay_dun03,158,131,3 duplicate(HwChicken3) Chicken#06_hw_p41 800 +pay_dun03,151,138,3 duplicate(HwChicken3) Chicken#06_hw_p01 4_NFCOCK +pay_dun03,151,138,3 duplicate(HwChicken2) Chicken#06_hw_p02 4_NFCOCK +pay_dun03,152,138,3 duplicate(HwChicken2) Chicken#06_hw_p03 4_NFCOCK +pay_dun03,154,138,3 duplicate(HwChicken2) Chicken#06_hw_p04 4_NFCOCK +pay_dun03,155,138,3 duplicate(HwChicken2) Chicken#06_hw_p05 4_NFCOCK +pay_dun03,157,138,3 duplicate(HwChicken2) Chicken#06_hw_p06 4_NFCOCK +pay_dun03,158,138,3 duplicate(HwChicken3) Chicken#06_hw_p07 4_NFCOCK +pay_dun03,150,137,3 duplicate(HwChicken2) Chicken#06_hw_p08 4_NFCOCK +pay_dun03,153,137,3 duplicate(HwChicken2) Chicken#06_hw_p09 4_NFCOCK +pay_dun03,156,137,3 duplicate(HwChicken3) Chicken#06_hw_p10 4_NFCOCK +pay_dun03,159,137,3 duplicate(HwChicken2) Chicken#06_hw_p11 4_NFCOCK +pay_dun03,149,136,3 duplicate(HwChicken2) Chicken#06_hw_p12 4_NFCOCK +pay_dun03,152,136,3 duplicate(HwChicken3) Chicken#06_hw_p13 4_NFCOCK +pay_dun03,157,136,3 duplicate(HwChicken2) Chicken#06_hw_p14 4_NFCOCK +pay_dun03,160,136,3 duplicate(HwChicken2) Chicken#06_hw_p15 4_NFCOCK +pay_dun03,149,135,3 duplicate(HwChicken3) Chicken#06_hw_p16 4_NFCOCK +pay_dun03,151,135,3 duplicate(HwChicken2) Chicken#06_hw_p17 4_NFCOCK +pay_dun03,152,135,3 duplicate(HwChicken2) Chicken#06_hw_p18 4_NFCOCK +pay_dun03,153,135,3 duplicate(HwChicken3) Chicken#06_hw_p19 4_NFCOCK +pay_dun03,156,135,3 duplicate(HwChicken2) Chicken#06_hw_p20 4_NFCOCK +pay_dun03,157,135,3 duplicate(HwChicken2) Chicken#06_hw_p21 4_NFCOCK +pay_dun03,158,135,3 duplicate(HwChicken3) Chicken#06_hw_p22 4_NFCOCK +pay_dun03,160,135,3 duplicate(HwChicken2) Chicken#06_hw_p23 4_NFCOCK +pay_dun03,149,134,3 duplicate(HwChicken2) Chicken#06_hw_p24 4_NFCOCK +pay_dun03,152,134,3 duplicate(HwChicken3) Chicken#06_hw_p25 4_NFCOCK +pay_dun03,157,134,3 duplicate(HwChicken2) Chicken#06_hw_p26 4_NFCOCK +pay_dun03,160,134,3 duplicate(HwChicken2) Chicken#06_hw_p27 4_NFCOCK +pay_dun03,149,133,3 duplicate(HwChicken3) Chicken#06_hw_p28 4_NFCOCK +pay_dun03,160,133,3 duplicate(HwChicken2) Chicken#06_hw_p29 4_NFCOCK +pay_dun03,150,132,3 duplicate(HwChicken2) Chicken#06_hw_p30 4_NFCOCK +pay_dun03,153,132,3 duplicate(HwChicken3) Chicken#06_hw_p31 4_NFCOCK +pay_dun03,156,132,3 duplicate(HwChicken2) Chicken#06_hw_p32 4_NFCOCK +pay_dun03,159,132,3 duplicate(HwChicken2) Chicken#06_hw_p33 4_NFCOCK +pay_dun03,151,131,3 duplicate(HwChicken2) Chicken#06_hw_p34 4_NFCOCK +pay_dun03,152,131,3 duplicate(HwChicken2) Chicken#06_hw_p35 4_NFCOCK +pay_dun03,153,131,3 duplicate(HwChicken3) Chicken#06_hw_p36 4_NFCOCK +pay_dun03,154,131,3 duplicate(HwChicken2) Chicken#06_hw_p37 4_NFCOCK +pay_dun03,155,131,3 duplicate(HwChicken2) Chicken#06_hw_p38 4_NFCOCK +pay_dun03,156,131,3 duplicate(HwChicken3) Chicken#06_hw_p39 4_NFCOCK +pay_dun03,157,131,3 duplicate(HwChicken2) Chicken#06_hw_p40 4_NFCOCK +pay_dun03,158,131,3 duplicate(HwChicken3) Chicken#06_hw_p41 4_NFCOCK // Payon Field chickens //============================================================ @@ -1005,35 +1001,35 @@ OnTimer6000000: end; } -pay_fild08,147,353,3 duplicate(HwChicken3) Chicken#06_hw_pf01 800 -pay_fild08,147,354,3 duplicate(HwChicken2) Chicken#06_hw_pf02 800 -pay_fild08,147,355,3 duplicate(HwChicken2) Chicken#06_hw_pf03 800 -pay_fild08,148,352,3 duplicate(HwChicken3) Chicken#06_hw_pf04 800 -pay_fild08,148,356,3 duplicate(HwChicken2) Chicken#06_hw_pf05 800 -pay_fild08,149,351,3 duplicate(HwChicken2) Chicken#06_hw_pf06 800 -pay_fild08,149,354,3 duplicate(HwChicken3) Chicken#06_hw_pf07 800 -pay_fild08,149,357,3 duplicate(HwChicken2) Chicken#06_hw_pf08 800 -pay_fild08,150,351,3 duplicate(HwChicken2) Chicken#06_hw_pf09 800 -pay_fild08,150,357,3 duplicate(HwChicken3) Chicken#06_hw_pf10 800 -pay_fild08,151,351,3 duplicate(HwChicken2) Chicken#06_hw_pf11 800 -pay_fild08,151,353,3 duplicate(HwChicken2) Chicken#06_hw_pf12 800 -pay_fild08,151,355,3 duplicate(HwChicken3) Chicken#06_hw_pf13 800 -pay_fild08,151,357,3 duplicate(HwChicken2) Chicken#06_hw_pf14 800 -pay_fild08,152,351,3 duplicate(HwChicken2) Chicken#06_hw_pf15 800 -pay_fild08,152,357,3 duplicate(HwChicken3) Chicken#06_hw_pf16 800 -pay_fild08,153,351,3 duplicate(HwChicken2) Chicken#06_hw_pf17 800 -pay_fild08,153,357,3 duplicate(HwChicken2) Chicken#06_hw_pf18 800 -pay_fild08,154,351,3 duplicate(HwChicken3) Chicken#06_hw_pf19 800 -pay_fild08,154,353,3 duplicate(HwChicken2) Chicken#06_hw_pf20 800 -pay_fild08,154,355,3 duplicate(HwChicken2) Chicken#06_hw_pf21 800 -pay_fild08,154,357,3 duplicate(HwChicken3) Chicken#06_hw_pf22 800 -pay_fild08,155,350,3 duplicate(HwChicken2) Chicken#06_hw_pf23 800 -pay_fild08,155,352,3 duplicate(HwChicken2) Chicken#06_hw_pf24 800 -pay_fild08,155,354,3 duplicate(HwChicken3) Chicken#06_hw_pf25 800 -pay_fild08,155,356,3 duplicate(HwChicken2) Chicken#06_hw_pf26 800 -pay_fild08,155,358,3 duplicate(HwChicken3) Chicken#06_hw_pf27 800 - -prontera,155,285,3 script Familiar#06_hw01::HWFamiDup 799,{ +pay_fild08,147,353,3 duplicate(HwChicken3) Chicken#06_hw_pf01 4_NFCOCK +pay_fild08,147,354,3 duplicate(HwChicken2) Chicken#06_hw_pf02 4_NFCOCK +pay_fild08,147,355,3 duplicate(HwChicken2) Chicken#06_hw_pf03 4_NFCOCK +pay_fild08,148,352,3 duplicate(HwChicken3) Chicken#06_hw_pf04 4_NFCOCK +pay_fild08,148,356,3 duplicate(HwChicken2) Chicken#06_hw_pf05 4_NFCOCK +pay_fild08,149,351,3 duplicate(HwChicken2) Chicken#06_hw_pf06 4_NFCOCK +pay_fild08,149,354,3 duplicate(HwChicken3) Chicken#06_hw_pf07 4_NFCOCK +pay_fild08,149,357,3 duplicate(HwChicken2) Chicken#06_hw_pf08 4_NFCOCK +pay_fild08,150,351,3 duplicate(HwChicken2) Chicken#06_hw_pf09 4_NFCOCK +pay_fild08,150,357,3 duplicate(HwChicken3) Chicken#06_hw_pf10 4_NFCOCK +pay_fild08,151,351,3 duplicate(HwChicken2) Chicken#06_hw_pf11 4_NFCOCK +pay_fild08,151,353,3 duplicate(HwChicken2) Chicken#06_hw_pf12 4_NFCOCK +pay_fild08,151,355,3 duplicate(HwChicken3) Chicken#06_hw_pf13 4_NFCOCK +pay_fild08,151,357,3 duplicate(HwChicken2) Chicken#06_hw_pf14 4_NFCOCK +pay_fild08,152,351,3 duplicate(HwChicken2) Chicken#06_hw_pf15 4_NFCOCK +pay_fild08,152,357,3 duplicate(HwChicken3) Chicken#06_hw_pf16 4_NFCOCK +pay_fild08,153,351,3 duplicate(HwChicken2) Chicken#06_hw_pf17 4_NFCOCK +pay_fild08,153,357,3 duplicate(HwChicken2) Chicken#06_hw_pf18 4_NFCOCK +pay_fild08,154,351,3 duplicate(HwChicken3) Chicken#06_hw_pf19 4_NFCOCK +pay_fild08,154,353,3 duplicate(HwChicken2) Chicken#06_hw_pf20 4_NFCOCK +pay_fild08,154,355,3 duplicate(HwChicken2) Chicken#06_hw_pf21 4_NFCOCK +pay_fild08,154,357,3 duplicate(HwChicken3) Chicken#06_hw_pf22 4_NFCOCK +pay_fild08,155,350,3 duplicate(HwChicken2) Chicken#06_hw_pf23 4_NFCOCK +pay_fild08,155,352,3 duplicate(HwChicken2) Chicken#06_hw_pf24 4_NFCOCK +pay_fild08,155,354,3 duplicate(HwChicken3) Chicken#06_hw_pf25 4_NFCOCK +pay_fild08,155,356,3 duplicate(HwChicken2) Chicken#06_hw_pf26 4_NFCOCK +pay_fild08,155,358,3 duplicate(HwChicken3) Chicken#06_hw_pf27 4_NFCOCK + +prontera,155,285,3 script Familiar#06_hw01::HWFamiDup 4_NFBAT,{ mes "[Familiar]"; mes "Hello."; mes "I'm Loli Ruri's faithful and cute Familiar."; @@ -1076,10 +1072,10 @@ prontera,155,285,3 script Familiar#06_hw01::HWFamiDup 799,{ mes "He likes it."; close; } -payon,156,231,3 duplicate(HWFamiDup) Familiar#06_hw02 799 -morocc,159,143,3 duplicate(HWFamiDup) Familiar#06_hw03 799 -geffen,120,188,3 duplicate(HWFamiDup) Familiar#06_hw04 799 -alberta,80,171,3 duplicate(HWFamiDup) Familiar#06_hw05 799 +payon,156,231,3 duplicate(HWFamiDup) Familiar#06_hw02 4_NFBAT +morocc,159,143,3 duplicate(HWFamiDup) Familiar#06_hw03 4_NFBAT +geffen,120,188,3 duplicate(HWFamiDup) Familiar#06_hw04 4_NFBAT +alberta,80,171,3 duplicate(HWFamiDup) Familiar#06_hw05 4_NFBAT // Event Lude Monster Spawns //============================================================ diff --git a/npc/events/halloween_2008.txt b/npc/events/halloween_2008.txt index 78407465f..6aad72358 100644 --- a/npc/events/halloween_2008.txt +++ b/npc/events/halloween_2008.txt @@ -15,9 +15,8 @@ //= 1.1 Some small changes. [Kisuka] //============================================================ -payon,162,176,4 script Halloween Magician#iRO08 704,{ - - if(Hallow08 < 1) { +payon,162,176,4 script Halloween Magician#iRO08 4_M_BIBI,{ + if (Hallow08 < 1) { mes "[Halloween Magician]"; mes "Kkkkkkkkk!"; mes "I have a special event this Halloween that tests your luck and agility."; @@ -30,7 +29,6 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ next; goto MainMenu; } - if (Hallow08Kill == 1) { mes "[Halloween Magician]"; mes "You a 'fraidy cat or something?!"; @@ -43,7 +41,6 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ } goto Participate; } - if (Hallow08Kill == 2) { mes "[Halloween Magician]"; mes "Oh, well done! You are alright!"; @@ -59,14 +56,13 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ mes "You can get Halloween tickets for cool items."; close; } - - if(Hallow08 > 0) { + if (Hallow08 > 0) { mes "[Halloween Magician]"; mes "Well, do you want to hear the rules again or, just get back to it..."; next; goto MainMenu2; } - + Rules: mes "[Halloween Magician]"; mes "This village is like a virtual Payon."; @@ -96,10 +92,10 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ mes "Hey..."; mes "Come back once you're ready."; close; - }else{ + } else { goto MainMenu; } - + Participate: mes "[Halloween Magician]"; mes "Ok, you are ready."; @@ -114,7 +110,7 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ mes "You think I wouldn't notice that your weight is above '0'?"; mes "You're overweight..."; close; - }else{ + } else { mes "[Halloween Magician]"; mes "You seem good to go, and your weight is just right."; next; @@ -138,7 +134,7 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ warp "evt_zombie",155,246; end; } - + TicketExchange: mes "[Halloween Magician]"; mes "You want to exchange tickets for prizes?"; @@ -158,52 +154,52 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ mes "What would you like to exchange for?"; next; switch(select("Pumpkin Pie:Pumpkin-Head:Old Blue Box:Old Purple Box:Old Card Album")) { - case 1: - if(countitem(7941) < 5) { - goto NotEnough; - }else{ - delitem 7941,5; - getitem 12192,1; - goto Enough; - } - break; - case 2: - if(countitem(7941) < 20) { - goto NotEnough; - }else{ - delitem 7941,20; - getitem 5134,1; - goto Enough; - } - break; - case 3: - if(countitem(7941) < 50) { - goto NotEnough; - }else{ - delitem 7941,50; - getitem 603,1; - goto Enough; - } - break; - case 4: - if(countitem(7941) < 70) { - goto NotEnough; - }else{ - delitem 7941,70; - getitem 617,1; - goto Enough; - } - break; - case 5: - if(countitem(7941) < 200) { - goto NotEnough; - }else{ - delitem 7941,200; - getitem 616,1; - goto Enough; - } + case 1: + if (countitem(7941) < 5) { + goto NotEnough; + } else { + delitem 7941,5; + getitem 12192,1; + goto Enough; + } + break; + case 2: + if (countitem(7941) < 20) { + goto NotEnough; + } else { + delitem 7941,20; + getitem 5134,1; + goto Enough; + } + break; + case 3: + if (countitem(7941) < 50) { + goto NotEnough; + } else { + delitem 7941,50; + getitem 603,1; + goto Enough; + } + break; + case 4: + if (countitem(7941) < 70) { + goto NotEnough; + } else { + delitem 7941,70; + getitem 617,1; + goto Enough; + } + break; + case 5: + if (countitem(7941) < 200) { + goto NotEnough; + } else { + delitem 7941,200; + getitem 616,1; + goto Enough; + } } - + NextTime: mes "[Halloween Magician]"; mes "Ok, see you then."; @@ -231,36 +227,36 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ next; if (Hallow08 == 1) { goto MainMenu2; - }else{ + } else { goto MainMenu; } } -evt_zombie,16,142,1 script zombiewarp001 45,2,2,{ +evt_zombie,16,142,1 script zombiewarp001 WARPNPC,2,2,{ OnTouch: if (@Hallow08Warp == 1) { set Hallow08Kill,2; - specialeffect 16; + specialeffect EF_BASH; warp "payon",28,142; } end; } -evt_zombie,122,27,1 script zombiewarp002 45,2,2,{ +evt_zombie,122,27,1 script zombiewarp002 WARPNPC,2,2,{ OnTouch: if (@Hallow08Warp == 2) { set Hallow08Kill,2; - specialeffect 16; + specialeffect EF_BASH; warp "payon",121,40; } end; } -evt_zombie,267,89,1 script zombiewarp003 45,2,2,{ +evt_zombie,267,89,1 script zombiewarp003 WARPNPC,2,2,{ OnTouch: if (@Hallow08Warp == 3) { set Hallow08Kill,2; - specialeffect 16; + specialeffect EF_BASH; warp "payon",253,95; } end; diff --git a/npc/events/halloween_2009.txt b/npc/events/halloween_2009.txt index a5faf713e..95b3e2a11 100644 --- a/npc/events/halloween_2009.txt +++ b/npc/events/halloween_2009.txt @@ -20,7 +20,7 @@ // Headgear Quest - Pumpkin Hat //============================================================ -prontera,152,192,5 script Pumpkin Hat Researcher 712,{ +prontera,152,192,5 script Pumpkin Hat Researcher 4_M_05,{ if(BaseLevel < 45) { mes "[Pumpkin Hat Researcher]"; mes "Shoo, I don't need a child. Shoo! I don't talk to novices."; @@ -94,7 +94,7 @@ prontera,152,192,5 script Pumpkin Hat Researcher 712,{ // Buffs - Trick or Treaters //============================================================ -- script Trick or Treater::09Treats 706,2,2,{ +- script Trick or Treater::09Treats 4_M_KID1,2,2,{ OnTouch: hideoffnpc strnpcinfo(3); initnpctimer; @@ -106,7 +106,7 @@ OnTouch: mes "[Trick or Treater]"; mes "!!!!"; mes "Fine. I have no choice but to trick you back!"; - sc_start SC_Stun,5000,0; + sc_start SC_STUN,5000,0; close; } mes "[Trick or Treater]"; @@ -131,7 +131,7 @@ OnTouch: mes "[Trick or Treater]"; mes "At least a Candy, a Candy Cane or a Well-baked Cookie is all I ask for a treat."; mes "Fine. I have no choice but to trick you!"; - sc_start SC_Stun,5000,0; + sc_start SC_STUN,5000,0; close; } case 2: @@ -152,7 +152,7 @@ OnTouch: mes "[Trick or Treater]"; mes "At least a Candy, a Candy Cane or a Well-baked Cookie is all I ask for a treat."; mes "Fine. I have no choice but to trick you!"; - sc_start SC_Stun,5000,0; + sc_start SC_STUN,5000,0; close; } case 3: @@ -173,14 +173,14 @@ OnTouch: mes "[Trick or Treater]"; mes "At least a Candy, a Candy Cane or a Well-baked Cookie is all I ask for a treat."; mes "Fine. I have no choice but to trick you!"; - sc_start SC_Stun,5000,0; + sc_start SC_STUN,5000,0; close; } case 4: mes "[Trick or Treater]"; mes "At least a Candy, a Candy Cane or a Well-baked Cookie is all I ask for a treat."; mes "Fine. I have no choice but to trick you!"; - sc_start SC_Stun,5000,0; + sc_start SC_STUN,5000,0; close; } OnInit: @@ -209,18 +209,18 @@ OnTimer300000: stopnpctimer; end; } -prontera,151,173,5 duplicate(09Treats) Trick or Treater#iRO1 706,2,2 -prontera,270,350,5 duplicate(09Treats) Trick or Treater#iRO2 706,2,2 -prontera,234,310,5 duplicate(09Treats) Trick or Treater#iRO3 706,2,2 -prontera,156,321,5 duplicate(09Treats) Trick or Treater#iRO4 706,2,2 -prontera,156,283,5 duplicate(09Treats) Trick or Treater#iRO5 706,2,2 -prontera,142,214,5 duplicate(09Treats) Trick or Treater#iRO6 706,2,2 -prontera,134,125,5 duplicate(09Treats) Trick or Treater#iRO7 706,2,2 -prontera,220,72,5 duplicate(09Treats) Trick or Treater#iRO8 706,2,2 +prontera,151,173,5 duplicate(09Treats) Trick or Treater#iRO1 4_M_KID1,2,2 +prontera,270,350,5 duplicate(09Treats) Trick or Treater#iRO2 4_M_KID1,2,2 +prontera,234,310,5 duplicate(09Treats) Trick or Treater#iRO3 4_M_KID1,2,2 +prontera,156,321,5 duplicate(09Treats) Trick or Treater#iRO4 4_M_KID1,2,2 +prontera,156,283,5 duplicate(09Treats) Trick or Treater#iRO5 4_M_KID1,2,2 +prontera,142,214,5 duplicate(09Treats) Trick or Treater#iRO6 4_M_KID1,2,2 +prontera,134,125,5 duplicate(09Treats) Trick or Treater#iRO7 4_M_KID1,2,2 +prontera,220,72,5 duplicate(09Treats) Trick or Treater#iRO8 4_M_KID1,2,2 // Monster Summoning - Halloween Wizard //============================================================ -- script Halloween Wizard#iRO09::09HallowWiz 737,{ +- script Halloween Wizard#iRO09::09HallowWiz 4_DARKLORD,{ mes "[Halloween Wizard]"; mes "..."; mes "Do you want to play a trick on someone?"; @@ -433,8 +433,8 @@ prontera,220,72,5 duplicate(09Treats) Trick or Treater#iRO8 706,2,2 } } } -prontera,156,195,5 duplicate(09HallowWiz) Halloween Wizard#1 737 -geffen,133,122,5 duplicate(09HallowWiz) Halloween Wizard#2 737 -payon,156,196,5 duplicate(09HallowWiz) Halloween Wizard#3 737 -alberta,96,57,5 duplicate(09HallowWiz) Halloween Wizard#4 737 -aldebaran,146,122,5 duplicate(09HallowWiz) Halloween Wizard#5 737 +prontera,156,195,5 duplicate(09HallowWiz) Halloween Wizard#1 4_DARKLORD +geffen,133,122,5 duplicate(09HallowWiz) Halloween Wizard#2 4_DARKLORD +payon,156,196,5 duplicate(09HallowWiz) Halloween Wizard#3 4_DARKLORD +alberta,96,57,5 duplicate(09HallowWiz) Halloween Wizard#4 4_DARKLORD +aldebaran,146,122,5 duplicate(09HallowWiz) Halloween Wizard#5 4_DARKLORD diff --git a/npc/events/idul_fitri.txt b/npc/events/idul_fitri.txt index 557ce62c9..b308335cb 100644 --- a/npc/events/idul_fitri.txt +++ b/npc/events/idul_fitri.txt @@ -1,16 +1,16 @@ //===== Hercules Script ====================================== //= Feast Day Of Ramadan Idul Fitri Event -//===== By: ================================================== +//===== By: ================================================== //= $ephiroth -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.1 -//===== Description: ========================================= +//===== Description: ========================================= //= Info : Official idRO //= 2006/10/16: 1.0 Release and fully working. [$ephiroth] //= 1.1 Replaced effect numerics with constants. [Samuray22] //============================================================ -prontera,146,92,3 script Cellerb 58,{ +prontera,146,92,3 script Cellerb 1_M_MERCHANT,{ mes "[Staff Idul Fitri]"; if((gettime(6)==10 && (gettime(5)==24 || gettime(5)==25))==0) { mes "Congratulation! Celebrate Feast Day Of Ramadan Idul Fitri 1427 H."; @@ -68,4 +68,4 @@ prontera,146,92,3 script Cellerb 58,{ emotion e_hmm; close; } -} +}
\ No newline at end of file diff --git a/npc/events/lunar_2008.txt b/npc/events/lunar_2008.txt index 72ebe644b..577869be3 100644 --- a/npc/events/lunar_2008.txt +++ b/npc/events/lunar_2008.txt @@ -22,7 +22,7 @@ //= 1.1 Added missing checkweights. [L0ne_W0lf] //============================================================ -payon_in01,193,30,4 script Rice Mill Grandma#rat 78,{ +payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{ mes "[Rice Mill Grandma]"; if (!lunar_rat) { mes "Those filthy little"; @@ -170,7 +170,7 @@ payon_in01,193,30,4 script Rice Mill Grandma#rat 78,{ } } -payon,215,127,4 script Rice Mill Man#rat 54,{ +payon,215,127,4 script Rice Mill Man#rat 1_M_JOBGUIDER,{ mes "[Rice Mill Man]"; if (!lunar_rat) { mes "Breaks my heart..."; @@ -223,8 +223,8 @@ payon,215,127,4 script Rice Mill Man#rat 54,{ } } -//payon,126,113,4 script Miss Lunar#rat 862,{ -payon,126,113,4 script Miss Lunar#rat 719,{ +//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) { mes "Oh, I'm sorry, but we"; diff --git a/npc/events/nguild/nguild_dunsw.txt b/npc/events/nguild/nguild_dunsw.txt index 7f191290b..2fd6b7594 100644 --- a/npc/events/nguild/nguild_dunsw.txt +++ b/npc/events/nguild/nguild_dunsw.txt @@ -41,25 +41,25 @@ function script F_GldDunSw { } // Castle 1 =============================================== -nguild_alde,212,181,0 script Switch#DunN01 111,{ +nguild_alde,212,181,0 script Switch#DunN01 HIDDEN_NPC,{ callfunc "F_GldDunSw","nguild_alde","02",32,122; close; } // Castle 2 =============================================== -nguild_gef,78,84,0 script Switch#DunN02 111,{ +nguild_gef,78,84,0 script Switch#DunN02 HIDDEN_NPC,{ callfunc "F_GldDunSw","nguild_gef","04",39,258; close; } // Castle 3 =============================================== -nguild_pay,101,25,0 script Switch#DunN03 111,{ +nguild_pay,101,25,0 script Switch#DunN03 HIDDEN_NPC,{ callfunc "F_GldDunSw","nguild_pay","01",186,165; close; } // Castle 4 =============================================== -nguild_prt,94,200,0 script Switch#DunN04 111,{ +nguild_prt,94,200,0 script Switch#DunN04 HIDDEN_NPC,{ callfunc "F_GldDunSw","nguild_prt","03",28,251; close; } diff --git a/npc/events/nguild/nguild_flags.txt b/npc/events/nguild/nguild_flags.txt index 178125643..17e1db744 100644 --- a/npc/events/nguild/nguild_flags.txt +++ b/npc/events/nguild/nguild_flags.txt @@ -61,7 +61,7 @@ function script F_Flags { //============================================================================// // Castle 1 //============================================================================// -n_castle,110,96,1 script NGuild Aldebaran#a1-1 722,{ +n_castle,110,96,1 script NGuild Aldebaran#a1-1 GUILD_FLAG,{ callfunc "F_Flags","Al De Baran","nguild_alde",218,170,1,1; close; @@ -70,7 +70,7 @@ OnRecvCastleN01: end; } -nguild_alde,30,248,4 script NGuild Aldebaran#a1-6::NGuildAlde 722,{ +nguild_alde,30,248,4 script NGuild Aldebaran#a1-6::NGuildAlde GUILD_FLAG,{ callfunc "F_Flags","Al De Baran","nguild_alde",218,170,0,1; close; @@ -79,20 +79,20 @@ OnRecvCastleN01: end; } // In Castle ============================================ -nguild_alde,30,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-7 722 -nguild_alde,37,248,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-8 722 -nguild_alde,37,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-9 722 -nguild_alde,95,80,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-10 722 -nguild_alde,95,59,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-11 722 -nguild_alde,62,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-12 722 -nguild_alde,70,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-13 722 -nguild_alde,74,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-14 722 -nguild_alde,62,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-15 722 -nguild_alde,66,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-16 722 -nguild_alde,70,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-17 722 -nguild_alde,74,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-18 722 -nguild_alde,203,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-19 722 -nguild_alde,210,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-20 722 +nguild_alde,30,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-7 GUILD_FLAG +nguild_alde,37,248,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-8 GUILD_FLAG +nguild_alde,37,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-9 GUILD_FLAG +nguild_alde,95,80,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-10 GUILD_FLAG +nguild_alde,95,59,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-11 GUILD_FLAG +nguild_alde,62,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-12 GUILD_FLAG +nguild_alde,70,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-13 GUILD_FLAG +nguild_alde,74,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-14 GUILD_FLAG +nguild_alde,62,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-15 GUILD_FLAG +nguild_alde,66,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-16 GUILD_FLAG +nguild_alde,70,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-17 GUILD_FLAG +nguild_alde,74,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-18 GUILD_FLAG +nguild_alde,203,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-19 GUILD_FLAG +nguild_alde,210,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-20 GUILD_FLAG @@ -100,7 +100,7 @@ nguild_alde,210,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-20 722 //============================================================================// // Castle 2 //============================================================================// -n_castle,110,109,3 script NGuild Geffen#g1-1 722,{ +n_castle,110,109,3 script NGuild Geffen#g1-1 GUILD_FLAG,{ callfunc "F_Flags","Geffen","nguild_gef",83,47,1,1; close; @@ -109,7 +109,7 @@ OnRecvCastleN02: end; } -nguild_gef,28,157,4 script NGuild Geffen#g1-6::NGuildGef 722,{ +nguild_gef,28,157,4 script NGuild Geffen#g1-6::NGuildGef GUILD_FLAG,{ callfunc "F_Flags","Geffen","nguild_gef",83,47,0,1; close; @@ -118,19 +118,19 @@ OnRecvCastleN02: end; } // In Castle ============================================= -nguild_gef,32,157,4 duplicate(NGuildGef) NGuild Geffen#g1-7 722 -nguild_gef,22,156,5 duplicate(NGuildGef) NGuild Geffen#g1-8 722 -nguild_gef,68,185,3 duplicate(NGuildGef) NGuild Geffen#g1-9 722 -nguild_gef,17,171,5 duplicate(NGuildGef) NGuild Geffen#g1-10 722 -nguild_gef,59,16,4 duplicate(NGuildGef) NGuild Geffen#g1-11 722 -nguild_gef,64,16,4 duplicate(NGuildGef) NGuild Geffen#g1-12 722 +nguild_gef,32,157,4 duplicate(NGuildGef) NGuild Geffen#g1-7 GUILD_FLAG +nguild_gef,22,156,5 duplicate(NGuildGef) NGuild Geffen#g1-8 GUILD_FLAG +nguild_gef,68,185,3 duplicate(NGuildGef) NGuild Geffen#g1-9 GUILD_FLAG +nguild_gef,17,171,5 duplicate(NGuildGef) NGuild Geffen#g1-10 GUILD_FLAG +nguild_gef,59,16,4 duplicate(NGuildGef) NGuild Geffen#g1-11 GUILD_FLAG +nguild_gef,64,16,4 duplicate(NGuildGef) NGuild Geffen#g1-12 GUILD_FLAG //============================================================================// // Castle 3 //============================================================================// -n_castle,94,109,5 script NGuild Payon#f1-1 722,{ +n_castle,94,109,5 script NGuild Payon#f1-1 GUILD_FLAG,{ callfunc "F_Flags","Payon","nguild_pay",87,29,1,1; close; @@ -139,7 +139,7 @@ OnRecvCastleN03: end; } -nguild_pay,238,67,4 script NGuild Payon#f1-6::NGuildPay 722,{ +nguild_pay,238,67,4 script NGuild Payon#f1-6::NGuildPay GUILD_FLAG,{ callfunc "F_Flags","Payon","nguild_pay",87,29,0,1; close; @@ -148,12 +148,12 @@ OnRecvCastleN03: end; } // In Castle =============================================== -nguild_pay,238,67,4 duplicate(NGuildPay) NGuild Payon#f1-6 722 -nguild_pay,233,67,4 duplicate(NGuildPay) NGuild Payon#f1-7 722 -nguild_pay,221,123,4 duplicate(NGuildPay) NGuild Payon#f1-8 722 -nguild_pay,221,116,4 duplicate(NGuildPay) NGuild Payon#f1-9 722 -nguild_pay,206,108,4 duplicate(NGuildPay) NGuild Payon#f1-10 722 -nguild_pay,212,108,4 duplicate(NGuildPay) NGuild Payon#f1-11 722 +nguild_pay,238,67,4 duplicate(NGuildPay) NGuild Payon#f1-6 GUILD_FLAG +nguild_pay,233,67,4 duplicate(NGuildPay) NGuild Payon#f1-7 GUILD_FLAG +nguild_pay,221,123,4 duplicate(NGuildPay) NGuild Payon#f1-8 GUILD_FLAG +nguild_pay,221,116,4 duplicate(NGuildPay) NGuild Payon#f1-9 GUILD_FLAG +nguild_pay,206,108,4 duplicate(NGuildPay) NGuild Payon#f1-10 GUILD_FLAG +nguild_pay,212,108,4 duplicate(NGuildPay) NGuild Payon#f1-11 GUILD_FLAG @@ -161,7 +161,7 @@ nguild_pay,212,108,4 duplicate(NGuildPay) NGuild Payon#f1-11 722 //=============================================================================// // Castle 4 //=============================================================================// -n_castle,94,96,7 script NGuild Prontera#p1-1 722,{ +n_castle,94,96,7 script NGuild Prontera#p1-1 GUILD_FLAG,{ callfunc "F_Flags","Prontera","nguild_prt",97,174,1,1; close; @@ -170,7 +170,7 @@ OnRecvCastleN04: end; } -nguild_prt,58,56,4 script NGuild Prontera#p1-7::NGuildPrt 722,{ +nguild_prt,58,56,4 script NGuild Prontera#p1-7::NGuildPrt GUILD_FLAG,{ callfunc "F_Flags","Prontera","nguild_prt",97,174,0,1; close; @@ -179,12 +179,12 @@ OnRecvCastleN04: end; } // In Castle ============================================= -nguild_prt,64,56,4 duplicate(NGuildPrt) NGuild Prontera#p1-8 722 -nguild_prt,76,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-9 722 -nguild_prt,84,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-10 722 -nguild_prt,94,39,4 duplicate(NGuildPrt) NGuild Prontera#p1-11 722 -nguild_prt,94,24,4 duplicate(NGuildPrt) NGuild Prontera#p1-12 722 -nguild_prt,73,14,4 duplicate(NGuildPrt) NGuild Prontera#p1-13 722 -nguild_prt,73,6,4 duplicate(NGuildPrt) NGuild Prontera#p1-14 722 -nguild_prt,55,46,4 duplicate(NGuildPrt) NGuild Prontera#p1-15 722 -nguild_prt,45,46,4 duplicate(NGuildPrt) NGuild Prontera#p1-16 722 +nguild_prt,64,56,4 duplicate(NGuildPrt) NGuild Prontera#p1-8 GUILD_FLAG +nguild_prt,76,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-9 GUILD_FLAG +nguild_prt,84,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-10 GUILD_FLAG +nguild_prt,94,39,4 duplicate(NGuildPrt) NGuild Prontera#p1-11 GUILD_FLAG +nguild_prt,94,24,4 duplicate(NGuildPrt) NGuild Prontera#p1-12 GUILD_FLAG +nguild_prt,73,14,4 duplicate(NGuildPrt) NGuild Prontera#p1-13 GUILD_FLAG +nguild_prt,73,6,4 duplicate(NGuildPrt) NGuild Prontera#p1-14 GUILD_FLAG +nguild_prt,55,46,4 duplicate(NGuildPrt) NGuild Prontera#p1-15 GUILD_FLAG +nguild_prt,45,46,4 duplicate(NGuildPrt) NGuild Prontera#p1-16 GUILD_FLAG diff --git a/npc/events/nguild/nguild_kafras.txt b/npc/events/nguild/nguild_kafras.txt index 11d748ab4..155c33792 100644 --- a/npc/events/nguild/nguild_kafras.txt +++ b/npc/events/nguild/nguild_kafras.txt @@ -32,7 +32,7 @@ L_StartG: } // Castle 1 =============================================== -nguild_alde,218,170,0 script Kafra Service#N01 117,{ +nguild_alde,218,170,0 script Kafra Service#N01 4_F_KAFRA1,{ callfunc "F_GKafra", "nguild_alde", "Prontera"; end; OnRecvCastleN01: @@ -41,8 +41,8 @@ OnRecvCastleN01: } // Castle 2 =============================================== -//nguild_gef,96,173,0 script Kafra Service#N02 117,{ -nguild_gef,35,37,0 script Kafra Service#N02 117,{ +//nguild_gef,96,173,0 script Kafra Service#N02 4_F_KAFRA1,{ +nguild_gef,35,37,0 script Kafra Service#N02 4_F_KAFRA1,{ callfunc "F_GKafra", "nguild_gef", "Prontera"; end; OnRecvCastleN02: @@ -51,7 +51,7 @@ OnRecvCastleN02: } // Castle 3 =============================================== -nguild_pay,128,58,3 script Kafra Service#N03 117,{ +nguild_pay,128,58,3 script Kafra Service#N03 4_F_KAFRA1,{ callfunc "F_GKafra", "nguild_pay", "Prontera"; end; OnRecvCastleN03: @@ -60,7 +60,7 @@ OnRecvCastleN03: } // Castle 4 =============================================== -nguild_prt,96,173,0 script Kafra Service#N04 117,{ +nguild_prt,96,173,0 script Kafra Service#N04 4_F_KAFRA1,{ callfunc "F_GKafra", "nguild_prt", "Prontera"; end; OnRecvCastleN04: diff --git a/npc/events/nguild/nguild_managers.txt b/npc/events/nguild/nguild_managers.txt index 0b35108f7..fd5fc6053 100644 --- a/npc/events/nguild/nguild_managers.txt +++ b/npc/events/nguild/nguild_managers.txt @@ -145,28 +145,28 @@ function script F_GldManager { } // Castle 1 ================================================================================== -nguild_alde,218,175,0 script Frolo 55,{ +nguild_alde,218,175,0 script Frolo 1_M_JOBTESTER,{ callfunc "F_GldManager","Frolo","nguild_alde",119,223,"N01"; close; } // Castle 2 ================================================================================== -nguild_gef,40,48,5 script Leiber 55,{ +nguild_gef,40,48,5 script Leiber 1_M_JOBTESTER,{ callfunc "F_GldManager","Leiber","nguild_gef",155,112,"N02"; close; } // Castle 3 ================================================================================== -nguild_pay,120,58,4 script Dundar 55,{ +nguild_pay,120,58,4 script Dundar 1_M_JOBTESTER,{ callfunc "F_GldManager","Dundar","nguild_pay",290,7,"N03"; close; } // Castle 4 ================================================================================== -nguild_prt,112,181,0 script Thefton 55,{ +nguild_prt,112,181,0 script Thefton 1_M_JOBTESTER,{ callfunc "F_GldManager","Thefton","nguild_prt",15,209,"N04"; close; } diff --git a/npc/events/nguild/nguild_treas.txt b/npc/events/nguild/nguild_treas.txt index 485a58e70..cc3d7db1e 100644 --- a/npc/events/nguild/nguild_treas.txt +++ b/npc/events/nguild/nguild_treas.txt @@ -62,7 +62,7 @@ function script F_GldTreasSw { close; } -//<=============================== Castle 1 =================================>\\ +//<===============================Castle 1 =================================>\\ // Treasure Spawn ----------------------- nguild_alde,1,1,1 script Treasure_N01 -1,{ @@ -83,12 +83,12 @@ OnDied: } // Treasure Room Switch -------------------- -nguild_alde,123,223,0 script Switch#TresN01 111,{ +nguild_alde,123,223,0 script Switch#TresN01 HIDDEN_NPC,{ callfunc "F_GldTreasSw", "nguild_alde",218,176; end; } -//<================================ Castle 2 ================================>\\ +//<================================Castle 2 ================================>\\ // Treasure Spawn ---------------------------- nguild_gef,1,1,1 script Treasure_N02 -1,{ @@ -109,12 +109,12 @@ OnDied: } // Room Switch --------------------------------------------------------- -nguild_gef,152,117,0 script Switch#TresN02 111,{ +nguild_gef,152,117,0 script Switch#TresN02 HIDDEN_NPC,{ callfunc "F_GldTreasSw","nguild_gef",40,49; end; } -//<================================ Castle 3 ================================>\\ +//<================================Castle 3 ================================>\\ // Treasure Spawn --------------------------- nguild_pay,1,1,0 script Treasure_N03 -1,{ @@ -134,12 +134,12 @@ OnDied: } // Treasure Room Switch --------------------------------------------------- -nguild_pay,295,8,0 script Switch#TresN03 111,{ +nguild_pay,295,8,0 script Switch#TresN03 HIDDEN_NPC,{ callfunc "F_GldTreasSw", "nguild_pay",120,59; end; } -//<================================ Castle 4 ================================>\\ +//<================================Castle 4 ================================>\\ // Treasure Spawn ------------------------------- nguild_prt,1,1,0 script Treasure_N04 -1,{ @@ -159,7 +159,7 @@ OnDied: } // Treasure Room Switch ---------------------------------------------------- -nguild_prt,15,209,0 script Switch#TresN04 111,{ +nguild_prt,15,209,0 script Switch#TresN04 HIDDEN_NPC,{ callfunc "F_GldTreasSw", "nguild_prt",109,179; end; } diff --git a/npc/events/nguild/nguild_warper.txt b/npc/events/nguild/nguild_warper.txt index ac54c0716..61541d096 100644 --- a/npc/events/nguild/nguild_warper.txt +++ b/npc/events/nguild/nguild_warper.txt @@ -26,7 +26,7 @@ //= TODO: The official entrance is in Izlude. //============================================================ -prontera,146,163,6 script Novice Castles 729,{ +prontera,146,163,6 script Novice Castles 4_F_NOVICE,{ mes "[Cita]"; if (!getcharid(2)) { mes "^FF0000You have to enter a guild to be able to hit Emperium!^000000"; @@ -80,7 +80,7 @@ prontera,146,163,6 script Novice Castles 729,{ close; } -n_castle,102,107,5 script Cita 729,{ +n_castle,102,107,5 script Cita 4_F_NOVICE,{ mes "[Cita]"; mes "Hello, "+ strcharinfo(0) +". Can I help you?"; next; diff --git a/npc/events/twintowers.txt b/npc/events/twintowers.txt index 1e0505ffd..7745adb9b 100644 --- a/npc/events/twintowers.txt +++ b/npc/events/twintowers.txt @@ -13,7 +13,7 @@ //= 1.6 Fixed wrong sprite id on main npc [ultramage] //============================================================ -prontera,146,92,4 script Twin Towers#tt1::Twin-Towers 812,{ +prontera,146,92,4 script Twin Towers#tt1::Twin-Towers TW_TOWER,{ mes "[Twin Towers]"; mes "How are you? We are the Twin Towers."; mes "It is such a pleasure to be able to meet you here."; @@ -84,10 +84,10 @@ prontera,146,92,4 script Twin Towers#tt1::Twin-Towers 812,{ close; } -morocc,160,97,4 duplicate(Twin-Towers) Twin Towers#tt2 812 -payon,176,226,4 duplicate(Twin-Towers) Twin Towers#tt3 812 -izlude,134,92,4 duplicate(Twin-Towers) Twin Towers#tt4 812 -alberta,25,238,4 duplicate(Twin-Towers) Twin Towers#tt5 812 -geffen,120,60,4 duplicate(Twin-Towers) Twin Towers#tt6 812 -aldebaran,143,116,4 duplicate(Twin-Towers) Twin Towers#tt7 812 -comodo,194,158,4 duplicate(Twin-Towers) Twin Towers#tt8 812 +morocc,160,97,4 duplicate(Twin-Towers) Twin Towers#tt2 TW_TOWER +payon,176,226,4 duplicate(Twin-Towers) Twin Towers#tt3 TW_TOWER +izlude,134,92,4 duplicate(Twin-Towers) Twin Towers#tt4 TW_TOWER +alberta,25,238,4 duplicate(Twin-Towers) Twin Towers#tt5 TW_TOWER +geffen,120,60,4 duplicate(Twin-Towers) Twin Towers#tt6 TW_TOWER +aldebaran,143,116,4 duplicate(Twin-Towers) Twin Towers#tt7 TW_TOWER +comodo,194,158,4 duplicate(Twin-Towers) Twin Towers#tt8 TW_TOWER diff --git a/npc/events/valentinesday.txt b/npc/events/valentinesday.txt index a08a1a701..e7f144102 100644 --- a/npc/events/valentinesday.txt +++ b/npc/events/valentinesday.txt @@ -15,7 +15,7 @@ // Stephen - Valentine Event Chocolate seller //============================================================ -alberta,26,243,4 script Stephen 58,{ +alberta,26,243,4 script Stephen 1_M_MERCHANT,{ mes "[Stephen]"; mes "Guess what I've got?"; mes "A tasty treat not easily found in Rune-Midgard...."; @@ -59,7 +59,7 @@ alberta,26,243,4 script Stephen 58,{ // Jainie -- Gives information about Valentine Event //============================================================ -alberta,29,243,4 script Jainie 53,{ +alberta,29,243,4 script Jainie 1_M_INNKEEPER,{ mes "[Jainie]"; mes "You know what? The chocolate that my boyfriend sells are from me!"; mes "I made them by myself."; @@ -83,7 +83,7 @@ alberta,29,243,4 script Jainie 53,{ // Carl Orleans -- Valentine Event Chocolate maker //============================================================ -prt_castle,54,34,4 script Carl Orleans 47,{ +prt_castle,54,34,4 script Carl Orleans 1_M_01,{ mes "[Carl Orleans]"; mes "Yes?"; next; @@ -126,4 +126,4 @@ prt_castle,54,34,4 script Carl Orleans 47,{ mes "[Carl Orleans]"; mes "Enjoy."; close; -} +}
\ No newline at end of file diff --git a/npc/events/valentinesday_2009.txt b/npc/events/valentinesday_2009.txt index dd09f4470..2e02c124c 100644 --- a/npc/events/valentinesday_2009.txt +++ b/npc/events/valentinesday_2009.txt @@ -23,7 +23,7 @@ // Marco Bassinio (Chocolate/Chocolate Box maker) //============================================================ -prontera,164,174,4 script Trader#Val09 58,{ +prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{ mes "[Marco Bassinio]"; mes "Hey, folks! Here's something you don't see everyday!"; mes "Something you can never find in Rune-Midgarts!"; @@ -82,7 +82,7 @@ prontera,164,174,4 script Trader#Val09 58,{ mes "Maybe you should borrow some zeny from a friend."; mes "Cuz, I'm not gonna be here everyday."; close; - }else{ + } else { mes "[Marco Bassinio]"; mes "Good for you!"; mes "It's also perfect as a gift!"; @@ -103,7 +103,7 @@ prontera,164,174,4 script Trader#Val09 58,{ 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(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 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.."; @@ -114,7 +114,7 @@ prontera,164,174,4 script Trader#Val09 58,{ 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(558) < 1) { mes "[Marco Bassinio]"; mes "Hey, look, adventurer!"; mes "I can't create something right away!"; @@ -160,7 +160,7 @@ prontera,164,174,4 script Trader#Val09 58,{ // Packs Trader (Sells Wrapping Paper, Lace, and Box) //============================================================ -prontera,147,171,5 script Packs Trader#Val09 58,{ +prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{ mes "[Packs Trader]"; mes "Hello."; mes "I am a Packs Trader, I sell paper boxes and supplies for packing presents."; @@ -202,7 +202,7 @@ prontera,147,171,5 script Packs Trader#Val09 58,{ mes "Please check your wallet."; next; break; - }else{ + } else { mes "[Packs Trader]"; mes "Here they are."; mes "Hope it makes your Valentine's Day more pleasing!"; @@ -243,7 +243,7 @@ prontera,147,171,5 script Packs Trader#Val09 58,{ mes "Please check your wallet."; next; break; - }else{ + } else { mes "[Packs Trader]"; mes "Here they are."; mes "Hope it makes your Valentine's Day more pleasing!"; @@ -284,7 +284,7 @@ prontera,147,171,5 script Packs Trader#Val09 58,{ mes "Please check your wallet."; next; break; - }else{ + } else { mes "[Packs Trader]"; mes "Here they are."; mes "Hope it makes your Valentine's Day more pleasing!"; @@ -304,7 +304,7 @@ prontera,147,171,5 script Packs Trader#Val09 58,{ // Event Ring Maker (Makes ring for players) //============================================================ -prontera,154,185,5 script Event Ring Maker#Val09 721,{ +prontera,154,185,5 script Event Ring Maker#Val09 4_F_KAFRA7,{ if (BaseLevel < 75) { mes "[Event Ring Maker]"; mes "Hello, I only make the Valentine rings to those experienced adventurer Level 75 or above."; @@ -363,7 +363,7 @@ prontera,154,185,5 script Event Ring Maker#Val09 721,{ mes "Just follow your heart!"; close; } - if(countitem(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 1 || Zeny < 1000) { + if (countitem(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 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."; @@ -380,7 +380,7 @@ prontera,154,185,5 script Event Ring Maker#Val09 721,{ set iROval09ring,1; if (Sex) { getnameditem 12742,strcharinfo(0); - }else{ + } else { getnameditem 12743,strcharinfo(0); } mes "[Event Ring Maker]"; @@ -398,7 +398,7 @@ prontera,154,185,5 script Event Ring Maker#Val09 721,{ // Valentine Vote Manager (Registers votes) //============================================================ -prontera,157,185,4 script Valentine Vote Manager#v 113,{ +prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{ mes "[Valentine Vote Manager]"; mes "Hello, I'm the Valentine's Vote Manager."; mes "I'm in charge of collecting rings for this event!"; @@ -464,7 +464,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 113,{ } next; break; - }else{ + } else { if (countitem(7946) > .@input) { mes "[Valentine Vote Manager]"; mes "Seems like the value you entered is too small."; @@ -519,7 +519,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 113,{ // Charles Orleans (Makes Home-Made Chocolates) //============================================================ -prt_castle,42,35,3 script Dessert Manager#Val09 47,{ +prt_castle,42,35,3 script Dessert Manager#Val09 1_M_01,{ if (Sex) { mes "[Charles Orleans]"; mes "Monsieur~! What brings you to my beautiful atelier?"; @@ -552,7 +552,7 @@ prt_castle,42,35,3 script Dessert Manager#Val09 47,{ mes "Please.. I feel like my soul is lost.."; close; } - if(countitem(558) < 3) { + if (countitem(558) < 3) { mes "[Charles Orleans]"; mes "Ahhh, Mademoiselle."; mes "I'm not an alchemist, or a magician."; @@ -590,7 +590,7 @@ prt_castle,42,35,3 script Dessert Manager#Val09 47,{ mes "Adios, Mademoiselle....."; mes "I'll be waiting for you."; close; - }else{ + } else { if (!checkweight(559,1)) { mes "[Charles Orleans]"; mes "You're carrying too many items."; diff --git a/npc/events/valentinesday_2012.txt b/npc/events/valentinesday_2012.txt index 6ae844305..cf1625891 100644 --- a/npc/events/valentinesday_2012.txt +++ b/npc/events/valentinesday_2012.txt @@ -12,7 +12,7 @@ //= 1.1 Standardized and fixed. [Euphy] //============================================================ -mosk_in,21,246,5 script Pinkamenia 71,{ +mosk_in,21,246,5 script Pinkamenia 1_F_LIBRARYGIRL,{ set .@n$,"^0000FF[Pinkamenia]^000000"; if (#V_QUE12==3) { set .@LFlowerID,7864; @@ -104,7 +104,7 @@ OnInit: end; } -mosk_in,21,244,3 script Baker Extraordinaire 410,{ +mosk_in,21,244,3 script Baker Extraordinaire 4_M_NOVELIST,{ set .@n$,"^0000FF[Baker Extraordinaire]^000000"; if(#V_QUE12==3) { mes .@n$; @@ -153,4 +153,4 @@ mosk_in,21,244,3 script Baker Extraordinaire 410,{ mes "Hello, "+strcharinfo(0)+"!"; close; } -} +}
\ No newline at end of file diff --git a/npc/events/whiteday.txt b/npc/events/whiteday.txt index d0acc8426..7e921ed97 100644 --- a/npc/events/whiteday.txt +++ b/npc/events/whiteday.txt @@ -11,7 +11,7 @@ //= Converted to rAthena format by Dr.Evil //============================================================ -alberta,188,64,4 script Sugar 91,{ +alberta,188,64,4 script Sugar 4_F_02,{ set @maplenum,0; set @mapleItemID,0; set @maplePrice,0; diff --git a/npc/events/xmas.txt b/npc/events/xmas.txt index 99b3fdec9..37b91e6e0 100644 --- a/npc/events/xmas.txt +++ b/npc/events/xmas.txt @@ -20,7 +20,7 @@ //= 1.4 Added a fix to make Lutie & Bard quests passable during this event [Lupus] //============================================================ -xmas_in,100,96,4 script Father Christmas::Santa2 718,{ +xmas_in,100,96,4 script Father Christmas::Santa2 4_M_SANTA,{ mes "[Santa Claus]"; if(xmas_npc==0) set xmas_npc, 1; // For Lutie & Bard quest if(#event_xmas > 0 && #event_xmas < 30 ) goto L_Start; |