diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/re/instances/HazyForest.txt | 1199 |
1 files changed, 627 insertions, 572 deletions
diff --git a/npc/re/instances/HazyForest.txt b/npc/re/instances/HazyForest.txt index c649171f8..291ce54db 100644 --- a/npc/re/instances/HazyForest.txt +++ b/npc/re/instances/HazyForest.txt @@ -37,147 +37,149 @@ bif_fild01,158,340,5 script Laphine Soldier#mist 4_M_FAIRYSOLDIER,{ .@party_id = getcharid(CHAR_ID_PARTY); - .@md_name$ = "Mistwood Maze"; + .@md_name$ = _("Mistwood Maze"); - mes "[Laphine Soldier]"; - mes "Are you going into the forest?"; - next; + mes("[Laphine Soldier]"); + mes("Are you going into the forest?"); + next(); if (!.@party_id) { - mes "[Laphine Soldier]"; - mes "Well, well, well, aren't you being too rash?"; - mes "Why don't you at least organize a party?"; - close; + mes("[Laphine Soldier]"); + mes("Well, well, well, aren't you being too rash?"); + mes("Why don't you at least organize a party?"); + close(); } - .@playtime = questprogress(7211,PLAYTIME); - if (getcharid(CHAR_ID_CHAR) == getpartyleader(.@party_id,2)) { + .@playtime = questprogress(7211, PLAYTIME); + if (getcharid(CHAR_ID_CHAR) == getpartyleader(.@party_id, 2)) { if (.@playtime == 1) { - mes "[Laphine Soldier]"; - mes "...Are you sure you're not doing too much?"; - mes "I think you'd better get some rest."; - mes "You'll only wear yourself out by trying to do too much"; - next; - mes "[Laphine Soldier]"; - mes "I don't think the authority will give you permission, either."; - mes "...Even a Sapha would be stopped from entering the forest."; - next; + mes("[Laphine Soldier]"); + mes("...Are you sure you're not doing too much?"); + mes("I think you'd better get some rest."); + mes("You'll only wear yourself out by trying to do too much"); + next(); + mes("[Laphine Soldier]"); + mes("I don't think the authority will give you permission, either."); + mes("...Even a Sapha would be stopped from entering the forest."); + next(); select("You speak our language quite well, don't you?"); - mes "[Laphine Soldier]"; - mes "...Do I?"; - mes "Actually I'm not speaking your language."; - mes "I'm speaking Laphine language."; - next; - mes "[Laphine Soldier]"; - mes "But it's one of the mysteries of Bifrost."; - mes "That we can understand each other even if we speak different languages."; - next; - mes "[Laphine Soldier]"; - mes "To be able to talk with everybody..."; - mes "Perhaps that's the power of Bifrost."; - close; + mes("[Laphine Soldier]"); + mes("...Do I?"); + mes("Actually I'm not speaking your language."); + mes("I'm speaking Laphine language."); + next(); + mes("[Laphine Soldier]"); + mes("But it's one of the mysteries of Bifrost."); + mes("That we can understand each other even if we speak different languages."); + next(); + mes("[Laphine Soldier]"); + mes("To be able to talk with everybody..."); + mes("Perhaps that's the power of Bifrost."); + close(); } else if (.@playtime == 2) { - mes "[Laphine Soldier]"; - mes "Great, great."; - mes "Now the forest won't reject you."; - mes "What are you going to do now?"; - erasequest 7211; + mes("[Laphine Soldier]"); + mes("Great, great."); + mes("Now the forest won't reject you."); + mes("What are you going to do now?"); + erasequest(7211); } else { - mes "[Laphine Soldier]"; - mes "You human adventurers are incredible."; - mes "You're always going into the forest, where no one else dares to go."; - next; - mes "[Laphine Soldier]"; - mes "Phew. But I have to report to the authority"; - mes "everyone who goes into the forest, just in case."; - next; - mes "[Laphine Soldier]"; - mes "You'll get permission"; - mes "after you register."; - mes "Are you going to venture into the Hazy Forest?"; + mes("[Laphine Soldier]"); + mes("You human adventurers are incredible."); + mes("You're always going into the forest, where no one else dares to go."); + next(); + mes("[Laphine Soldier]"); + mes("Phew. But I have to report to the authority"); + mes("everyone who goes into the forest, just in case."); + next(); + mes("[Laphine Soldier]"); + mes("You'll get permission"); + mes("after you register."); + mes("Are you going to venture into the Hazy Forest?"); } - next; + next(); switch(select("Venture into the Hazy Forest.", "Give up.")) { case 1: - mes "[Laphine Soldier]"; - mes "Party Name "+getpartyname(.@party_id)+"..."; - mes "Party Leader "+strcharinfo(PC_NAME)+"..."; + mes("[Laphine Soldier]"); + mesf("Party Name %s...", getpartyname(.@party_id)); + mesf("Party Leader %s...", strcharinfo(PC_NAME)); .@instance = instance_create(.@md_name$, .@party_id); if (.@instance < 0) { - mes "Hmm..."; - next; - mes "[Laphine Soldier]"; + mes("Hmm..."); + next(); + mes("[Laphine Soldier]"); if (!.@playtime) - mes "It's dangerous in the forest."; + mes("It's dangerous in the forest."); else - mes "The atmosphere is somewhat tense in the forest."; - mes "...Why don't you just go back today?"; - close; + mes("The atmosphere is somewhat tense in the forest."); + mes("...Why don't you just go back today?"); + close(); } - if (instance_attachmap("1@mist",.@instance) != "") { - instance_set_timeout 7200,300,.@instance; + if (instance_attachmap("1@mist", .@instance) != "") { + instance_set_timeout(7200, 300, .@instance); instance_init(.@instance); - mes "I've got it. I've written them down on the report here."; - next; - mes "[Laphine Soldier]"; - mes "You'll get permission soon."; - mes "Now go to the log tunnel, the only way to get into the Hazy Forest."; - mes "You understand?"; - next; - mes "[Laphine Soldier]"; - mes "We can't go against the forest,"; - mes "but maybe you humans can."; - mes "Good luck!"; - close; + mes("I've got it. I've written them down on the report here."); + next(); + mes("[Laphine Soldier]"); + mes("You'll get permission soon."); + mes("Now go to the log tunnel, the only way to get into the Hazy Forest."); + mes("You understand?"); + next(); + mes("[Laphine Soldier]"); + mes("We can't go against the forest,"); + mes("but maybe you humans can."); + mes("Good luck!"); + close(); } else { instance_destroy(.@instance); } case 2: - mes "[Laphine Soldier]"; - mes "Well, you've made the right decision."; + mes("[Laphine Soldier]"); + mes("Well, you've made the right decision."); if (!.@playtime) - mes "That's what's good for you."; - close; + mes("That's what's good for you."); + close(); } } else { - mes "[Laphine Soldier]"; - mes "Where's your party leader?"; - mes "It's dangerous in there."; - next; + mes("[Laphine Soldier]"); + mes("Where's your party leader?"); + mes("It's dangerous in there."); + next(); if (.@playtime == 2) { - mes "[Laphine Soldier]"; - mes "I see you've been into the forest before."; - mes "Okay, at least the forest won't reject you."; - mes "However..."; - erasequest 7211; - next; + mes("[Laphine Soldier]"); + mes("I see you've been into the forest before."); + mes("Okay, at least the forest won't reject you."); + mes("However..."); + erasequest(7211); + next(); } - mes "[Laphine Soldier]"; - mes "Put yourself in my shoes, the entrance guard, and let me meet the representative of your party."; - mes "I have to discuss some things with him/her."; - close; + mes("[Laphine Soldier]"); + mes("Put yourself in my shoes, the entrance guard, and let me meet the representative of your party."); + mes("I have to discuss some things with him/her."); + close(); } } bif_fild01,161,355,0 script Log Tunnel CLEAR_NPC,{ - mes "I see the forest through the log tunnel."; - mes "It looks like I can enter the forest through the log tunnel."; - next; - if(select("Enter the tunnel.", "Give up.") == 2) - close; + mes("I see the forest through the log tunnel."); + mes("It looks like I can enter the forest through the log tunnel."); + next(); + if (select("Enter the tunnel.", "Give up.") == 2) + close(); if (has_instance("1@mist") == "") { - if (questprogress(7211,PLAYTIME) == 1) { - mes "You try to crawl into the log, but some mysterious power pushes you back with a gush of wind."; - mes "It seems like you can't force your way into the forest."; - close; + if (questprogress(7211, PLAYTIME) == 1) { + mes("You try to crawl into the log, but some mysterious power pushes you back with a gush of wind."); + mes("It seems like you can't force your way into the forest."); + close(); } - mes "The world beyond the log tunnel looks dark and suffocating."; - mes "Your instinct is screaming that this forest is dangerous."; - close; + mes("The world beyond the log tunnel looks dark and suffocating."); + mes("Your instinct is screaming that this forest is dangerous."); + close(); } else { - if (questprogress(7211,PLAYTIME) == 2) erasequest 7211; - if (!questprogress(7211,PLAYTIME)) setquest 7211; - mapannounce "bif_fild01",getpartyname(getcharid(CHAR_ID_PARTY))+" party's "+strcharinfo(PC_NAME)+" member is entering the Mistwood Maze.",bc_map,"0x00ff99"; //FW_NORMAL 12 0 0 - warp "1@mist",89,29; - close; + if (questprogress(7211, PLAYTIME) == 2) + erasequest(7211); + if (!questprogress(7211, PLAYTIME)) + setquest(7211); + mapannounce("bif_fild01", sprintf(_$("%s party's %s member is entering the Mistwood Maze."), getpartyname(getcharid(CHAR_ID_PARTY)), strcharinfo(PC_NAME)), bc_map, C_SPRINGGREEN); //FW_NORMAL 12 0 0 + warp("1@mist", 89, 29); + close(); } } @@ -185,284 +187,325 @@ bif_fild01,161,355,0 script Log Tunnel CLEAR_NPC,{ 1@mist,89,29,0 script #Whisper_mist CLEAR_NPC,1,1,{ end; OnInstanceInit: - enablenpc instance_npcname("#Whisper_mist"); + enablenpc(instance_npcname("#Whisper_mist")); end; OnTouch: - disablenpc instance_npcname("#Whisper_mist"); - initnpctimer; + disablenpc(instance_npcname("#Whisper_mist")); + initnpctimer(); end; OnTimer10000: OnTimer20000: - mapannounce instance_mapname("1@mist"),"Whisper: Who's this? Who's this!? The forest is open! Tom, Tomba, Tired Rem, Remi! Wake up!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 + mapannounce(instance_mapname("1@mist"), _("Whisper: Who's this? Who's this!? The forest is open! Tom, Tomba, Tired Rem, Remi! Wake up!"), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 end; OnTimer60000: - mapannounce instance_mapname("1@mist"),"Loud Whisper: What are the forest keepers doing? What are the gardeners doing??",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 + mapannounce(instance_mapname("1@mist"), _("Loud Whisper: What are the forest keepers doing? What are the gardeners doing??"), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 end; OnTimer120000: - mapannounce instance_mapname("1@mist"),"Loud Whisper: Don't go out, wander around forever, and play with us!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 + mapannounce(instance_mapname("1@mist"), _("Loud Whisper: Don't go out, wander around forever, and play with us!"), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 end; OnTimer180000: - mapannounce instance_mapname("1@mist"),"Loud Whisper: Useless, useless. Wandering around and around, you'll meet your end!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 - stopnpctimer; + mapannounce(instance_mapname("1@mist"), _("Loud Whisper: Useless, useless. Wandering around and around, you'll meet your end!"), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 + stopnpctimer(); end; } -// callfunc "F_Mora_Mist",<warp to enable>,<success message>,<fail message>{,<end flag>} +// callfunc("F_Mora_Mist", <warp to enable>, <success message>, <fail message>{, <end flag>}) function script F_Mora_Mist { .@map$ = instance_mapname("1@mist"); - if (mobcount(.@map$,instance_npcname(strnpcinfo(NPC_NAME))+"::OnMyMobDead") == 0) { - mes "Obviously no one is taking care of it."; - mes "It seems like you can chop down the garden tree."; - next; - if(select("Chop down the garden tree.", "Give up.") == 2) - close; - mes "You chop down the tree, which was blocking the path of the maze, "+((getarg(3,0))?"clearing the way out of the forest.":"so now you can continue."); - mapannounce .@map$,getarg(1),bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 - enablenpc instance_npcname(getarg(0)); - disablenpc instance_npcname(strnpcinfo(NPC_NAME)); - close; - } else - mapannounce .@map$,((getarg(3,0))?getarg(2):getarg(2)+"'s Cry: Huh? Who's doing bad things to my tree?!"),bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 + if (mobcount(.@map$, instance_npcname(strnpcinfo(NPC_NAME))+"::OnMyMobDead") == 0) { + mes("Obviously no one is taking care of it."); + mes("It seems like you can chop down the garden tree."); + next(); + if (select("Chop down the garden tree.", "Give up.") == 2) + close(); + mesf("You chop down the tree, which was blocking the path of the maze, %s", ((getarg(3, 0))?"clearing the way out of the forest.":"so now you can continue.")); + mapannounce(.@map$, getarg(1), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 + enablenpc(instance_npcname(getarg(0))); + disablenpc(instance_npcname(strnpcinfo(NPC_NAME))); + close(); + } else { + mapannounce(.@map$, (getarg(3, 0) ? getarg(2) : sprintf(_$("%s's Cry: Huh? Who's doing bad things to my tree?!"), getarg(2))), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 + } + end; +} + +1@mist,251,121,3 script Tom's Garden 4_BULLETIN_BOARD2,{ end; } -1@mist,251,121,3 script Tom's Garden 4_BULLETIN_BOARD2,{ end; } 1@mist,247,123,0 script Tom's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "a25_a18-1", "Roaring Cry: Tom's bolt is broken! Watch out, Tomba! Watch out, Tomba!", - "Tom"; + "Tom"); end; OnInstanceInit: - monster instance_mapname("1@mist"),249,120,"Tom",2136,1,instance_npcname("Tom's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 249, 120, _("Tom"), LITTLE_FATUM, 1, instance_npcname("Tom's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } -1@mist,226,95,3 script Tomba's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,226,95,3 script Tomba's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,225,98,0 script Tomba's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "a27-2_af1-2", "Roaring Cry: Tomba's Garden Tree is gone with Tomba. Remi, what are you going to do now?", - "Tomba"; + "Tomba"); end; OnInstanceInit: - monster instance_mapname("1@mist"),200,64,"Tomba",2136,1,instance_npcname("Tomba's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 200, 64, _("Tomba"), LITTLE_FATUM, 1, instance_npcname("Tomba's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } -1@mist,157,183,3 script Remi's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,157,183,3 script Remi's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,159,184,0 script Remi's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "a15-2_a4-1", "Roaring Cry: Remi, Remi's Garden Tree was chopped down- Rem, it's your turn next. Poor Rem!", - "Remi"; + "Remi"); end; OnInstanceInit: - monster instance_mapname("1@mist"),154,184,"Remi the Tired",2137,1,instance_npcname("Remi's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 154, 184, _("Remi the Tired"), MIMING, 1, instance_npcname("Remi's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } -1@mist,58,39,3 script Tired Rem's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,58,39,3 script Tired Rem's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,61,39,0 script Tired Rem's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "a4-2_a11", "Rem's Desperate Cry: Argh... Rem will sleep. Rem will sleep now, and won't wake up forever!", - "Rem"; + "Rem"); end; OnInstanceInit: - monster instance_mapname("1@mist"),101,107,"Rem the Gardener",2136,1,instance_npcname("Tired Rem's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 101, 107, _("Rem the Gardener"), LITTLE_FATUM, 1, instance_npcname("Tired Rem's Garden Tree")+"::OnMyMobDead"); end; OnTimer10000: - mapannounce instance_mapname("1@mist"),"Whisper of the Forest: So Tom's, Tomba's, Remi's, and Rem's garden trees were all chopped down?",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 + mapannounce(instance_mapname("1@mist"), _("Whisper of the Forest: So Tom's, Tomba's, Remi's, and Rem's garden trees were all chopped down?"), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 end; OnTimer15000: - mapannounce instance_mapname("1@mist"),"Whisper of the Forest: Trouble, trouble, we're in big trouble.",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 + mapannounce(instance_mapname("1@mist"), _("Whisper of the Forest: Trouble, trouble, we're in big trouble."), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 end; OnTimer20000: - mapannounce instance_mapname("1@mist"),"Loud Whisper: They've come to the second deepest forest. Gardeners of the deep forest, watch out!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 - stopnpctimer; + mapannounce(instance_mapname("1@mist"), _("Loud Whisper: They've come to the second deepest forest. Gardeners of the deep forest, watch out!"), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 + stopnpctimer(); end; OnMyMobDead: end; } -1@mist,227,179,3 script Ron's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,227,179,3 script Ron's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,230,179,0 script Ron's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "b4-2_b2", "Ron the Gardener's Cry: I'm getting off work! Don't look for Ron, the second gardener, any more!!", - "Ron"; + "Ron"); end; OnInstanceInit: - monster instance_mapname("1@mist"),227,178,"Ron the Gardener",2134,1,instance_npcname("Ron's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 227, 178, _("Ron the Gardener"), PARUS, 1, instance_npcname("Ron's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } -1@mist,288,226,3 script Rover's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,288,226,3 script Rover's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,285,225,0 script Rover's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "b7_bf1-2", "Roaring Whisper: Ron's, and Rover's trees were chopped down as well. Who is forcing his way into the forest? Who is it?", - "Rover"; + "Rover"); end; OnInstanceInit: - monster instance_mapname("1@mist"),304,237,"Rover the Strutter",2134,1,instance_npcname("Rover's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 304, 237, _("Rover the Strutter"), PARUS, 1, instance_npcname("Rover's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } -1@mist,159,318,3 script Mona's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,159,318,3 script Mona's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,161,316,0 script Mona's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "b31_b16", "Clamoring Whisper: Mona the Seedseeker's garden tree is gone! Mona is gone too! Namon will be okay, because he is brave, right? Namon, are you okay?", - "Mona"; + "Mona"); end; OnInstanceInit: - monster instance_mapname("1@mist"),239,253,"Mona the Seedseeker",2133,1,instance_npcname("Mona's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 239, 253, _("Mona the Seedseeker"), ANGRA_MANTIS, 1, instance_npcname("Mona's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } -1@mist,205,300,3 script Namon's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,205,300,3 script Namon's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,204,299,0 script Namon's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "b27-3_bN-1", "Clamoring Whisper: Brave Namon met his fate not so bravely... *giggle*", - "Namon"; + "Namon"); end; OnInstanceInit: - monster instance_mapname("1@mist"),89,173,"Brave Namon",2134,1,instance_npcname("Namon's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 89, 173, _("Brave Namon"), PARUS, 1, instance_npcname("Namon's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } -1@mist,219,232,3 script Sad Neoron's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,219,232,3 script Sad Neoron's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,221,236,0 script Sad Neoron's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "b6-1_b33", "Lamenting Whisper: Sad Neoron has become cheerful! Spyder the Superior Spider, what are you going to do? What are you going to do now?", - "Neoron"; + "Neoron"); end; OnInstanceInit: - monster instance_mapname("1@mist"),143,265,"Sad Neoron",2137,1,instance_npcname("Sad Neoron's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 143, 265, _("Sad Neoron"), MIMING, 1, instance_npcname("Sad Neoron's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } -1@mist,206,202,3 script Spyder's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,206,202,3 script Spyder's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,206,200,0 script Spyder's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "b5_b14", "Depressed Whisper: Now it's all over with the second deepest forest. Gardeners are dying out-", - "Spyder"; + "Spyder"); end; OnInstanceInit: - monster instance_mapname("1@mist"),209,200,"Spyder the Eight-Legged",2132,1,instance_npcname("Spyder's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 209, 200, _("Spyder the Eight-Legged"), POM_SPIDER, 1, instance_npcname("Spyder's Garden Tree")+"::OnMyMobDead"); end; OnTimer5000: - mapannounce instance_mapname("1@mist"),"Roaring Whisper: The path is about to open. The tight bolts have been removed!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 + mapannounce(instance_mapname("1@mist"), _("Roaring Whisper: The path is about to open. The tight bolts have been removed!"), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 end; OnTimer9000: - mapannounce instance_mapname("1@mist"),"Roaring Whisper: A forest opened, another opened, and the other is going to open as well. Tito and Pumba, they are heading your way!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 + mapannounce(instance_mapname("1@mist"), _("Roaring Whisper: A forest opened, another opened, and the other is going to open as well. Tito and Pumba, they are heading your way!"), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 end; OnTimer13000: - mapannounce instance_mapname("1@mist"),"Roaring Whisper: Where you get after wandering around, around and around, everybody you've met while wandering around, around and around,",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 + mapannounce(instance_mapname("1@mist"), _("Roaring Whisper: Where you get after wandering around, around and around, everybody you've met while wandering around, around and around,"), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 end; OnTimer17000: - mapannounce instance_mapname("1@mist"),"Roaring Whisper: all the gardeners will be waiting for you, with their clippers in their hands-!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 - stopnpctimer; + mapannounce(instance_mapname("1@mist"), _("Roaring Whisper: all the gardeners will be waiting for you, with their clippers in their hands-!"), bc_map, "0xccffcc"); //FW_NORMAL 12 0 0 + stopnpctimer(); end; OnMyMobDead: end; } -1@mist,96,288,3 script Tito's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,96,288,3 script Tito's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,95,287,0 script Tito's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "c1_c13-1", "Tito's Cry: *sob* *sob* Tito's gone now! Tito's done for! Boo hoo!!", - "Tito"; + "Tito"); end; OnInstanceInit: - monster instance_mapname("1@mist"),264,291,"Tito the Flipper",2133,1,instance_npcname("Tito's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 264, 291, _("Tito the Flipper"), ANGRA_MANTIS, 1, instance_npcname("Tito's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } -1@mist,326,325,3 script Pumba's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,326,325,3 script Pumba's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,324,325,0 script Pumba's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "c13-3_c4", "Roaring Whisper: Tito the Hard Worker was defeated! Stop playing and go to work, Tete! Start working!", - "Pumba"; + "Pumba"); end; OnInstanceInit: - monster instance_mapname("1@mist"),309,165,"Diligent Pumba",2134,1,instance_npcname("Pumba's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 309, 165, _("Diligent Pumba"), PARUS, 1, instance_npcname("Pumba's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } -1@mist,278,345,3 script Tete's Garden 4_BULLETIN_BOARD2,{ end; } +1@mist,278,345,3 script Tete's Garden 4_BULLETIN_BOARD2,{ + end; +} + 1@mist,280,344,0 script Tete's Garden Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "c19_c4", "Whisper: They are strong, strong indeed. What are we going to do now? Are there any gardeners left? Are there any?", - "Tete"; + "Tete"); end; OnInstanceInit: - monster instance_mapname("1@mist"),277,343,"Carefree Tete",2136,1,instance_npcname("Tete's Garden Tree")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 277, 343, _("Carefree Tete"), LITTLE_FATUM, 1, instance_npcname("Tete's Garden Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } 1@mist,345,186,0 script The Gardeners' Tree 4_CREEPER,{ - callfunc "F_Mora_Mist", + callfunc("F_Mora_Mist", "#to_bif02", "Roaring Whisper: The forest will remember you! It will remember you, the one who broke the clippers of all the gardeners!", - "Gardeners: We're not dead, yet!!!!",1; + "Gardeners: We're not dead, yet!!!!", 1); end; OnInstanceInit: .@map$ = instance_mapname("1@mist"); - monster .@map$,318,137,"Baby Tom",2136,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,321,137,"Tomba the Baby",2136,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,324,137,"Exhausted Remi",2137,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,319,135,"Rem the Exhausted",2136,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,323,135,"Ron the Ex-Gardener",2134,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,320,133,"Rover the Strutter",2134,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,323,133,"Mona the Seedpicker",2133,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,317,132,"Timid Namon",2134,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,326,132,"Indifferent Neoron",2137,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,317,129,"Spyder the Seven-Legged",2132,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,320,129,"Tito the Flapper",2133,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,324,129,"Lazy Pumba",2134,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; - monster .@map$,327,129,"Careless Tete",2136,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"; + monster(.@map$, 318, 137, _("Baby Tom"), LITTLE_FATUM, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 321, 137, _("Tomba the Baby"), LITTLE_FATUM, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 324, 137, _("Exhausted Remi"), MIMING, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 319, 135, _("Rem the Exhausted"), LITTLE_FATUM, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 323, 135, _("Ron the Ex-Gardener"), PARUS, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 320, 133, _("Rover the Strutter"), PARUS, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 323, 133, _("Mona the Seedpicker"), ANGRA_MANTIS, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 317, 132, _("Timid Namon"), PARUS, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 326, 132, _("Indifferent Neoron"), MIMING, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 317, 129, _("Spyder the Seven-Legged"), POM_SPIDER, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 320, 129, _("Tito the Flapper"), ANGRA_MANTIS, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 324, 129, _("Lazy Pumba"), PARUS, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); + monster(.@map$, 327, 129, _("Careless Tete"), LITTLE_FATUM, 1, instance_npcname("The Gardeners' Tree")+"::OnMyMobDead"); end; OnMyMobDead: end; } 1@mist,73,290,0 script Mysterious Flower#1 CLEAR_NPC,{ - specialeffect EF_LEVEL99_4; - disablenpc instance_npcname(strnpcinfo(NPC_NAME)); - getitem Mysterious_Seed,1; + specialeffect(EF_LEVEL99_4); + disablenpc(instance_npcname(strnpcinfo(NPC_NAME))); + getitem(Mysterious_Seed, 1); end; } + 1@mist,69,295,0 duplicate(Mysterious Flower#1) Mysterious Flower#2 CLEAR_NPC 1@mist,62,291,0 duplicate(Mysterious Flower#1) Mysterious Flower#3 CLEAR_NPC 1@mist,54,293,0 duplicate(Mysterious Flower#1) Mysterious Flower#4 CLEAR_NPC @@ -516,420 +559,432 @@ OnMyMobDead: 1@mist,2,2,0 script #Dragon Herder CLEAR_NPC,{ end; OnInstanceInit: - switch(rand(1,6)) { - case 1: setarray .@c[0],77,240; break; - case 2: setarray .@c[0],147,261; break; - case 3: setarray .@c[0],182,263; break; - case 4: setarray .@c[0],194,350; break; - case 5: setarray .@c[0],268,183; break; - case 6: setarray .@c[0],65,278; break; + switch (rand(1, 6)) { + case 1: + setarray .@c[0], 77, 240; + break; + case 2: + setarray .@c[0], 147, 261; + break; + case 3: + setarray .@c[0], 182, 263; + break; + case 4: + setarray .@c[0], 194, 350; + break; + case 5: + setarray .@c[0], 268, 183; + break; + case 6: + setarray .@c[0], 65, 278; + break; } - monster instance_mapname("1@mist"),.@c[0],.@c[1],"Wandering Purple Dragon",2131,1,instance_npcname("#Dragon Herder")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), .@c[0], .@c[1], _("Wandering Purple Dragon"), LOST_DRAGON, 1, instance_npcname("#Dragon Herder")+"::OnMyMobDead"); end; OnMyMobDead: .@map$ = instance_mapname("1@mist"); - if (mobcount(.@map$,instance_npcname("#Dragon Herder")+"::OnMyMobDead") == 0) { - donpcevent instance_npcname("Collapsed Girl#mist")+"::OnEnable"; - donpcevent instance_npcname("Mysterious Young Man#mis")+"::OnEnable"; - donpcevent instance_npcname("Loki#mist")+"::OnEnable"; - mapannounce .@map$,"The Dragon's Cry: Am I being punished... for abandoning the way... of the guardian...?",bc_map,"0xffff00"; //FW_NORMAL 12 0 0 - disablenpc instance_npcname("#Dragon Herder"); - initnpctimer; + if (mobcount(.@map$, instance_npcname("#Dragon Herder")+"::OnMyMobDead") == 0) { + donpcevent(instance_npcname("Collapsed Girl#mist")+"::OnEnable"); + donpcevent(instance_npcname("Mysterious Young Man#mis")+"::OnEnable"); + donpcevent(instance_npcname("Loki#mist")+"::OnEnable"); + mapannounce(.@map$, _("The Dragon's Cry: Am I being punished... for abandoning the way... of the guardian...?"), bc_map, C_YELLOW); //FW_NORMAL 12 0 0 + disablenpc(instance_npcname("#Dragon Herder")); + initnpctimer(); } end; OnTimer3000: - stopnpctimer; - mapannounce instance_mapname("1@mist"),"Voice in your head: ...Will you... save... me... please......?",bc_map,"0xffff00"; //FW_NORMAL 12 0 0 + stopnpctimer(); + mapannounce(instance_mapname("1@mist"), _("Voice in your head: ...Will you... save... me... please......?"), bc_map, C_YELLOW); //FW_NORMAL 12 0 0 end; } 1@mist,97,30,3 script Mysterious Young Man#mis 4_M_ROKI2,{ if (BaseLevel < 98) { - mes "[Mysterious Young Man]"; - mes "Huh? Do you plan to pass through here?"; - mes ".....I'm afraid it's beyond your ability, but I won't meddle in your affairs."; - mes "We'll meet again, if you survive."; - close; + mes("[Mysterious Young Man]"); + mes("Huh? Do you plan to pass through here?"); + mes(".....I'm afraid it's beyond your ability, but I won't meddle in your affairs."); + mes("We'll meet again, if you survive."); + close(); } if (ep14_1_mistwoods == 0) { if (ep13_3_secret > 23) { - mes "[Mysterious Young Man]"; - mes "You... I remember seeing you at the camp."; - mes "The information you gave on Ahat was useful."; - mes "Thanks!"; - next; - mes "[Mysterious Young Man]"; - mes "But do you plan to pass through here?"; - mes "What good is it to go across Bifrost?"; - next; + mes("[Mysterious Young Man]"); + mes("You... I remember seeing you at the camp."); + mes("The information you gave on Ahat was useful."); + mes("Thanks!"); + next(); + mes("[Mysterious Young Man]"); + mes("But do you plan to pass through here?"); + mes("What good is it to go across Bifrost?"); + next(); } else { - mes "[Mysterious Young Man]"; - mes "Do you plan to pass through here?"; - mes "I will advise against it if you're just curious."; - mes "It will only bring about your untimely death..."; - next; + mes("[Mysterious Young Man]"); + mes("Do you plan to pass through here?"); + mes("I will advise against it if you're just curious."); + mes("It will only bring about your untimely death..."); + next(); } - mes "[Mysterious Young Man]"; - mes "If you are determined to pass through here,"; - mes "I will ask for your help with something."; - next; + mes("[Mysterious Young Man]"); + mes("If you are determined to pass through here,"); + mes("I will ask for your help with something."); + next(); select("Who are you?"); - mes "[Loki]"; - mes "Loki... from the Assassin's Guild."; - mes "That's my name."; - mes "And yours?"; - next; - mes "["+strcharinfo(PC_NAME)+"]"; - mes "...."; - mes "...."+strcharinfo(PC_NAME)+" sir."; - next; - mes "[Loki]"; - mes "I see. "+strcharinfo(PC_NAME)+"."; - mes "I'm asking you again."; - mes "Do you plan to pass through this forest?"; - next; + mes("[Loki]"); + mes("Loki... from the Assassin's Guild."); + mes("That's my name."); + mes("And yours?"); + next(); + mesf("[%s]", strcharinfo(PC_NAME)); + mes("...."); + mesf("....%s sir.", strcharinfo(PC_NAME)); + next(); + mes("[Loki]"); + mesf("I see. %s.", strcharinfo(PC_NAME)); + mes("I'm asking you again."); + mes("Do you plan to pass through this forest?"); + next(); switch(select("Yes, I do.", "No, I don't.")) { case 1: - mes "[Loki]"; - mes "Then I'll ask you a question."; - mes "Have you ever seen a guard... a girl with purple hair?"; - next; + mes("[Loki]"); + mes("Then I'll ask you a question."); + mes("Have you ever seen a guard... a girl with purple hair?"); + next(); switch(select("No, I haven't.", "Yes, I might have...")) { case 1: - mes "[Loki]"; - mes "So you haven't."; - mes "You're telling the truth."; - next; + mes("[Loki]"); + mes("So you haven't."); + mes("You're telling the truth."); + next(); break; case 2: - mes "[Loki]"; - mes "Wait."; - mes "(Loki comes closer.)"; - mes "... No."; - mes "You're telling the truth."; - next; + mes("[Loki]"); + mes("Wait."); + mes("(Loki comes closer.)"); + mes("... No."); + mes("You're telling the truth."); + next(); break; } - mes "[Loki]"; - mes "Now we have to say goodbye here."; - mes "If you survive this forest, of course."; + mes("[Loki]"); + mes("Now we have to say goodbye here."); + mes("If you survive this forest, of course."); ep14_1_mistwoods = 2; - setquest 7212; - close; + setquest(7212); + close(); case 2: - mes "[Loki]"; - mes "I understand."; - mes "Step back if you aren't ready."; - mes "This forest doesn't like strangers."; + mes("[Loki]"); + mes("I understand."); + mes("Step back if you aren't ready."); + mes("This forest doesn't like strangers."); ep14_1_mistwoods = 1; - close; + close(); } } else if (ep14_1_mistwoods == 1) { - mes "[Loki]"; - mes "I told you - step back if you don't want to die."; - mes "It's not easy going through the forest."; - mes "It may cost you your life."; - next; + mes("[Loki]"); + mes("I told you - step back if you don't want to die."); + mes("It's not easy going through the forest."); + mes("It may cost you your life."); + next(); switch(select("Okay.", "What do you want?")) { case 1: - mes "- When you step back,"; - mes "Loki nods slightly and then looks away. -"; - close; + mes("- When you step back,"); + mes("Loki nods slightly and then looks away. -"); + close(); case 2: - mes "[Loki]"; - mes "I'm looking for somebody."; - mes "Have you ever seen a guard... a girl with purple hair?"; - next; + mes("[Loki]"); + mes("I'm looking for somebody."); + mes("Have you ever seen a guard... a girl with purple hair?"); + next(); switch(select("No, I haven't.", "Yes, I might have...")) { case 1: - mes "[Loki]"; - mes "So you haven't."; - mes "You're telling the truth."; - next; + mes("[Loki]"); + mes("So you haven't."); + mes("You're telling the truth."); + next(); break; case 2: - mes "[Loki]"; - mes "Wait."; - mes "(Loki comes closer.)"; - mes "... No."; - mes "You're telling the truth."; - next; + mes("[Loki]"); + mes("Wait."); + mes("(Loki comes closer.)"); + mes("... No."); + mes("You're telling the truth."); + next(); break; } - mes "[Loki]"; - mes "Now we have to say goodbye here."; - mes "Hopefully, we will see each other again in Mora."; + mes("[Loki]"); + mes("Now we have to say goodbye here."); + mes("Hopefully, we will see each other again in Mora."); ep14_1_mistwoods = 2; - setquest 7212; - close; + setquest(7212); + close(); } } else if (ep14_1_mistwoods == 2) { - mes "[Loki]"; - mes "I don't want to go with you."; - mes "Hopefully, we will see each other again in Mora."; - close; + mes("[Loki]"); + mes("I don't want to go with you."); + mes("Hopefully, we will see each other again in Mora."); + close(); } else if (ep14_1_mistwoods == 3) { - mes "[Loki]"; - mes "So we meet again."; - mes "Are you used to this place?"; - mes "Come to the inn in Mora."; - mes "I have something to give to you."; - close; + mes("[Loki]"); + mes("So we meet again."); + mes("Are you used to this place?"); + mes("Come to the inn in Mora."); + mes("I have something to give to you."); + close(); } else { - mes "[Loki]"; - mes "We're seeing a lot of each other these days."; - mes "It seems you are completely comfortable with the place."; - mes "You'd better not be too proud of yourself."; - close; + mes("[Loki]"); + mes("We're seeing a lot of each other these days."); + mes("It seems you are completely comfortable with the place."); + mes("You'd better not be too proud of yourself."); + close(); } end; OnEnable: - enablenpc instance_npcname("Mysterious Young Man#mis"); + enablenpc(instance_npcname("Mysterious Young Man#mis")); end; OnDisable: - disablenpc instance_npcname("Mysterious Young Man#mis"); + disablenpc(instance_npcname("Mysterious Young Man#mis")); end; } 1@mist,183,304,3 script Loki#mist 4_M_ROKI2,{ if (ep14_1_mistwoods < 2) { - mes "[Loki]"; - mes "An adventurer in the forest."; - mes "....."; - mes "You can go to Mora through this forest."; - close; + mes("[Loki]"); + mes("An adventurer in the forest."); + mes("....."); + mes("You can go to Mora through this forest."); + close(); } else if (ep14_1_mistwoods == 2) { - mes "[Loki]"; - mes "Is it you that took care of this unruly girl?"; - mes "I guess I have to thank you."; - mes "You've calmed her down."; - next; + mes("[Loki]"); + mes("Is it you that took care of this unruly girl?"); + mes("I guess I have to thank you."); + mes("You've calmed her down."); + next(); select("What's happening?", "This girl...?"); - mes "[Loki]"; - mes "You might be able to change your appearance, but you cannot change your unique, innate light."; - mes "A scent strong enough to burn your nose."; - next; - mes "[Loki]"; - mes "This is Nydhogg, the Guardian of Yggdrasil,"; - mes "whom I was looking for."; - mes "Now she won't wander around crazy any more."; - next; + mes("[Loki]"); + mes("You might be able to change your appearance, but you cannot change your unique, innate light."); + mes("A scent strong enough to burn your nose."); + next(); + mes("[Loki]"); + mes("This is Nydhogg, the Guardian of Yggdrasil,"); + mes("whom I was looking for."); + mes("Now she won't wander around crazy any more."); + next(); select("What are you going to do now?"); - mes "[Loki]"; - mes "I'll wait for her to wake up and get out of this forest."; - mes "I can manage it on my own."; - mes "I'll see you in Mora."; + mes("[Loki]"); + mes("I'll wait for her to wake up and get out of this forest."); + mes("I can manage it on my own."); + mes("I'll see you in Mora."); ep14_1_mistwoods = 3; - erasequest 7212; - setquest 7213; - close; + erasequest(7212); + setquest(7213); + close(); } else if (ep14_1_mistwoods == 3) { - mes "[Loki]"; - mes "I don't want to go with you."; - mes "I can manage her on my own."; - mes "If you have something to say, say it after we get out of the forest."; - close; + mes("[Loki]"); + mes("I don't want to go with you."); + mes("I can manage her on my own."); + mes("If you have something to say, say it after we get out of the forest."); + close(); } else { - mes "[Loki]"; - mes "I don't want to go with you."; - mes "If you have something to say, say it after we get out of the forest."; - close; + mes("[Loki]"); + mes("I don't want to go with you."); + mes("If you have something to say, say it after we get out of the forest."); + close(); } end; OnInstanceInit: OnDisable: - disablenpc instance_npcname("Loki#mist"); + disablenpc(instance_npcname("Loki#mist")); end; OnEnable: - enablenpc instance_npcname("Loki#mist"); + enablenpc(instance_npcname("Loki#mist")); end; } 1@mist,181,303,3 script Collapsed Girl#mist 4_F_NYDHOG2,{ - mes "You see a girl with mysterious hair collapsed on the ground."; - mes "As you approach her, you smell the scent of flowers so strong that it makes you dizzy."; - close; + mes("You see a girl with mysterious hair collapsed on the ground."); + mes("As you approach her, you smell the scent of flowers so strong that it makes you dizzy."); + close(); OnInstanceInit: OnDisable: - disablenpc instance_npcname("Collapsed Girl#mist"); + disablenpc(instance_npcname("Collapsed Girl#mist")); end; OnEnable: - enablenpc instance_npcname("Collapsed Girl#mist"); + enablenpc(instance_npcname("Collapsed Girl#mist")); end; } mora,46,152,5 script Flower Smelling Lady 4_F_NYDHOG,{ if (ep14_1_mistwoods < 3) { - mes "[Flower Smell Lady]"; - mes "I need rest."; - mes "I'm too tired to talk to you."; - mes "I'm sorry."; - close; + mes("[Flower Smell Lady]"); + mes("I need rest."); + mes("I'm too tired to talk to you."); + mes("I'm sorry."); + close(); } else if (ep14_1_mistwoods == 3) { - mes "[Nydhogg the Guardian]"; - mes "I've been waiting for you."; - mes "I'm still confused, but I know what I did wrong."; - next; - mes "[Nydhogg the Guardian]"; - mes "If it weren't for you, I would still be wandering in the abyssal darkness."; - mes "I thank you, from the bottom of my heart."; - next; - mes "[Nydhogg the Guardian]"; - mes "I'm ashamed of myself, falling for the sweet but empty words that came to me in my loneliness."; - mes "...."; - next; - mes "[Nydhogg the Guardian]"; - mes "I don't deserve to be a guardian any more."; - mes "A dragon gone crazy is not a guardian any more."; - next; - mes "[Loki]"; - mes "Yggdrasil doesn't think so."; - mes "Nidi, don't forget your duties."; - next; - mes "[Nydhogg the Guardian]"; - mes "Are you...?"; - mes "I see..."; - mes "I thought I was forsaken..."; - next; - mes "The Guardian slowly looked away as if deep in thought."; + mes("[Nydhogg the Guardian]"); + mes("I've been waiting for you."); + mes("I'm still confused, but I know what I did wrong."); + next(); + mes("[Nydhogg the Guardian]"); + mes("If it weren't for you, I would still be wandering in the abyssal darkness."); + mes("I thank you, from the bottom of my heart."); + next(); + mes("[Nydhogg the Guardian]"); + mes("I'm ashamed of myself, falling for the sweet but empty words that came to me in my loneliness."); + mes("...."); + next(); + mes("[Nydhogg the Guardian]"); + mes("I don't deserve to be a guardian any more."); + mes("A dragon gone crazy is not a guardian any more."); + next(); + mes("[Loki]"); + mes("Yggdrasil doesn't think so."); + mes("Nidi, don't forget your duties."); + next(); + mes("[Nydhogg the Guardian]"); + mes("Are you...?"); + mes("I see..."); + mes("I thought I was forsaken..."); + next(); + mes("The Guardian slowly looked away as if deep in thought."); ep14_1_mistwoods = 4; - close2; + close2(); } else if (ep14_1_mistwoods == 4) { - mes "- He seems to be deep in thought. -"; - close; + mes("- He seems to be deep in thought. -"); + close(); } else { - mes "[Nydhogg the Guardian]"; - mes "I haven't gotten all of my powers back."; - mes "I'm sorry I can't protect you."; - next; - mes "[Nydhogg the Guardian]"; - mes "Loki said..."; - mes "that I won't cry from loneliness again,"; - mes "that I will always have new friends like you..."; - next; - mes "[Nydhogg the Guardian]"; - mes "...I've lost everything, but I'm happy now."; - close; + mes("[Nydhogg the Guardian]"); + mes("I haven't gotten all of my powers back."); + mes("I'm sorry I can't protect you."); + next(); + mes("[Nydhogg the Guardian]"); + mes("Loki said..."); + mes("that I won't cry from loneliness again,"); + mes("that I will always have new friends like you..."); + next(); + mes("[Nydhogg the Guardian]"); + mes("...I've lost everything, but I'm happy now."); + close(); } } mora,48,152,3 script Sharp Eyed Man 4_M_ROKI2,{ - if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) { - mes "- You have too many items to do this quest. -"; - close; + if (checkweight(Knife, 1) == 0 || MaxWeight - Weight < 1000) { + mes("- You have too many items to do this quest. -"); + close(); } if (ep14_1_mistwoods < 3) { - mes "He won't look at you. It's like he's not interested at all."; - close; + mes("He won't look at you. It's like he's not interested at all."); + close(); } else if (ep14_1_mistwoods == 3) { - mes "[Loki]"; - mes "So you've passed through the forest."; - mes "It seems Niddy has something to say to you."; - close; + mes("[Loki]"); + mes("So you've passed through the forest."); + mes("It seems Niddy has something to say to you."); + close(); } else if (ep14_1_mistwoods == 4) { - mes "[Loki]"; - mes "Nydhogg was one of the guardians of the World Tree."; - mes "But he abandoned his duties as a guardian when he gave in to Morroc's temptation."; - next; - mes "[Loki]"; - mes "Some fools performed a ritual to break the seal that held Morroc."; - mes "But the ritual didn't work right. The servant of Morroc failed to break the seal."; - next; - mes "[Loki]"; - mes "But the seal is so weak that it can break open any time."; - mes "It's Yggdrasil the World Tree's will that has kept the seal from breaking."; - next; - mes "[Nydhogg the Guardian]"; - mes "That's right. The power of the World Tree is linked to the whole world."; - mes "When the bond between the guardians and Yggdrasil broke, Yggdrasil became unstable."; - next; - mes "[Nydhogg the Guardian]"; - mes "That's why all those disasters happened to Yggdrasil."; - mes "As the World Tree became unstable, the influence it had on the seal grew weak."; - next; - mes "[Loki]"; - mes "And Morroc broke himself free from the seal."; - mes "Although it seems like he used most of his powers just to break the seal..."; - next; - mes "[Nydhogg the Guardian]"; - mes "It's all my fault."; - mes "I couldn't break free from Morroc's temptation."; - mes "For too... too long..."; - next; - mes "[Nydhogg the Guardian]"; - mes "...I wanted to be relieved of my thousands of years of loneliness."; - mes "I wasn't in my right mind then."; - mes "It was none other than I that broke my bond with Yggdrasil."; - next; - mes "[Nydhogg the Guardian]"; - mes "I lost control of myself, and did what I shouldn't have done."; - mes "The other side of me became a shadow and a reckless tyrant."; - next; - mes "[Nydhogg the Guardian]"; - mes "Facing the world, I realized..."; - mes "I felt too great a sense of loss... it was much more painful than the loneliness I had endured for thousands of years."; - next; - mes "[Nydhogg the Guardian]"; - mes "That's how I was left alone."; - mes "I felt too great a sense of loss... it was much more painful than the loneliness I had endured for thousands of years."; - next; - mes "[Nydhogg the Guardian]"; - mes "So I became a sinner, forgotten to the world."; - next; - mes "[Loki]"; - mes "It's not too late."; - mes "You're still a guardian."; - mes "You still have things to do."; - next; - mes "[Nydhogg the Guardian]"; - mes "...Oh, yes. It's late, but I have to fulfill my duties as a guardian."; - mes "Now I know. I'll destroy Morroc with my own hands."; - mes "I will fulfill my duties as a guardian."; - next; + mes("[Loki]"); + mes("Nydhogg was one of the guardians of the World Tree."); + mes("But he abandoned his duties as a guardian when he gave in to Morroc's temptation."); + next(); + mes("[Loki]"); + mes("Some fools performed a ritual to break the seal that held Morroc."); + mes("But the ritual didn't work right. The servant of Morroc failed to break the seal."); + next(); + mes("[Loki]"); + mes("But the seal is so weak that it can break open any time."); + mes("It's Yggdrasil the World Tree's will that has kept the seal from breaking."); + next(); + mes("[Nydhogg the Guardian]"); + mes("That's right. The power of the World Tree is linked to the whole world."); + mes("When the bond between the guardians and Yggdrasil broke, Yggdrasil became unstable."); + next(); + mes("[Nydhogg the Guardian]"); + mes("That's why all those disasters happened to Yggdrasil."); + mes("As the World Tree became unstable, the influence it had on the seal grew weak."); + next(); + mes("[Loki]"); + mes("And Morroc broke himself free from the seal."); + mes("Although it seems like he used most of his powers just to break the seal..."); + next(); + mes("[Nydhogg the Guardian]"); + mes("It's all my fault."); + mes("I couldn't break free from Morroc's temptation."); + mes("For too... too long..."); + next(); + mes("[Nydhogg the Guardian]"); + mes("...I wanted to be relieved of my thousands of years of loneliness."); + mes("I wasn't in my right mind then."); + mes("It was none other than I that broke my bond with Yggdrasil."); + next(); + mes("[Nydhogg the Guardian]"); + mes("I lost control of myself, and did what I shouldn't have done."); + mes("The other side of me became a shadow and a reckless tyrant."); + next(); + mes("[Nydhogg the Guardian]"); + mes("Facing the world, I realized..."); + mes("I felt too great a sense of loss... it was much more painful than the loneliness I had endured for thousands of years."); + next(); + mes("[Nydhogg the Guardian]"); + mes("That's how I was left alone."); + mes("I felt too great a sense of loss... it was much more painful than the loneliness I had endured for thousands of years."); + next(); + mes("[Nydhogg the Guardian]"); + mes("So I became a sinner, forgotten to the world."); + next(); + mes("[Loki]"); + mes("It's not too late."); + mes("You're still a guardian."); + mes("You still have things to do."); + next(); + mes("[Nydhogg the Guardian]"); + mes("...Oh, yes. It's late, but I have to fulfill my duties as a guardian."); + mes("Now I know. I'll destroy Morroc with my own hands."); + mes("I will fulfill my duties as a guardian."); + next(); switch(select("You're not alone.", "Those are very important duties.")) { case 1: - mes "[Nydhogg the Guardian]"; - mes "You're right."; - mes "It may be why I haven't been forsaken - to realize that I'm not alone."; - mes "You are a kind soul."; - next; + mes("[Nydhogg the Guardian]"); + mes("You're right."); + mes("It may be why I haven't been forsaken - to realize that I'm not alone."); + mes("You are a kind soul."); + next(); break; case 2: - mes "[Nydhogg the Guardian]"; - mes "But this is my atonement."; - mes "I'm happy, though."; - mes "I don't have to fight the loneliness any more."; - next; + mes("[Nydhogg the Guardian]"); + mes("But this is my atonement."); + mes("I'm happy, though."); + mes("I don't have to fight the loneliness any more."); + next(); break; } - mes "[Nydhogg the Guardian]"; - mes strcharinfo(PC_NAME)+"..."; - mes "Thanks for listening to my long story."; - next; - mes "[Nydhogg the Guardian]"; - mes "It's what I always have with me."; - mes "I'm sure it will protect you someday."; - next; - mes "[Loki]"; - mes "(Removes his scarf from around his neck and hands it to you.)"; - next; - mes "[Nydhogg the Guardian]"; - mes "May the blessing of Mother Yggdrasil be with you..."; + mes("[Nydhogg the Guardian]"); + mesf("%s...", strcharinfo(PC_NAME)); + mes("Thanks for listening to my long story."); + next(); + mes("[Nydhogg the Guardian]"); + mes("It's what I always have with me."); + mes("I'm sure it will protect you someday."); + next(); + mes("[Loki]"); + mes("(Removes his scarf from around his neck and hands it to you.)"); + next(); + mes("[Nydhogg the Guardian]"); + mes("May the blessing of Mother Yggdrasil be with you..."); ep14_1_mistwoods = 10; - completequest 7213; - getitem Muffler_Of_Roki,1; - getitem Pendant_Of_Guardian,1; - getexp 400000,400000; - close; + completequest(7213); + getitem(Muffler_Of_Roki, 1); + getitem(Pendant_Of_Guardian, 1); + getexp(400000, 400000); + close(); } else { - mes "[Loki]"; - mes "I'll be staying here for a while."; - mes "We may meet again."; - next; - mes "[Loki]"; - mes "The day when Morroc reveals his despicable nature..."; - mes "I will be waiting for him."; - close; + mes("[Loki]"); + mes("I'll be staying here for a while."); + mes("We may meet again."); + next(); + mes("[Loki]"); + mes("The day when Morroc reveals his despicable nature..."); + mes("I will be waiting for him."); + close(); } } @@ -937,98 +992,98 @@ mora,48,152,3 script Sharp Eyed Man 4_M_ROKI2,{ 1@mist,1,1,0 script #Mist Mobs Respawn1 CLEAR_NPC,{ end; OnInstanceInit: - monster instance_mapname("1@mist"),0,0,"Miming",2137,15,instance_npcname("#Mist Mobs Respawn1")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 0, 0, _("Miming"), MIMING, 15, instance_npcname("#Mist Mobs Respawn1")+"::OnMyMobDead"); end; OnMyMobDead: .@map$ = instance_mapname("1@mist"); - .@num_mobs = 15 - mobcount(.@map$,instance_npcname("#Mist Mobs Respawn1")+"::OnMyMobDead"); + .@num_mobs = 15 - mobcount(.@map$, instance_npcname("#Mist Mobs Respawn1")+"::OnMyMobDead"); if (.@num_mobs > 0) - monster .@map$,0,0,"Miming",2137,.@num_mobs,instance_npcname("#Mist Mobs Respawn1")+"::OnMyMobDead"; + monster(.@map$, 0, 0, _("Miming"), MIMING, .@num_mobs, instance_npcname("#Mist Mobs Respawn1")+"::OnMyMobDead"); end; } 1@mist,1,2,0 script #Mist Mobs Respawn2 CLEAR_NPC,{ end; OnInstanceInit: - monster instance_mapname("1@mist"),0,0,"Pom Spider",2132,35,instance_npcname("#Mist Mobs Respawn2")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 0, 0, _("Pom Spider"), POM_SPIDER, 35, instance_npcname("#Mist Mobs Respawn2")+"::OnMyMobDead"); end; OnMyMobDead: .@map$ = instance_mapname("1@mist"); - .@num_mobs = 35 - mobcount(.@map$,instance_npcname("#Mist Mobs Respawn2")+"::OnMyMobDead"); + .@num_mobs = 35 - mobcount(.@map$, instance_npcname("#Mist Mobs Respawn2")+"::OnMyMobDead"); if (.@num_mobs > 0) - monster .@map$,0,0,"Pom Spider",2132,.@num_mobs,instance_npcname("#Mist Mobs Respawn2")+"::OnMyMobDead"; + monster(.@map$, 0, 0, _("Pom Spider"), POM_SPIDER, .@num_mobs, instance_npcname("#Mist Mobs Respawn2")+"::OnMyMobDead"); end; } 1@mist,1,3,0 script #Mist Mobs Respawn3 CLEAR_NPC,{ end; OnInstanceInit: - monster instance_mapname("1@mist"),0,0,"Angra Mantis",2133,35,instance_npcname("#Mist Mobs Respawn3")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 0, 0, _("Angra Mantis"), ANGRA_MANTIS, 35, instance_npcname("#Mist Mobs Respawn3")+"::OnMyMobDead"); end; OnMyMobDead: .@map$ = instance_mapname("1@mist"); - .@num_mobs = 35 - mobcount(.@map$,instance_npcname("#Mist Mobs Respawn3")+"::OnMyMobDead"); + .@num_mobs = 35 - mobcount(.@map$, instance_npcname("#Mist Mobs Respawn3")+"::OnMyMobDead"); if (.@num_mobs > 0) - monster .@map$,0,0,"Angra Mantis",2133,.@num_mobs,instance_npcname("#Mist Mobs Respawn3")+"::OnMyMobDead"; + monster(.@map$, 0, 0, _("Angra Mantis"), ANGRA_MANTIS, .@num_mobs, instance_npcname("#Mist Mobs Respawn3")+"::OnMyMobDead"); end; } 1@mist,1,4,0 script #Mist Mobs Respawn4 CLEAR_NPC,{ end; OnInstanceInit: - monster instance_mapname("1@mist"),0,0,"Parus",2134,35,instance_npcname("#Mist Mobs Respawn4")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 0, 0, _("Parus"), PARUS, 35, instance_npcname("#Mist Mobs Respawn4")+"::OnMyMobDead"); end; OnMyMobDead: .@map$ = instance_mapname("1@mist"); - .@num_mobs = 35 - mobcount(.@map$,instance_npcname("#Mist Mobs Respawn4")+"::OnMyMobDead"); + .@num_mobs = 35 - mobcount(.@map$, instance_npcname("#Mist Mobs Respawn4")+"::OnMyMobDead"); if (.@num_mobs > 0) - monster .@map$,0,0,"Parus",2134,.@num_mobs,instance_npcname("#Mist Mobs Respawn4")+"::OnMyMobDead"; + monster(.@map$, 0, 0, _("Parus"), PARUS, .@num_mobs, instance_npcname("#Mist Mobs Respawn4")+"::OnMyMobDead"); end; } 1@mist,1,5,0 script #Mist Mobs Respawn5 CLEAR_NPC,{ end; OnInstanceInit: - monster instance_mapname("1@mist"),0,0,"Little Fatum",2136,15,instance_npcname("#Mist Mobs Respawn5")+"::OnMyMobDead"; + monster(instance_mapname("1@mist"), 0, 0, _("Little Fatum"), LITTLE_FATUM, 15, instance_npcname("#Mist Mobs Respawn5")+"::OnMyMobDead"); end; OnMyMobDead: .@map$ = instance_mapname("1@mist"); - .@num_mobs = 15 - mobcount(.@map$,instance_npcname("#Mist Mobs Respawn5")+"::OnMyMobDead"); + .@num_mobs = 15 - mobcount(.@map$, instance_npcname("#Mist Mobs Respawn5")+"::OnMyMobDead"); if (.@num_mobs > 0) - monster .@map$,0,0,"Little Fatum",2136,.@num_mobs,instance_npcname("#Mist Mobs Respawn5")+"::OnMyMobDead"; + monster(.@map$, 0, 0, _("Little Fatum"), LITTLE_FATUM, .@num_mobs, instance_npcname("#Mist Mobs Respawn5")+"::OnMyMobDead"); end; } 1@mist,1,6,0 script #Fragments of Memory CLEAR_NPC,{ end; OnInstanceInit: - disablenpc instance_npcname("#Fragments of Memory"); - monster instance_mapname("1@mist"),0,0,"Guardian's Fragments of Memory",2138,15; + disablenpc(instance_npcname("#Fragments of Memory")); + monster(instance_mapname("1@mist"), 0, 0, _("Guardian's Fragments of Memory"), NYDHOG_MEMORY1_1, 15); end; } //== Warp Portals ========================================== bif_fild01,38,374,0 script Mysterious Flower#ep14_1 CLEAR_NPC,{ - mes "It's a giant flower with mysterious energy."; + mes("It's a giant flower with mysterious energy."); if (countitem(Mysterious_Seed)) { - mes "It's reacting to the Mysterious Flower Seeds you have with you."; - next; + mes("It's reacting to the Mysterious Flower Seeds you have with you."); + next(); switch(select("Observe the reaction.", "Stop the reaction.")) { case 1: - mes "The flower started to shake violently"; - mes "and swing forward as if trying to send the seeds as far away as possible!!!"; - close2; - delitem Mysterious_Seed,1; - warp "bif_fild02",160,230; + mes("The flower started to shake violently"); + mes("and swing forward as if trying to send the seeds as far away as possible!!!"); + close2(); + delitem(Mysterious_Seed, 1); + warp("bif_fild02", 160, 230); end; case 2: - mes "As you hold onto the Mysterious Flower Seeds tightly,"; - mes "the flower shook violently and then became calm again."; - close; + mes("As you hold onto the Mysterious Flower Seeds tightly,"); + mes("the flower shook violently and then became calm again."); + close(); } } - mes "It looks like it has some special use, but you're not sure what."; - close; + mes("It looks like it has some special use, but you're not sure what."); + close(); } 1@mist,104,23,0 warp #to_bif01 1,1,bif_fild01,160,352 @@ -1036,9 +1091,9 @@ bif_fild01,38,374,0 script Mysterious Flower#ep14_1 CLEAR_NPC,{ 1@mist,109,70,0 script a1_a2 WARPNPC,1,1,{ end; OnTouch: - if (!questprogress(7211,PLAYTIME)) - setquest 7211; - warp instance_mapname("1@mist"),116,40; + if (!questprogress(7211, PLAYTIME)) + setquest(7211); + warp(instance_mapname("1@mist"), 116, 40); end; } @@ -1140,21 +1195,21 @@ OnTouch: 1@mist,1,1,0 script #mist_warp_init CLEAR_NPC,{ end; OnInstanceInit: - disablenpc instance_npcname("a25_a18-1"); - disablenpc instance_npcname("a27-2_af1-2"); - disablenpc instance_npcname("a15-2_a4-1"); - disablenpc instance_npcname("a4-2_a11"); - disablenpc instance_npcname("b4-2_b2"); - disablenpc instance_npcname("b7_bf1-2"); - disablenpc instance_npcname("b31_b16"); - disablenpc instance_npcname("b27-3_bN-1"); - disablenpc instance_npcname("b6-1_b33"); - disablenpc instance_npcname("b5_b14"); - disablenpc instance_npcname("c1_c13-1"); - disablenpc instance_npcname("c13-3_c4"); - disablenpc instance_npcname("c19_c4"); - disablenpc instance_npcname("#to_bif02"); - disablenpc instance_npcname("#mist_warp_init"); + disablenpc(instance_npcname("a25_a18-1")); + disablenpc(instance_npcname("a27-2_af1-2")); + disablenpc(instance_npcname("a15-2_a4-1")); + disablenpc(instance_npcname("a4-2_a11")); + disablenpc(instance_npcname("b4-2_b2")); + disablenpc(instance_npcname("b7_bf1-2")); + disablenpc(instance_npcname("b31_b16")); + disablenpc(instance_npcname("b27-3_bN-1")); + disablenpc(instance_npcname("b6-1_b33")); + disablenpc(instance_npcname("b5_b14")); + disablenpc(instance_npcname("c1_c13-1")); + disablenpc(instance_npcname("c13-3_c4")); + disablenpc(instance_npcname("c19_c4")); + disablenpc(instance_npcname("#to_bif02")); + disablenpc(instance_npcname("#mist_warp_init")); end; } 1@mist,247,123,0 warp a25_a18-1 1,1,1@mist,164,66 //Tom |