diff options
Diffstat (limited to 'npc/re/quests')
-rw-r--r-- | npc/re/quests/cupet.txt | 4 | ||||
-rw-r--r-- | npc/re/quests/eden/eden_iro.txt | 2 | ||||
-rw-r--r-- | npc/re/quests/eden/eden_quests.txt | 2 | ||||
-rw-r--r-- | npc/re/quests/quests_dicastes.txt | 86 | ||||
-rw-r--r-- | npc/re/quests/quests_malaya.txt | 2 | ||||
-rw-r--r-- | npc/re/quests/quests_mora.txt | 2 |
6 files changed, 49 insertions, 49 deletions
diff --git a/npc/re/quests/cupet.txt b/npc/re/quests/cupet.txt index 182214064..829ec2dae 100644 --- a/npc/re/quests/cupet.txt +++ b/npc/re/quests/cupet.txt @@ -158,7 +158,7 @@ function script cute_pet_manager { next; // Create Menu System - for (set .@a, 0; .@a < getarraysize(getarg(0)); set .@a, .@a + 1) { + for (set .@a, 0; .@a < getarraysize(getarg(0)); set .@a, .@a + 1) { set .@menu$, .@menu$ + (.@menu$ == "" ? "" : ":") + getitemname(getelementofarray(getarg(0), .@a)); } @@ -193,7 +193,7 @@ function script cute_pet_manager { mes "Do you want to exchange with me?"; next; - if (select("Exchange:Don't Exchange") == 2) { + if (select("Exchange:Don't Exchange") == 2) { mes "[Cute Pet Manager]"; mes "You don't? You will come back again."; close; diff --git a/npc/re/quests/eden/eden_iro.txt b/npc/re/quests/eden/eden_iro.txt index f7481d04d..78107cc46 100644 --- a/npc/re/quests/eden/eden_iro.txt +++ b/npc/re/quests/eden/eden_iro.txt @@ -340,7 +340,7 @@ moc_para01,50,39,4 script Eve Natalia 4_F_SITDOWN,{ moc_para01,48,184,2 script Gum & Manual Exchanger 2_DROP_MACHINE,{ if (Weight < MaxWeight / 2) { mes "You're carrying too many items right now."; - close; + close; } mes "[Trader Machine]"; mes "Insert Bubble Gums and/or Battle Manuals to trade for higher efficiency Gums and Manuals."; diff --git a/npc/re/quests/eden/eden_quests.txt b/npc/re/quests/eden/eden_quests.txt index cebd70b87..f1b54a9e7 100644 --- a/npc/re/quests/eden/eden_quests.txt +++ b/npc/re/quests/eden/eden_quests.txt @@ -4562,7 +4562,7 @@ moc_para01,111,83,3 script Toren 2_M_OLDBLSMITH,{ if (para_suv02 == 14) { setarray .@check[0],18514,2571,2473,15031; setarray .@item$[0],"Hat","Mantle","Boots","Uniform"; - for(set .@i,0; .@i<4; set .@i,.@i+1) + for(set .@i,0; .@i<4; set .@i,.@i+1) if (countitem(.@check[.@i]) < 1) { mes "[Toren]"; mes "Where is the Paradise "+.@item$[.@i]+" I gave you?"; diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt index 9478ba1c9..d17b63267 100644 --- a/npc/re/quests/quests_dicastes.txt +++ b/npc/re/quests/quests_dicastes.txt @@ -52,13 +52,13 @@ manuk,321,182,5 script Entrance Manager#ep133 4_MAN_GALTUN,{ if(select("Yes.:No.") == 2) { mes "[Entrance Manager]"; mes "Then use the tunnel next time."; - close; + close; } mes "[Entrance Manager]"; mes "Be careful."; close2; - warp "dic_dun01",33,212; - end; + warp "dic_dun01",33,212; + end; } mes "[Entrance Manager]"; mes "Sorry."; @@ -124,12 +124,12 @@ dic_dun01,266,113,5 script Curious Sapha#ep13_3_ 4_MAN_BENKUNI,{ if (.@deal == 0) { mes "[Curious Sapha]"; mes "You changed your mind?"; - close; + close; } if (Zeny < .@deal) { mes "[Curious Sapha]"; mes "You don't have enough money."; - close; + close; } mes "[Curious Sapha]"; mes "Will you buy "+.@input+"?"; @@ -354,7 +354,7 @@ OnEnable: mes "¡ð¡ú¢± ¡ô ¡ò¡õ¡ú ¡õ..!"; next; mes "- Cannot communicate with him. -"; - close; + close; } if (ep13_3_invite < 4) { mes "[Capital City Guard]"; @@ -426,11 +426,11 @@ dic_in01,254,119,0 script Item Storage#01 CLEAR_NPC,{ if(select("Use safe:No way.")==2) { mes "["+strcharinfo(0)+"]"; mes "I will use it later."; - close; + close; } if (Zeny < 500) { mes "Not enough Zeny."; - close; + close; } Zeny -= 500; close2; @@ -456,17 +456,17 @@ sec_in02,10,42,1 script 13.3 Related Reset 4_MAN_BENKUNI,{ function script que_dic { if (!getarg(0)) { if (checkquest(getarg(1),HUNTING) != 2) return; - mes getarg(3); + mes getarg(3); } else if (getarg(0) == 1) { if (checkquest(getarg(1)) == -1) return; if (countitem(getarg(3)) < getarg(4)) { mes "It looks like you are short on the amount."; - close; + close; } - mes getarg(5); + mes getarg(5); mes getarg(6,""); - delitem getarg(3), getarg(4); + delitem getarg(3), getarg(4); } else if (getarg(0) == 2) { for(set .@i,1; .@i<getargcount(); set .@i,.@i+1) { @@ -1044,7 +1044,7 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{ } else if (.@doc > 60 && .@doc <= 70) { mes "You suddenly feel nauseated. You feel like this won't go away any time soon. Finding the documents will have to wait."; setquest 12165; - close; + close; } else if (.@doc == 1) eldicastes_dp(12209,"Horn","Hard wedge-like horn from some insects. Doesn't have much practical use.",""); else if (.@doc == 2) eldicastes_dp(12195,"Horrendous Mouth","Tooth from a dead body.","Important material for research on time of death and health conditions. Useful in discovering human ecology."); @@ -1109,7 +1109,7 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{ mes "You've found a document about ^990099"+getarg(1)+"^000000. Check for details in the ^800080Quest Window^000000."; specialeffect2 EF_STEAL; setquest getarg(0); - close; + close; } } dic_in01,31,192,0 duplicate(Document Package#main) Document Package#0001 CLEAR_NPC @@ -1806,7 +1806,7 @@ OnTouch: mes "Just a moment."; } close2; - warp "dic_in01",155,188; + warp "dic_in01",155,188; } end; } @@ -3693,7 +3693,7 @@ dic_in01,245,119,4 script Shay#ep133_13 4_M_ACROSS,{ mes "What will it be?"; mes "I have Tropical Sograt and Vermilion on the Beach flown in from Morroc."; mes "A bit on the expensive side though."; - next; + next; if (select("Tropical Sorgrat - 2000z:Vermilion on the Beach - 2000z:Anything else?") == 3) { mes "[Shay]"; mes "Here.. "; @@ -3839,7 +3839,7 @@ dic_in01,245,119,4 script Shay#ep133_13 4_M_ACROSS,{ mes "What is it now?"; mes "Any luck?"; next; - setarray .@ward$, + setarray .@ward$, "7188","The Knits at the square are interested in Ahat.", "7189","I heard from Pioms that most of the Saphas are interested in the minister.", "7190","Galtens are interested in the Cat Merchant for their cat ears."; @@ -4841,7 +4841,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{ set ep13_3_secret, 11; getitem .@item[.@type], 1; erasequest 7193; - setquest 7194; + setquest 7194; donpcevent strnpcinfo(0)+"::OnDisable"; next; mes "[" + strcharinfo(0) + "]"; @@ -4902,7 +4902,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{ } if (.@npc$[.@type] == "Rock Pile") mes "You collect another stone fragment that emits a strange magical force."; else if (.@npc$[.@type] == "Dirt Pile") mes "You collect another clotted bloodstain from a dirt pile."; - else if (.@npc$[.@type] == "Split Earth") mes "You collect another piece of skin frozen in the frost in the crack of the split earth."; + else if (.@npc$[.@type] == "Split Earth") mes "You collect another piece of skin frozen in the frost in the crack of the split earth."; getitem .@item[.@type], 1; donpcevent strnpcinfo(0)+"::OnDisable"; close; @@ -4979,7 +4979,7 @@ dic_fild02,207,94,0 duplicate(ep133_crack#main) Dirt Pile#ep133_ef6 CLEAR_NPC dic_fild02,230,71,0 duplicate(ep133_crack#main) Dirt Pile#ep133_ef7 CLEAR_NPC dic_fild02,188,50,0 duplicate(ep133_crack#main) Dirt Pile#ep133_ef8 CLEAR_NPC dic_fild02,248,36,0 duplicate(ep133_crack#main) Dirt Pile#ep133_ef9 CLEAR_NPC -dic_fild02,206,115,0 duplicate(ep133_crack#main) Dirt Pile#ep133_ef10 CLEAR_NPC +dic_fild02,206,115,0 duplicate(ep133_crack#main) Dirt Pile#ep133_ef10 CLEAR_NPC dic_fild02,194,86,0 duplicate(ep133_crack#main) Split Earth#ep133_ef1 CLEAR_NPC dic_fild02,240,51,0 duplicate(ep133_crack#main) Split Earth#ep133_ef2 CLEAR_NPC dic_fild02,176,65,0 duplicate(ep133_crack#main) Split Earth#ep133_ef3 CLEAR_NPC @@ -5039,7 +5039,7 @@ dicastes01,117,262,0 script Frede#13_3 4_MAN_PIOM5,2,2,{ close; } mes "[Frede]"; - mes "¢£¡ô¡ñ ¡û"; + mes "¢£¡ô¡ñ ¡û"; mes "¡ú¡ö¡ø ¢£ ¡ô"; close; OnTouch: @@ -6087,7 +6087,7 @@ dic_in01,349,129,5 script Bouy#13_3 4_MAN_BENKUNI,{ close; } mes "[Bouy]"; - mes "¡ø¡ö¡þ ¡ù ¡ú¡ð¡ï ¡ø"; + mes "¡ø¡ö¡þ ¡ù ¡ú¡ð¡ï ¡ø"; mes "¡ï¡ú¡ö ¡ù"; mes "¡õ¡ï¡õ ¡ò"; close; @@ -6101,7 +6101,7 @@ dic_in01,349,129,5 script Bouy#13_3 4_MAN_BENKUNI,{ mes "[Maha]"; mes "But I do think the Sapha race is overly kind, almost unnaturally."; mes "Guess it'll be fine."; - close; + close; } mes "[Ben]"; mes "There is nothing strange!"; @@ -6109,7 +6109,7 @@ dic_in01,349,129,5 script Bouy#13_3 4_MAN_BENKUNI,{ next; mes "[Ben]"; mes "I can also visit the Sapha if I work well here, can't I?"; - close; + close; } mes "[Ben]"; mes "Hmm. Hey, Maha,"; @@ -6398,7 +6398,7 @@ function script eldicastes_c { mes "[Vyhannus]"; mes "Amazing."; mes "Like with Hound, that ring you humans made..."; - mes "is like a ring of wisdom."; + mes "is like a ring of wisdom."; } else { mes "[Hound]"; @@ -6413,7 +6413,7 @@ function script eldicastes_c { } mes "[Vyhannus]"; mes "Shall we skip to the point?"; - mes "The reason why I am here..."; + mes "The reason why I am here..."; next; mes "[Someone's voice]"; mes "Excuse me, hold on a second."; @@ -6512,7 +6512,7 @@ mid_campin,168,128,3 script Sapha from Manuk 4_MAN_JERUTOO,{ mes "You just stand there without"; mes "knowing what he says, so the"; mes "expedition guard next to you starts to talk. -"; - next; + next; callfunc "eldicastes_c",3; } else if (ep13_3_invite == 2) { @@ -6522,7 +6522,7 @@ mid_campin,168,128,3 script Sapha from Manuk 4_MAN_JERUTOO,{ mes "He's name is Galten. He is so quick, you won't notice the weight of his armor."; next; callfunc "eldicastes_c",1; - } + } else if (ep13_3_invite == 3) { callfunc "eldicastes_c",2; } @@ -6533,7 +6533,7 @@ mid_campin,168,128,3 script Sapha from Manuk 4_MAN_JERUTOO,{ mes "The tunnel might be a little scary."; mes "But I'm sure you will reach the end of it since you are strong."; close; - } + } else if (ep13_3_invite == 5) { mes "[Vyhannus]"; mes "Oh, the tunnel?"; @@ -6546,8 +6546,8 @@ mid_campin,168,128,3 script Sapha from Manuk 4_MAN_JERUTOO,{ next; mes "[Vyhannus]"; mes "That is it."; - close; - } + close; + } else if (ep13_3_invite == 6) { mes "[Vyhannus]"; mes "You received the Light of El Dicastes."; @@ -6613,10 +6613,10 @@ mid_campin,168,125,3 script Hound#ep133_is06 4_M_MOCASS1,{ } else if (ep13_3_invite == 2) { callfunc "eldicastes_c",1; - } + } else if (ep13_3_invite == 3) { callfunc "eldicastes_c",2; - } + } else if (ep13_3_invite == 4) { mes "[Hound]"; mes "First thing you need to do when you reach Manuk is to meet General Guard Avalanche."; @@ -6629,7 +6629,7 @@ mid_campin,168,125,3 script Hound#ep133_is06 4_M_MOCASS1,{ mes "[Hound]"; mes "And don't forget what the captain said."; mes "Inspector Doha is in the next room."; - close; + close; } else if (ep13_3_invite > 4) { mes "[Hound]"; @@ -6660,7 +6660,7 @@ mid_campin,165,127,5 script Hibba Agip#ep133_is07 4_M_REDSWORD,{ close2; OnInit: disablenpc strnpcinfo(0); - end; + end; } man_in01,315,52,3 script Guard Captain Avalanche 4_MAN_GALTUN,{ @@ -6669,7 +6669,7 @@ man_in01,315,52,3 script Guard Captain Avalanche 4_MAN_GALTUN,{ mes "¢¤¡ð¡ú? ¢£ ¡ù¡ð..."; mes "¡ï¡ò¡Ð ¢¤ ?"; mes "¡ñ¡ï..?"; - close; + close; } if (ep13_3_invite == 4) { mes "[Avalanche]"; @@ -7155,12 +7155,12 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes .@n$; mes "When you are ready,"; mes "Please come back again"; - close; + close; } if (countitem(.@Items_) < 1) { mes .@n$; mes "Then, take the equipment off first."; - close; + close; } specialeffect2 EF_OVERTHRUST; mes .@n$; @@ -7175,7 +7175,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes .@n$; mes "But..."; mes "you don't seem to be wearing or even carrying equipment to upgrade on you."; - close; + close; } } if (getd("ep13_3_"+.@v$) == 0) { @@ -7201,7 +7201,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes .@n$; mes "Second upgrade step requires ^9900992 Exploit Certifications of Sapha^000000. Do you want to proceed?"; set .@req, 2; - } + } else if (getd("ep13_3_"+.@v$) < 69) { mes .@n$; mes "I'm preparing for the"; @@ -7263,7 +7263,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes .@n$; mes "When you are ready,"; mes "Please come back again."; - close; + close; } if (countitem(6304) < .@req) { mes .@n$; @@ -7334,7 +7334,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ set .@cri[5], 4764; set .@cri[7], 4765; set .@atk[2], 4766; set .@atk[3], 4767; set .@dex[1], 4720; set .@dex[2], 4721; set .@dex[3], 4722; - set .@int[1], 4710; set .@int[2], 4711; set .@int[3], 4712; + set .@int[1], 4710; set .@int[2], 4711; set .@int[3], 4712; set .@agi[1], 4730; set .@agi[2], 4731; set .@agi[3], 4732; // Enchant attribute is determined by the digit position of variable value (ep13_3_<type>). @@ -7380,7 +7380,7 @@ dic_fild01,228,159,4 script Jahbong#pa0829 4_M_MERCAT2,{ next; mes "[Jahbong]"; mes "Come back to me once you have one. I'll give you something good in exchange."; - close; + close; } set .@cattalkj,rand(1,9); if (.@cattalkj == 1) mes "Don't touch my back! I might bite you unconsciously."; diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt index 150928d49..0c9eb2a82 100644 --- a/npc/re/quests/quests_malaya.txt +++ b/npc/re/quests/quests_malaya.txt @@ -3820,7 +3820,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 4_M_MALAYA,{ delitem 6499,20; //Ancient_Grudge delequip .@part; - getitem .@newItem, 1; + getitem .@newItem, 1; mes "[Bayani]"; mes "Ha ha. Perfect."; diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt index 1c1e64046..a8697058a 100644 --- a/npc/re/quests/quests_mora.txt +++ b/npc/re/quests/quests_mora.txt @@ -4184,7 +4184,7 @@ OnTimer20000: OnTimer30000: OnTimer40000: OnTimer50000: - if (rand(2)) + if (rand(2)) donpcevent strnpcinfo(0)+"::OnEnable"; end; OnTimer60000: |