From fcfe8a19a4db505b277d1946761d2c1285413aee Mon Sep 17 00:00:00 2001 From: Dastgir Date: Sat, 16 Jan 2016 20:43:11 +0530 Subject: Script Standardization: changed select format in instances folder --- npc/instances/EndlessTower.txt | 20 ++++++++++---------- npc/instances/NydhoggsNest.txt | 40 ++++++++++++++++++++-------------------- npc/instances/OrcsMemory.txt | 10 +++++----- npc/instances/SealedShrine.txt | 22 +++++++++++----------- 4 files changed, 46 insertions(+), 46 deletions(-) (limited to 'npc/instances') diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt index b1126c0bc..3082cfdce 100644 --- a/npc/instances/EndlessTower.txt +++ b/npc/instances/EndlessTower.txt @@ -125,7 +125,7 @@ alberta,214,77,6 script Captain Janssen 4_M_SEAMAN,{ mes "[Captain Janssen]"; mes "Shall we leave now?"; next; - switch(select("Yes, let's go!:No, I'm not quite ready...")) { + switch(select("Yes, let's go!", "No, I'm not quite ready...")) { case 1: mes "[Captain Janssen]"; mes "Then pull up the anchor, first mate!"; @@ -142,7 +142,7 @@ alberta,214,77,6 script Captain Janssen 4_M_SEAMAN,{ mes "[Captain Janssen]"; mes "Well, to travel the ocean again, we need to restock on goods. If you give me 10,000 Zeny, I'll take care of the rest."; next; - switch(select("I'll come back later.:Let's go, now!")) { + switch(select("I'll come back later.", "Let's go, now!")) { case 1: mes "["+.@name$+"]"; mes "I'm sorry, but I don't have that much money. I'll come back when I save enough."; @@ -175,7 +175,7 @@ alberta,214,77,6 script Captain Janssen 4_M_SEAMAN,{ mes "[Captain Janssen]"; mes "Can you donate ^0000ff10,000 Zeny^000000 to me? It's for a cause that's important to me..."; next; - switch(select("No!:Sure thing.")) { + switch(select("No!", "Sure thing.")) { case 1: mes "["+.@name$+"]"; mes "I'm sorry, but you've got the wrong person to ask that."; @@ -224,7 +224,7 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{ if (getcharid(0) == getpartyleader(.@party_id,2)) { mes "Confirmed the party has been made. Would you like to reserve entrance to the Endless Tower?"; next; - switch(select("Generate dungeon "+.@md_name$+":Enter the dungeon:Return to Alberta:Cancel")) { + switch(select("Generate dungeon "+.@md_name$, "Enter the dungeon", "Return to Alberta", "Cancel")) { case 1: .@instance = instance_create(.@md_name$,.@party_id); if (.@instance < 0) { @@ -256,7 +256,7 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{ close; } } - switch(select("Enter the "+.@md_name$+":Return to Alberta:Cancel")) { + switch(select("Enter the "+.@md_name$, "Return to Alberta", "Cancel")) { case 1: callsub L_Enter,1,1,.@md_name$,.@p_name$; case 2: @@ -286,7 +286,7 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{ } else if (.@etower_timer == 1) { mes "If you have the dungeon generated already, you can enter it. "; next; - switch(select("Enter the "+.@md_name$+":Return to Alberta:Cancel")) { + switch(select("Enter the "+.@md_name$, "Return to Alberta", "Cancel")) { case 1: callsub L_Enter,0,0,.@md_name$,.@p_name$; case 2: @@ -341,7 +341,7 @@ e_tower,1,1,2 script #102Administrator Mode CLEAR_NPC,{ .@i = callfunc("F_GM_NPC","dmc2008",1); next; if (.@i == 1) { - switch(select("Generate Purification Stone:Remove Purification Stone:Cancel")) { + switch(select("Generate Purification Stone", "Remove Purification Stone", "Cancel")) { case 1: mes "Create the Purification Stone that stays for 30 minutes."; donpcevent "Purification Stone#et1::OnEnable"; @@ -1201,7 +1201,7 @@ function script F_Tower_Warp { setarray .@level$[1],"26th","51st","76th"; setarray .@map$[1],"2@tower","3@tower","4@tower"; - .@i = select("26th Level:51st Level:76th Level"); + .@i = select("26th Level", "51st Level", "76th Level"); if (countitem(Dark_Ashes) < .@i) { mes "-Warning-"; @@ -2141,12 +2141,12 @@ OnMyMobDead: mes "[Lost Souls]"; mes "They may appear to be one-handed swords, but I can put them together to make a two-handed one if you want. That's the only way I can repay you for freeing me."; next; - switch(select("Make a Two-Handed Sword.:No, thanks.")) { + switch(select("Make a Two-Handed Sword.", "No, thanks.")) { case 1: mes "[Lost Souls]"; mes "If it is already upgraded or has a card inside, those effects will be disappear. Is this ok with you?"; next; - switch(select("It's fine with me. Please make one.:No way!")) { + switch(select("It's fine with me. Please make one.", "No way!")) { case 1: mes "[Lost Souls]"; mes "Good, then I'll combine these to create a two-handed sword."; diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt index 87f9c7bf0..c702d31d7 100644 --- a/npc/instances/NydhoggsNest.txt +++ b/npc/instances/NydhoggsNest.txt @@ -42,7 +42,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{ next; mes "Near the bottom of the gate, Laphine tribeswomen have been turned to stone and now look like they are part of the great door."; next; - switch(select("Move closer to look more carefully.:Step back.")) { + switch(select("Move closer to look more carefully.", "Step back.")) { case 1: specialeffect2 EF_HOLYHIT; pushpc 3,3; @@ -84,7 +84,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{ mes "[??????]"; mes "Wingless one... Our promised words..."; next; - switch(select("'Guardian's spell'!:Take a step back.")) { + switch(select("'Guardian's spell'!", "Take a step back.")) { case 1: mes "[??????]"; mes "Promised words... Guardian's spell... proof of their existence."; @@ -128,7 +128,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{ mes "[Yggdrasil Gatekeeper]"; mes "The loyal servants of the Guardian... what can I do for you?"; next; - switch(select("Please allow me to enter.:I want to go in.:I want to leave.")) { + switch(select("Please allow me to enter.", "I want to go in.", "I want to leave.")) { case 1: .@instance = instance_create(.@md_name$, .@party_id); if (.@instance < 0) { @@ -161,7 +161,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{ mes "[Yggdrasil Gatekeeper]"; mes "If you have the dungeon generated already, you can enter it."; next; - if(select("I want to go in.:I want to leave.") == 2) + if(select("I want to go in.", "I want to leave.") == 2) close; goto L_Enter; } else { @@ -177,7 +177,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{ mes "[Yggdrasil Gatekeeper]"; mes "If you have the dungeon generated already, you can enter it."; next; - if(select("I want to go in.:I want to leave.") == 2) + if(select("I want to go in.", "I want to leave.") == 2) close; goto L_Enter; } else if (.@ins_nyd_check == 2) { @@ -204,7 +204,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{ next; mes "Near the bottom of the gate, Laphine tribeswomen have been turned to stone and now look like they are part of the great door."; next; - switch(select("Move closer to look more carefully.:Step back.")) { + switch(select("Move closer to look more carefully.", "Step back.")) { case 1: specialeffect2 EF_HOLYHIT; pushpc 3,3; @@ -307,7 +307,7 @@ mid_camp,271,299,3 script Historian Magnifier#edq 4_M_SAGE_C,3,3,{ mes "[Historian Magnifier]"; mes "So, did you read the whole story that I have prepared?"; next; - switch(select("Not yet.:I read all the stories.")) { + switch(select("Not yet.", "I read all the stories.")) { case 1: mes "[Historian Magnifier]"; mes "Sheesh~ I prepared these stories for you carefully, but you didn't bother to check anything out did you?"; @@ -440,7 +440,7 @@ prt_in,171,94,3 script Assistant Naomi#edq 4_F_HUWOMAN,3,3,{ mes "[Assistant Naomi]"; mes "Don't you see I am too busy? Don't hesitate. Just do it."; next; - switch(select("Look busy, and take a step back.:Help her just this once.")) { + switch(select("Look busy, and take a step back.", "Help her just this once.")) { case 1: mes "[Assistant Naomi]"; mes "Gosh! Where is-? Where did-? Ugh! It's so difficult!"; @@ -540,7 +540,7 @@ prt_in,171,94,3 script Assistant Naomi#edq 4_F_HUWOMAN,3,3,{ } else if (ins_nyd == 4) { mes "Browse around, to take a look at the books."; next; - switch(select("Discovery of Heterogeneity:Report of Indigenous Tribes")) { + switch(select("Discovery of Heterogeneity", "Report of Indigenous Tribes")) { case 1: mes "Satan Morocc has known that he didn't resurrect normally or by himself."; next; @@ -617,7 +617,7 @@ splendide,198,178,3 script Grumbling Soldier#edq 4_M_FAIRYSOLDIER,3,3,{ mes "Nowadays, the world has turned unstable. I can't even fly comfortably anymore."; next; if (ins_nyd == 5) { - switch(select("What's with the cave up north?:Who are the Sapha tribesmen?:Hmm. We can talk later.")) { + switch(select("What's with the cave up north?", "Who are the Sapha tribesmen?", "Hmm. We can talk later.")) { case 1: mes "[Grumbling Soldier]"; mes "What? If you wander around there... you might return with injuries."; @@ -677,7 +677,7 @@ splendide,240,164,3 script Sighing Soldier#edq 4_M_FAIRYSOLDIER2,3,3,{ mes "When will we be finished with this combat with the Sapha? Ugghhhh..."; next; if (ins_nyd == 5) { - switch(select("What's with the cave up north?:Who are the Sapha tribesmen?:Hmm. We can talk later.")) { + switch(select("What's with the cave up north?", "Who are the Sapha tribesmen?", "Hmm. We can talk later.")) { case 1: mes "[Sighing Soldier]"; mes "Well... I'm not sure, but we have avoided going to that area."; @@ -749,7 +749,7 @@ spl_in01,109,60,3 script Commander Lebiordirr#edq 4_F_FAIRY,3,3,{ mes "[Commander Lebiordirr]"; mes "Unless you have any messages for me...? Your face says you do..."; next; - if(select("No. Nothing. We can talk later.:I intend to stay. For good reasons.")==1) close; + if(select("No. Nothing. We can talk later.", "I intend to stay. For good reasons.")==1) close; mes "[Splendide Guard]"; mes "Sir, I can drag this pest out right now."; next; @@ -1122,7 +1122,7 @@ man_in01,311,57,3 script Neat Etorr#edq 4_MAN_NITT,3,3,{ mes "[Neat Etorr]"; mes "I hope that your people will becareful of your actions on this land, and terminate any unnecessary interventions."; next; - if(select("Leave quietly.:Don't know what he's talking about, and ask for details.")==1) close; + if(select("Leave quietly.", "Don't know what he's talking about, and ask for details.")==1) close; mes "[Manuk Field Elite Soldier]"; mes "Are we really just letting these people go after they have stirred up problems on our land?"; next; @@ -1334,7 +1334,7 @@ man_in01,291,62,3 script Laphine Prisoner#edq 4_F_FAIRYKID2,3,3,{ mes "[Laphine Prisoner]"; mes "Please, talk to my people in Splendide. They will come to help me."; next; - switch(select("What happened to you?:What's in the cave to the north?:Tell me about your tribe.:I will leave you alone.")) { + switch(select("What happened to you?", "What's in the cave to the north?", "Tell me about your tribe.", "I will leave you alone.")) { case 1: mes "[Laphine Prisoner]"; mes "During out last battle with the Sapha tribe... they caught me and took me prisoner."; @@ -1538,7 +1538,7 @@ OnTouch_: mes "It's all over... servants of the Guardian... Hurry up and leave this place."; next; while(1) { - switch(select("Who are you?:What do you mean?")) { + switch(select("Who are you?", "What do you mean?")) { case 1: mes "[World Tree World Tree Yggdrasil]"; mes "I... I am the World Tree Yggdrasil, servant of the Guardian of Nidhoggur, as well as the High Priest leading the Laphine Tribe."; @@ -1602,7 +1602,7 @@ OnTouch_: mes "[World Tree Yggdrasil]"; mes "Are you willing to accept this mission? Even if it means to pay with your life?"; next; - if(select("Leave it to us.:We can't do it.") == 2) + if(select("Leave it to us.", "We can't do it.") == 2) close; mes "[World Tree Yggdrasil]"; mes "I thank you deeply for your decision. I will use what is left of my powers to open up the path towards the Guardian's Nest."; @@ -1987,7 +1987,7 @@ OnTimer180000: mes "[World Tree Yggdrasil]"; mes "Now... Allow me to escort you out of the cursed nest."; next; - switch(select("Please let me out.:I want to look around for a while.")) { + switch(select("Please let me out.", "I want to look around for a while.")) { case 1: 'ins_nyd2 = 0; ins_nyd = 203; @@ -2203,7 +2203,7 @@ sec_in02,36,167,3 script Nidhoggur Manager 4_M_FAIRYSOLDIER,1,1,{ } mes "What do you need to do?"; next; - switch(select("Reset variables to allow entrance to Nidhoggur:change variable 'ins_nyd':Remove 3 day timer 3135:Confirm variable number")) { + switch(select("Reset variables to allow entrance to Nidhoggur", "change variable 'ins_nyd'", "Remove 3 day timer 3135", "Confirm variable number")) { case 1: ins_nyd = 200; ins_nyd2 = 0; @@ -2214,7 +2214,7 @@ sec_in02,36,167,3 script Nidhoggur Manager 4_M_FAIRYSOLDIER,1,1,{ case 2: mes "Which variable do you want to change?"; next; - switch(select("ins_nyd:ins_nyd2")) { + switch(select("ins_nyd", "ins_nyd2")) { case 1: .@var$ = "ins_nyd"; break; case 2: .@var$ = "ins_nyd2"; break; } @@ -2246,7 +2246,7 @@ nyd_dun02,7,7,2 script Purification Admin#nyd2 CLEAR_NPC,2,0,{ mes "Enter the password exactly."; close; } - switch(select("Generate Purification Stone:Remove Purification Stone:Turn Entrance NPC OFF:Turn Entrance NPC On:Cancel")) { + switch(select("Generate Purification Stone", "Remove Purification Stone", "Turn Entrance NPC OFF", "Turn Entrance NPC On", "Cancel")) { case 1: mes "Purification stone has been created and will stay on for 30 minutes."; donpcevent "Purification Stone#nyd2::OnEnable"; diff --git a/npc/instances/OrcsMemory.txt b/npc/instances/OrcsMemory.txt index cbf7d1a56..e65c18efe 100644 --- a/npc/instances/OrcsMemory.txt +++ b/npc/instances/OrcsMemory.txt @@ -58,14 +58,14 @@ gef_fild10,242,202,0 script Dimensional Gorge Piece 2_MONEMUS,{ if (.@orctime == 1) { mes "You can enter the Dungeon if it has been generated."; next; - if(select("Enter the Dungeon "+.@md_name$+":Cancel") == 2) + if(select("Enter the Dungeon "+.@md_name$, "Cancel") == 2) close; // Fall through to access the dungeon } else { // !.@orctime if (getcharid(0) == getpartyleader(.@party_id,2)) { mes "Party status confirmed. Would you like to book entrance to the "+.@md_name$+"?"; next; - switch(select("Reserve the "+.@md_name$+":Enter the Dungeon:Cancel")) { + switch(select("Reserve the "+.@md_name$, "Enter the Dungeon", "Cancel")) { case 1: .@instance = instance_create(.@md_name$,.@party_id); if (.@instance < 0) { @@ -92,7 +92,7 @@ gef_fild10,242,202,0 script Dimensional Gorge Piece 2_MONEMUS,{ case 3: close; } - } else if (select(.@md_name$ + " Enter the Memorial Dungeon:Cancel") == 2) + } else if (select(.@md_name$ + " Enter the Memorial Dungeon", "Cancel") == 2) end; // Else access the dungeon } @@ -124,7 +124,7 @@ gef_fild10,238,202,6 script Mad Scientist#orc 4_LGTSCIENCE,{ mes "Haha, no Orcs are coming near me!"; mes "The power of the Dimensional Gorge is undefeatable!!"; next; - switch(select("Orcs don't attack you?:You wish!")) { + switch(select("Orcs don't attack you?", "You wish!")) { case 1: mes "[Mad Scientist]"; mes "Yeah, yeah.. I know it's hard to belive. I don't blame ya."; @@ -152,7 +152,7 @@ gef_fild10,238,202,6 script Mad Scientist#orc 4_LGTSCIENCE,{ mes "[Mad Scientist]"; mes "Chances are they'll just give you lots of instructions once they see you, so just wing it! They're always saying the same thing, to the point where I memorized them!"; next; - switch(select("Alright... What do I do?:Umm, maybe not.")) { + switch(select("Alright... What do I do?", "Umm, maybe not.")) { case 1: mes "[Mad Scientist]"; mes "Very good! Just sit in the hands of this statue! And try to act natural when you're in there!"; diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt index a6cf12a33..5784d52a7 100644 --- a/npc/instances/SealedShrine.txt +++ b/npc/instances/SealedShrine.txt @@ -49,10 +49,10 @@ monk_test,309,146,3 script Friar Patrick#edq 4_M_OLDFRIAR,{ next; if (countitem(Bapho_Doll) > 0) { .@doll = 1; - .@selection = select("What is this place?:I want to enter.:About the Cursed Baphomet Doll.:Cancel."); + .@selection = select("What is this place?", "I want to enter.", "About the Cursed Baphomet Doll.", "Cancel."); } else { - .@selection = select("What is this place?:I want to enter.:Cancel."); + .@selection = select("What is this place?", "I want to enter.", "Cancel."); } switch(.@selection) { case 1: @@ -65,7 +65,7 @@ monk_test,309,146,3 script Friar Patrick#edq 4_M_OLDFRIAR,{ mes "[Friar Patrick]"; mes "The very place where the great Devil who once demolished this world is sleeping."; next; - switch(select("Tell me more.:Stop talking.")) { + switch(select("Tell me more.", "Stop talking.")) { case 1: cutin "ins_cata_pri_n",2; mes "[Friar Patrick]"; @@ -225,7 +225,7 @@ monk_test,306,151,3 script Grave of Baphomet#edq HIDDEN_NPC,{ if (countitem(Token_Of_Apostle)) delitem Token_Of_Apostle,countitem(Token_Of_Apostle); mes "This gravestone has a carving of a wicked devil with large horns. It arouses an ominous feeling."; next; - if(select("Touch the stone.:Step back.") == 2) + if(select("Touch the stone.", "Step back.") == 2) close; // 12 hour cooldown @@ -317,7 +317,7 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{ } } else if (!.@new_maje && countitem(Bapho_Doll) > 0) { - switch(select("About the Cursed Baphomet Doll:Stop talking.")) { + switch(select("About the Cursed Baphomet Doll", "Stop talking.")) { case 1: mes "[Rust Blackhand]"; mes "What?... Hmmm... Did you get the doll? You're pretty good, unlike your appearance..."; @@ -337,7 +337,7 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{ mes "[Rust Blackhand]"; mes "The Cursed Baphomet Doll is the most important ingredient... I'll make you if you want. What would you like to do?"; next; - switch(select("I want to make one!:I don't need one.")) { + switch(select("I want to make one!", "I don't need one.")) { case 1: mes "[Rust Blackhand]"; mes "kkk... Yes, wise men take their chances when the opportunity comes. I'll tell you the ingredients. Don't forget, and bring them all."; @@ -377,7 +377,7 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{ close; } else if (.@new_maje == 2 && countitem(Bapho_Doll)) { - switch(select("About the Cursed Baphomet Doll:Stop talking.")) { + switch(select("About the Cursed Baphomet Doll", "Stop talking.")) { case 1: mes "[Rust Blackhand]"; mes "What?... You again? What do you want this time?"; @@ -394,7 +394,7 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{ mes "[Rust Blackhand]"; mes "I'll tell you the ingredients again. So, do you want to make?"; next; - switch(select("I want.:No, I don't want.")) { + switch(select("I want.", "No, I don't want.")) { case 1: mes "[Rust Blackhand]"; mes "kkk... Yes, wise men take their chances when the opportunity comes. I'll tell you the ingredients. Don't forget, and bring them all."; @@ -502,7 +502,7 @@ OnMyMobDead: mes "I have waited and waited for a brave adventurer like you who will come back here again..."; next; while(1) { - switch(select("Who are you?:Waited for me?:Cancel.")) { + switch(select("Who are you?", "Waited for me?", "Cancel.")) { case 1: mes "[Voice of the Gravestone]"; mes "I was one of the warriors to stop Baphomet like you. Now, I'm dead and only my soul remains..."; @@ -615,7 +615,7 @@ OnInstanceInit: // Temporary fix for @reloadscript. next; while(1) { cutin "ins_cata_champ_n",2; - switch(select("What is Essence of Fire?:What is a Token of Apostle?:What should I do?:I am ready.")) { + switch(select("What is Essence of Fire?", "What is a Token of Apostle?", "What should I do?", "I am ready.")) { case 1: ++.@ins_baphomet_1f_1; mes "[Ancient Hero's Soul]"; @@ -1163,7 +1163,7 @@ OnInstanceInit: mes "[Ancient Hero's Soul]"; mes "The struggle for peace on this world will never end. But... my role here is finally over because there are brave heroes like you."; next; - switch(select("Let me leave the shrine.:Stop talking.")) { + switch(select("Let me leave the shrine.", "Stop talking.")) { case 1: mes "[Ancient Hero's Soul]"; mes "Okay. I'll let you and your group leave here safely."; -- cgit v1.2.3-70-g09d2