From 5d5a220dff21afde34aa8e0fccd9fb76de294a9e Mon Sep 17 00:00:00 2001 From: Wombat Date: Wed, 1 Sep 2010 14:17:20 -0400 Subject: Data for new 11-6 map New 11-6 map, its warps and related changes --- npc/_import.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'npc/_import.txt') diff --git a/npc/_import.txt b/npc/_import.txt index 3639d180..f74feeb2 100644 --- a/npc/_import.txt +++ b/npc/_import.txt @@ -24,6 +24,7 @@ import: npc/011-1_Woodland/_import.txt import: npc/011-3_Hermits_cave/_import.txt import: npc/011-4_Lake_cave/_import.txt import: npc/011-5/_import.txt +import: npc/011-6/_import.txt import: npc/012-1_Woodland_Hills/_import.txt import: npc/012-3_Cave/_import.txt import: npc/012-4_Cave/_import.txt -- cgit v1.2.3-70-g09d2 From 53bb3103e3a82c4f95b01b62449a0cec616871d5 Mon Sep 17 00:00:00 2001 From: Wombat Date: Mon, 25 Oct 2010 13:43:50 -0400 Subject: Added Orum quest and some files created via automapping Orum quest on 009-4 and files created from converting 012-4.tmx --- data/009-4.wlk | Bin 0 -> 25604 bytes data/012-4.wlk | Bin 109204 -> 109204 bytes data/resnametable.txt | 1 + db/item_db.txt | 3 + npc/009-4/_import.txt | 7 + npc/009-4/_mobs.txt | 29 +++ npc/009-4/_warps.txt | 46 ++++ npc/009-4/barriers.txt | 228 +++++++++++++++++++ npc/009-4/orum.txt | 607 +++++++++++++++++++++++++++++++++++++++++++++++++ npc/009-4/torches.txt | 357 +++++++++++++++++++++++++++++ npc/009-4/waric.txt | 91 ++++++++ npc/_import.txt | 1 + 12 files changed, 1370 insertions(+) create mode 100644 data/009-4.wlk create mode 100644 npc/009-4/_import.txt create mode 100644 npc/009-4/_mobs.txt create mode 100644 npc/009-4/_warps.txt create mode 100644 npc/009-4/barriers.txt create mode 100644 npc/009-4/orum.txt create mode 100644 npc/009-4/torches.txt create mode 100644 npc/009-4/waric.txt (limited to 'npc/_import.txt') diff --git a/data/009-4.wlk b/data/009-4.wlk new file mode 100644 index 00000000..5044671d Binary files /dev/null and b/data/009-4.wlk differ diff --git a/data/012-4.wlk b/data/012-4.wlk index affeafe9..31fcf7de 100644 Binary files a/data/012-4.wlk and b/data/012-4.wlk differ diff --git a/data/resnametable.txt b/data/resnametable.txt index e015f45a..3d45f566 100644 --- a/data/resnametable.txt +++ b/data/resnametable.txt @@ -19,6 +19,7 @@ 009-1.gat#009-1.wlk# 009-2.gat#009-2.wlk# 009-3.gat#009-3.wlk# +009-4.gat#009-4.wlk# 010-1.gat#010-1.wlk# 010-2.gat#010-2.wlk# 011-1.gat#011-1.wlk# diff --git a/db/item_db.txt b/db/item_db.txt index ce1d414e..c31395a8 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -531,3 +531,6 @@ 4014, RingSimple, Simple Ring, 5, 5000, 2500, 1, , 0, , 0, 0, 2, 128, , 0, 0, {}, {} 4015, IngotIron, Iron Ingot, 3, 500, 250, 200, , , , , , , , , , , {}, {} 4016, BanditHood, Bandit Hood, 3, 100, 50, 50, , , , , , , , , , , {}, {} +4017, RedPowder, Red Powder, 3, 3000, 5, 10, , , , , , 0, , , 0, , {}, {} +4018, YellowPowder, Yellow Powder, 3, 3000, 5, 10, , , , , , 0, , , 0, , {}, {} +4019, BluePowder, Blue Powder, 3, 3000, 5, 10, , , , , , 0, , , 0, , {}, {} diff --git a/npc/009-4/_import.txt b/npc/009-4/_import.txt new file mode 100644 index 00000000..0af62468 --- /dev/null +++ b/npc/009-4/_import.txt @@ -0,0 +1,7 @@ +map: 009-4.gat +npc: npc/009-4/_mobs.txt +npc: npc/009-4/_warps.txt +npc: npc/009-4/barriers.txt +npc: npc/009-4/orum.txt +npc: npc/009-4/torches.txt +npc: npc/009-4/waric.txt diff --git a/npc/009-4/_mobs.txt b/npc/009-4/_mobs.txt new file mode 100644 index 00000000..df580666 --- /dev/null +++ b/npc/009-4/_mobs.txt @@ -0,0 +1,29 @@ +// 009-4 Cave mobs + +// Cavern +009-4.gat,107,88,19,28 monster Silkworm 1035,3,20000,14000,Mob009-4::OnSilkworm +009-4.gat,107,88,19,28 monster Cave Snake 1021,5,20000,14000,Mob009-4::OnCaveSnake + +009-4.gat,119,45,5,3 monster Silkworm 1035,3,20000,14000,Mob009-4::OnSilkworm +009-4.gat,103,28,6,4 monster Cave Snake 1021,3,20000,14000,Mob009-4::OnCaveSnake +009-4.gat,103,28,6,4 monster Silkworm 1035,2,20000,14000,Mob009-4::OnSilkworm + +009-4.gat,36,117,4,4 monster Maggot 1002,3,20000,14000,Mob009-4::OnMaggot +009-4.gat,71,130,4,4 monster Maggot 1002,3,20000,14000,Mob009-4::OnMaggot + +009-4.gat,0,0,0 script Mob009-4 -1,{ +OnCaveSnake: + set @mobID, 1021; + callfunc "MobPoints"; + break; +OnMaggot: + set @mobID, 1002; + callfunc "MobPoints"; + break; +OnSilkworm: + set @mobID, 1035; + callfunc "MobPoints"; + break; + + end; +} \ No newline at end of file diff --git a/npc/009-4/_warps.txt b/npc/009-4/_warps.txt new file mode 100644 index 00000000..37edd8a7 --- /dev/null +++ b/npc/009-4/_warps.txt @@ -0,0 +1,46 @@ +// 009-4 Cave Warps + +// Entrances +009-4.gat,37,112 warp to Outside -1,-1,009-3.gat,162,114 +009-4.gat,37,123 warp to Lair -1,-1,009-4.gat,36,27 + +009-4.gat,72,125 warp to Outside -1,-1,009-3.gat,162,114 +009-4.gat,72,136 warp to Lair -1,-1,009-4.gat,36,27 + +// Caverns +009-4.gat,103,22 warp to Lair -1,-1,009-4.gat,51,46 +009-4.gat,103,76 warp to Lair -1,-1,009-4.gat,51,46 + +009-3.gat,162,113,0 script #OrumQuestEnter 0,0,0,{ + if (OrumQuest >= 12) goto L_Second_Entrance; + warp "009-4.gat", 37, 113; + close; + +L_Second_Entrance: + warp "009-4.gat", 72, 126; + close; +} +009-4.gat,36,26,0 script #LairExit 0,0,0,{ + if (OrumQuest >= 12) goto L_Second_Entrance; + warp "009-4.gat", 37, 122; + close; + +L_Second_Entrance: + warp "009-4.gat", 72, 135; + close; +} + +009-4.gat,51,47,0 script #CavernEnter 0,0,0,{ + if (OrumQuest >= 14) goto L_Second_Cavern; + if (OrumQuest < 12) goto L_See_Orum; + warp "009-4.gat", 103, 23; + close; + +L_Second_Cavern: + warp "009-4.gat", 103, 77; + close; + +L_See_Orum: + mes "Right as you are entering you hear Orum call out for you.. Perhaps you should see what he wants first.."; + close; +} \ No newline at end of file diff --git a/npc/009-4/barriers.txt b/npc/009-4/barriers.txt new file mode 100644 index 00000000..7dcb0b34 --- /dev/null +++ b/npc/009-4/barriers.txt @@ -0,0 +1,228 @@ +function script GetBarrierColor { + if (@Barrier < 0 || @Barrier > 2) goto L_Error; + + set @Mask, 15; + set @Shift, 4 * @Barrier; + set @BarrierColor, (OrumQuestBarrier >> @Shift) & @Mask; + return; + +L_Error: + mes "Barrier number is out of range."; + close; +} + +function script SetBarrierColor { + if (@Barrier < 0 || @Barrier > 2) goto L_Error; + if (@Color < 0 || @Color > 12) goto L_Error2; + + set @Mask, (15 << (4 * @Barrier)); + set OrumQuestBarrier, (OrumQuestBarrier & (~(@Mask))) | @Color << (4 * @Barrier); + return; + +L_Error: + mes "Barrier number is out of range."; + close; + +L_Error2: + mes "Barrier color is out of range."; + close; +} + + +// Starting Barrier / Quest Entrance +009-4.gat,37,120,0 script #OrumCaveStartBarrier 0,1,0,{ + + if (OrumQuest >= 3) close; + if (OrumQuest == 2) goto L_Started; + + warp "009-4.gat", 37, 118; + mes "As you try to pass, two torches begin to flare and push you back. They seem to form some kind of barrier.."; + close; + +L_Started: + message strcharinfo(0), "The torches dim as you approach, granting you passage."; + set OrumQuest, 3; + close; +} + +// First Barrier +009-4.gat,57,29,0 script #OrumCaveFirstBarrier 0,1,0,{ + + if (OrumQuest >= 5) close; + + message strcharinfo(0), "Nothing seems to happen as you enter this room.. The barrier must need both of its torches to function properly.."; + set OrumQuest, 5; + close; +} + +// Second Barrier +009-4.gat,61,54,0 script #OrumCaveSecondBarrier 0,1,0,{ + + if (OrumQuest == 3) set OrumQuest, 4; + + set @Barrier, 0; + callfunc("GetBarrierColor"); + set @Torch, 0; + callfunc("GetTorchColor"); + if (OrumQuest > 7 && @TorchColor == @BarrierColor) goto L_Allow_Second_Passage; + + warp "009-4.gat", 61, 56; + mes "As you try to pass, the torches begin to flare and push you back. Perhaps there's a way to get past it.."; + mes ""; + setarray @colors$,"transparent","red","dark orange","orange","light orange","yellow","light green","green","dark green","blue","dark purple","purple","light purple"; + mes "Looking closely between the two torches you can see the barrier has a " + @colors$[@BarrierColor] + " tint to it.."; + close; + +L_Allow_Second_Passage: + if (OrumQuest < 9) goto L_Advance_Quest; + close; + +L_Advance_Quest: + message strcharinfo(0), "The torches dim as you enter like the first. You must be on the right trail.."; + set OrumQuest, 9; + close; +} + +// Third Barrier +009-4.gat,24,66,0 script #OrumCaveThirdBarrier 0,1,0,{ + + if (OrumQuest == 3) set OrumQuest, 4; + + set @Barrier, 1; + callfunc("GetBarrierColor"); + + set @Torch, 0; + callfunc("GetTorchColor"); + set @Torch1Color, @TorchColor; + + set @Torch, 1; + callfunc("GetTorchColor"); + set @Torch2Color, @TorchColor; + + set @firstColor, @BarrierColor - 2; + set @secondColor, @BarrierColor + 2; + if (@firstColor < 1) set @firstColor, 12; + if (@secondColor > 12) set @secondColor, 1; + + if (OrumQuest > 8 && @Torch1Color == @firstColor && @Torch2Color == @secondColor) + goto L_Allow_Third_Passage; + if (OrumQuest > 8 && @Torch2Color == @firstColor && @Torch1Color == @secondColor) + goto L_Allow_Third_Passage; + + warp "009-4.gat", 24, 64; + mes "As you try to pass, the torches begin to flare and push you back. Perhaps there is a way to get past it.."; + mes ""; + setarray @colors$,"transparent","red","dark orange","orange","light orange","yellow","light green","green","dark green","blue","dark purple","purple","light purple"; + mes "Looking closely between the two torches you can see the barrier has a " + @colors$[@BarrierColor] + " tint to it.."; + close; + +L_Allow_Third_Passage: +if (OrumQuest < 10) goto L_Advance_Quest; + close; + +L_Advance_Quest: + set OrumQuest, 10; + close; +} + +// Ending Barrier +009-4.gat,48,38,0 script #OrumCaveEndBarrier 0,1,0,{ + + if (OrumQuest >= 11) close; + if (OrumQuest == 3) set OrumQuest, 4; + + set @Barrier, 2; + callfunc("GetBarrierColor"); + + if (OrumQuest < 10) goto L_Deny_Final_Passage; + + set @Torch, 0; + callfunc("GetTorchColor"); + set @Torch1Color, @TorchColor; + + set @Torch, 1; + callfunc("GetTorchColor"); + set @Torch2Color, @TorchColor; + + set @Torch, 2; + callfunc("GetTorchColor"); + set @Torch3Color, @TorchColor; + + // Extract the secondary color + set @secondary, @BarrierColor - 1; + if (@secondary != 3 && @secondary != 7 && @secondary != 11) + set @secondary, @BarrierColor + 1; + + // Make sure it's in bounds + if (@secondary > 12) set @secondary, 1; + if (@secondary < 1) set @secondary, 12; + + // Extract first 2 required colors + set @firstColor, @secondary - 2; + set @secondColor, @secondary + 2; + if (@firstColor > 12) set @firstColor, 1; + if (@firstColor < 1) set @firstColor, 12; + if (@secondColor > 12) set @secondColor, 1; + if (@secondColor < 1) set @secondColor, 12; + + set @thirdColor, 12; + set @offsetOne, @BarrierColor + 1; + set @offsetTwo, @BarrierColor - 1; + + // Make sure they in bounds + if (@offsetOne > 12) set @offsetOne, 1; + if (@offsetOne < 1) set @offsetOne, 12; + if (@offsetTwo > 12) set @offsetTwo, 1; + if (@offsetTwo < 1) set @offsetTwo, 12; + + // Extract third needed color + if (@secondary == @offsetOne) + set @thirdColor, @firstColor; + if (@secondary == @offsetTwo) + set @thirdColor, @secondColor; + + set @firstDone, 0; + set @secondDone, 0; + set @thirdDone, 0; + + if (@firstDone == 0 && @secondDone != 1 && @thirdDone != 1 && @Torch1Color == @firstColor) + set @firstDone, 1; + if (@firstDone != 1 && @secondDone == 0 && @thirdDone != 1 && @Torch1Color == @secondColor) + set @secondDone, 1; + if (@firstDone != 1 && @secondDone != 1 && @thirdDone == 0 && @Torch1Color == @thirdColor) + set @thirdDone, 1; + + if (@firstDone == 0 && @secondDone != 2 && @thirdDone != 2 && @Torch2Color == @firstColor) + set @firstDone, 2; + if (@firstDone != 2 && @secondDone == 0 && @thirdDone != 2 && @Torch2Color == @secondColor) + set @secondDone, 2; + if (@firstDone != 2 && @secondDone != 2 && @thirdDone == 0 && @Torch2Color == @thirdColor) + set @thirdDone, 2; + + if (@firstDone == 0 && @secondDone != 3 && @thirdDone != 3 && @Torch3Color == @firstColor) + set @firstDone, 3; + if (@firstDone != 3 && @secondDone == 0 && @thirdDone != 3 && @Torch3Color == @secondColor) + set @secondDone, 3; + if (@firstDone != 3 && @secondDone != 3 && @thirdDone == 0 && @Torch3Color == @thirdColor) + set @thirdDone, 3; + + if (@firstDone != 0 && @secondDone != 0 && @thirdDone != 0) goto L_Allow_Final_Passage; + goto L_Deny_Final_Passage; + +L_Deny_Final_Passage: + warp "009-4.gat", 48, 36; + mes "As you try to pass, the torches begin to flare and push you back. Perhaps there is a way to get past it.."; + mes ""; + setarray @colors$,"transparent","red","dark orange","orange","light orange","yellow","light green","green","dark green","blue","dark purple","purple","light purple"; + mes "Looking closely between the two torches you can see the barrier has a " + @colors$[@BarrierColor] + " tint to it.."; + close; + +L_Allow_Final_Passage: + if (OrumQuest < 11) goto L_Advance_Quest; + close; + +L_Advance_Quest: + message strcharinfo(0), "The torches dim as you enter. At last you finally have access!"; + set OrumQuest, 11; + close; +} diff --git a/npc/009-4/orum.txt b/npc/009-4/orum.txt new file mode 100644 index 00000000..a90d65a8 --- /dev/null +++ b/npc/009-4/orum.txt @@ -0,0 +1,607 @@ +//********************************************** +//** Orum/Waric Quest Part 1 - By Liana ** +//********************************************** + +009-4.gat,37,115,0 script Orum 158,{ + if (OrumQuest > 0) goto L_Started; + + mes "[Orum]"; + mes "\"It's not wise to venture around this place! Well hmm.. I guess since you're here, maybe you can lend a little help?\""; + next; + + menu + "What exactly is 'this place'?", L_Explain, + "Umm.. what kind of help?", L_Explain, + "You're right, I'll be on my way.", -; + + mes "[Orum]"; + mes "\"Very smart thinking!\""; + close; + +L_Explain: + mes "[Orum]"; + mes "\"Recently a woman claiming to be a witch came to my village seeking help from my mentor Woric, who is a very powerful wizard, but he refused and she left. But..\""; + next; + + mes "[Orum]"; + mes "\"The next day he went missing! I'm no wizard yet, but from what I overheard.. I think that witch is attempting some very foul magic and has kidnapped him for some reason!\""; + next; + + mes "[Orum]"; + mes "\"I traveled in the direction she left until I came accross this cave, but it appears to be protected by some type of magical barrier and I haven't been able to get further than this room.\""; + next; + + menu + "So where would I come in?", L_Explain_Barriers, + "I'd like to help but I have to go..", -; + + mes "[Orum]"; + mes "\"Thats too bad.. well if you ever have some free time I probably won't figure this out any time soon.\""; + close; + +L_Explain_Barriers: + mes "[Orum]"; + mes "\"I've examined this room and it appears that the barrier is made up of two torches on each side. The flame on them has a strange glow.. They must be inbued with magical properties.\""; + next; + + mes "[Orum]"; + mes "\"I've never come across anything like this barrier before.. It must be drawing it's power from the torches. I tried putting them out with conventional means but I had no luck..\""; + next; + + menu + "Have any other ideas on how we get past it?", L_Explain_Note, + "I think its meant to keep us out.. bye.", -; + + mes "[Orum]"; + mes "\"You may be right.. but she kidnapped Woric. I know it! So I must do something! If you ever change your mind I could sure use the help.\""; + close; + +L_Explain_Note: + mes "[Orum]"; + mes "\"Actually! After Woric went missing I looked around at his house a bit and came across a note the witch must have dropped. I skimmed over it and didn't pay much attention but I think it mentioned something about this barrier!\""; + next; + + mes "He pulls it out of his pocket and begins examining it.."; + next; + + mes "[Orum]"; + mes "\"Ah! Here it is! If I'm reading this right we may have found a way past it after all.. I guess she would need a way to come and go unaffected while everyone else is kept from entering.\""; + next; + + menu + "What does it say??", L_Explain_Aura, + "Looks like you can do this without me.", -; + + mes "[Orum]"; + mes "\"Eh... well I guess I can't force you to stay..\""; + close; + +L_Explain_Aura: + mes "[Orum]"; + mes "\"Appears to be some kind of spell to place a magical aura around someone... Hmm, with these materials listed on here I'm going to guess this aura makes the wearer partly incorporeal..\""; + next; + + mes "[Orum]"; + mes "\"It looks like the barrier requires substances from 3 different incorporeal creatures.. I've heard of Wisps, Poltergeists, and Spectres before but I've never seen such a thing.\""; + next; + + mes "[Orum]"; + mes "\"Luckily I happen to be skilled in this field of magic! I'm pretty sure if I can get my hands on the materials listed on here I'll be able to cast this aura on us, and hopefully then we can get past this barrier!\""; + next; + + menu + "Let me guess.. that is my job?", L_Offer_Quest, + "I think someone is calling me.. Bye", -; + close; + +L_Offer_Quest: + mes "[Orum]"; + mes "\"Well you would probably do better than me since I don't know this area very well.. It's not too much stuff so I'm sure you won't have any trouble at all.\""; + next; + + menu + "Alright alright, just give me a list.", L_Start_Quest, + "I'm not your servant! Bye.", -; + + mes "[Orum]"; + mes "\"Everyone answers to someone.. that's just how the world is. If you ever change your mind I'll probably be here forever gathering these materials on my own..\""; + close; + +L_Start_Quest: + mes "He pulls a crumpled peice of paper from his pocket, smooths it out and writes a list on it before handing it to you.."; + next; + + mes "4 Wisp Powders,"; + mes "2 Poltergeist Powders,"; + mes "1 Spectre Powders,"; + mes "2 Hard Spikes"; + next; + + menu + "Alright, I'll go get these.", L_Start_Gathering, + "You can forget it! I quit!", -; + + mes "[Orum]"; + mes "\"I know you'll be back... they always come back!\""; + close; + +L_Start_Gathering: + mes "[Orum]"; + mes "\"That's the spirit! But try not to take too long.\""; + set OrumQuest, 1; + close; + +L_Started: + if (OrumQuest == 1) goto L_Gathering; + if (OrumQuest == 2) goto L_Use_First_Barrier; + if (OrumQuest == 3) goto L_Explore; + if (OrumQuest == 4) goto L_Found_Barriers; + if (OrumQuest == 5) goto L_Found_Barriers; + if (OrumQuest == 6) goto L_Found_Torches; + if (OrumQuest == 7) goto L_Still_Gathering; + if (OrumQuest == 8) goto L_Finish_Up; + if (OrumQuest >= 9) goto L_Finished_Up; + close; + +L_Gathering: + mes "[Orum]"; + mes "\"Got all the things I asked for yet?\""; + next; + + menu + "Yep I have every last one of them!", L_Check_Materials, + "Can I get another list?", L_List_Materials, + "I still need a few things..", -; + + mes "Orum shakes his head in frustration.."; + next; + + mes "[Orum]"; + mes "\"You'd better get that stuff soon!\""; + close; + +L_List_Materials: + mes "He scavenges around in his pocket for another peice of paper then writes a new list.."; + next; + + mes "4 Wisp Powders,"; + mes "2 Poltergeist Powders,"; + mes "1 Spectre Powders,"; + mes "2 Hard Spikes"; + next; + + mes "[Orum]"; + mes "\"And try not to lose this one.. I'm running out of stuff to write on!\""; + close; + +L_Check_Materials: + if (countitem("WispPowder") < 4 || + countitem("PoltergeistPowder") < 2 || + countitem("SpectrePowder") < 1 || + countitem("HardSpike") < 2) goto L_Missing_Materials; + + mes "Orum carefully looks over all of the items then grins.."; + next; + + mes "[Orum]"; + mes "\"Well done! And you did not even take as long as I thought you would!\""; + next; + + mes "Orum takes the hard spikes in his hand and begins chanting some words.."; + next; + + mes "You watch as they begin mold together glowing brightly. He sprinkles in the powder you gathered and presses his hands together."; + delitem "WispPowder", 4; + delitem "PoltergeistPowder", 2; + delitem "SpectrePowder", 1; + delitem "HardSpike", 2; + misceffect sfx_magic_transmute; + next; + + mes "Suddenly a feeling of dizzyness hits you and you begin to feel weightless.. It passes after a moment.."; + misceffect sfx_magic_nature; + misceffect 11, strcharinfo(0); + next; + + mes "[Orum]"; + mes "\"Well we are both still in one peice so that is a good sign! Now we'll have to see if I did it right.. mind going first?\""; + goto L_Setup_Lair; + close; + +L_Missing_Materials: + mes "Orum carefully looks over all of the items then squints his eyes at you.."; + next; + + mes "[Orum]"; + mes "\"I'm not going to attempt this spell until I have ALL the items on this note.. Go gather the missing materials!\""; + close; + +L_Setup_Lair: + set OrumQuest, 2; + + // Second Barrier + set @temp, rand(1,6); + set @Color, 1; + if (@temp == 1 || @temp == 4) set @Color, 1; + if (@temp == 2 || @temp == 5) set @Color, 5; + if (@temp == 3 || @temp == 6) set @Color, 9; + set @Barrier, 0; + callfunc("SetBarrierColor"); + + set @Torch, 0; + set @Color, rand(1, 12); + set @Intensity, 0; + callfunc("SetTorchColor"); + callfunc("SetTorchIntensity"); + + // Third Barrier + set @temp, rand(1,6); + set @Color, 3; + if (@temp == 1 || @temp == 4) set @Color, 3; + if (@temp == 2 || @temp == 5) set @Color, 7; + if (@temp == 3 || @temp == 6) set @Color, 11; + set @Barrier, 1; + callfunc("SetBarrierColor"); + + set @Torch, 1; + set @Color, rand(1, 12); + callfunc("SetTorchColor"); + callfunc("SetTorchIntensity"); + + // End Barrier + set @temp, rand(1,12); + set @Color, 2; + if (@temp == 1 || @temp == 7) set @Color, 2; + if (@temp == 2 || @temp == 8) set @Color, 4; + if (@temp == 3 || @temp == 9) set @Color, 6; + if (@temp == 4 || @temp == 10) set @Color, 8; + if (@temp == 5 || @temp == 11) set @Color, 10; + if (@temp == 6 || @temp == 12) set @Color, 12; + set @Barrier, 2; + callfunc("SetBarrierColor"); + + set @Torch, 2; + set @Color, rand(1, 12); + callfunc("SetTorchColor"); + callfunc("SetTorchIntensity"); + close; + +L_Use_First_Barrier: + mes "[Orum]"; + mes "\"Casting that aura took a lot out of me.. Why don't you go explore the cave a bit while I rest?\""; + close; + +L_Explore: + mes "Orum looks up as you approach.."; + next; + + mes "[Orum]"; + mes "\"Find anything interesting in this place?\""; + next; + + menu + "Yep.. a whole mess of torches!", L_Explain_Objective, + "I'm not sure what to look for..", L_Explain_Objective, + "Going to explore more, bye.", -; + + mes "[Orum]"; + mes "\"Be sure to let me know if you find anything. I've almost gained my energy back.\""; + close; + +L_Explain_Objective: + mes "[Orum]"; + mes "\"I'm positive this is where that witch took Woric, so this cave must lead to somewhere. Try looking around for another exit. I've almost gained my energy back and then I can help.\""; + close; + +L_Found_Barriers: + mes "Orum looks up as you approach.."; + next; + + mes "[Orum]"; + mes "\"Find anything interesting in this place?\""; + next; + + menu + "Yep.. a whole mess of torches!", L_Explain_Objective, + "I'm not sure what to look for..", L_Explain_Objective, + "I found more barriers.. but..", L_Explain_Barriers_More, + "Going to explore more, bye.", -; + + mes "[Orum]"; + mes "\"Be sure to let me know if you find anything. I'm still gaining my energy back.\""; + close; + +L_Explain_Barriers_More: + mes "[Orum]"; + mes "\"Hm let me guess.. the aura is ineffective on the rest of the barriers here?\""; + next; + + menu + "How did you know..?", L_Explain_Note_More, + "I'm not sure, I'll go try again.", -; + + mes "[Orum]"; + mes "\"Always a good idea to double check things!\""; + close; + +L_Explain_Note_More: + mes "[Orum]"; + mes "\"Well while I was resting I spent more time looking over the note that witch dropped.. And I think the aura is only to get past the entrance..\""; + next; + + mes "[Orum]"; + mes "\"It mentions some sort of security system to keep people from entering the actual lair but it doesn't explain in great detail. Try exploring more maybe we will find some answers.\""; + next; + + mes "Orum continues examining the note.."; + close; + +L_Found_Torches: + mes "Orum looks up as you approach.."; + next; + + mes "[Orum]"; + mes "\"Find something interesting?\""; + next; + + menu + "Yep.. a whole mess of torches!", L_Explain_Objective, + "I'm not sure what to look for..", L_Explain_Objective, + "I found more barriers.. but..", L_Explain_Barriers_More, + "I found a strange torch by itself.", L_Explain_Torches, + "Going to explore more, bye.", -; + + mes "[Orum]"; + mes "\"Be sure to let me know if you find anything new.\""; + close; + +L_Explain_Torches: + mes "Orum has you direct him to the torch and he walks off to examine it before returning shortly after.."; + next; + + mes "[Orum]"; + mes "\"Ah yes! I was hoping we would find something like this!\""; + next; + + mes "[Orum]"; + mes "\"While examining the note I found another set of spells to create some type of powder and with them was a few notes on using it with some type of torch..\""; + next; + + mes "[Orum]"; + mes "\"I'll bet this torch has something to do with the rest of these barriers which are probably the security system this note mentions.\""; + next; + + mes "[Orum]"; + mes "\"We will probably need to transmute this powder before we can get any further past these barriers.. Would you mind gathering a few more materials?\""; + next; + + menu + "It better be the last time.", L_Gather_More, + "I'm done doing stuff for you!", -; + + mes "[Orum]"; + mes "\"I'm surprised you give up after we've gotten so far.. Shame.\""; + close; + +L_Gather_More: + mes "Orum begins writing down another list of materials.."; + next; + + mes "10 Piles of Iron Powder,"; + mes "10 Piles of Sand or Ash,"; + mes "15 Gamboge Herbs,"; + mes "15 Alizarin Herbs,"; + mes "15 Cobalt herbs"; + next; + + menu + "Yikes! I'll try..", L_Gathering_More, + "No way! Too much stuff!", -; + + mes "[Orum]"; + mes "\"The note says to get these and I'm not going to attempt this spell until I have what the note says.\""; + close; + +L_Gathering_More: + set OrumQuest, 7; + mes "[Orum]"; + mes "\"Wonderful! Try to make it quick, we must save Waric!\""; + close; + +L_Still_Gathering: + mes "[Orum]"; + mes "\"Have you finished gathering those things yet?\""; + next; + + menu + "I believe I have!", L_Finished_Gathering_More, + "I lost my list.. again..", L_List_Materials_More, + "I've almost got them all..", -; + + mes "[Orum]"; + mes "\"Don't make me remind you again! Waric's life is on the line here! Hurry up!\""; + close; + +L_List_Materials_More: + mes "He scavenges around in his pocket for another peice of paper then writes a new list.."; + next; + + mes "10 Piles of Iron Powder,"; + mes "10 Piles of Sand or Ash,"; + mes "15 Gamboge Herbs,"; + mes "15 Alizarin Herbs,"; + mes "15 Cobalt herbs"; + next; + + mes "[Orum]"; + mes "\"And try not to lose this one.. I don't have much more to write on!\""; + close; + + +L_Finished_Gathering_More: + if (countitem("IronPowder") < 10 || + countitem("PileOfAsh") < 10 || + countitem("GambogeHerb") < 15 || + countitem("AlizarinHerb") < 15 || + countitem("CobaltHerb") < 15) goto L_Missing_Materials_More; + + mes "[Orum]"; + mes "\"Excellent work! And once again you did not take as long as I was expecting. I guess I will get started..\""; + next; + + delitem "IronPowder", 10; + delitem "PileOfAsh", 10; + delitem "GambogeHerb", 15; + delitem "AlizarinHerb", 15; + delitem "CobaltHerb", 15; + + mes "You watch as Orum takes the iron powder and ash and begins chanting some words.. The two start to glow and mold together turning into a light metalic looking powder.."; + next; + misceffect sfx_magic_transmute; + + mes "He then splits the powder into three piles and performs separate spells on each using the herbs. After he finishes you see 3 piles of colored metalic powder that appear to be red, yellow, and blue.."; + next; + misceffect sfx_magic_transmute; + + mes "[Orum]"; + mes "\"Well if I did it right.. These three powders are hopefully the key to getting past these barriers!\""; + next; + + mes "[Orum]"; + mes "\"I'm weary, I must take some time to rest. Why don't you go ahead and experiment with these powders on that torch and let me know if you figure what they have to do with it.\""; + + getitem "RedPowder", 10; + getitem "YellowPowder", 10; + getitem "BluePowder", 10; + set OrumQuest, 8; + close; + +L_Missing_Materials_More: + mes "Orum carefully looks over all of the items then squints his eyes at you.."; + next; + + mes "[Orum]"; + mes "\"You really enjoy playing games with Warics' life don't you! Come back when you have ALL of the items I told you.\""; + close; + +L_Finish_Up: + mes "Orum seems to be sitting around doing nothing as you approach."; + next; + + mes "[Orum]"; + mes "\"Did you find a way past any of the barriers yet?\""; + next; + + menu + "No I'm still not sure how..", L_Explain_Torches_More, + "I need more of that powder.", L_More_Powder, + "I'm still trying..", -; + + mes "[Orum]"; + mes "\"Excellent! Let me know when you've made any progress.\""; + close; + +L_Explain_Torches_More: + mes "[Orum]"; + mes "\"Most of the barriers here have a certain color radiating from them and so do the torches. The torches seem to react with this powder so maybe we have to make these torches turn a certain color in order to lower the barriers.\""; + next; + + mes "[Orum]"; + mes "\"Also while looking around I saw that behind one of the barriers was a cave. Maybe Waric is in there.. we should try to get that barrier dropped\""; + close; + +L_More_Powder: + mes "[Orum]"; + mes "\"You really used up that powder fast.. Luckily I can make more as long as you can bring me those materials again.\""; + next; + + menu + "I have them right here!", L_More_Powder_Make, + "Hmmm.. what are they again?", L_List_Materials_More, + "I'll go get those for you..", -; + + mes "[Orum]"; + mes "\"You better not waste any time gathering those materials!\""; + close; + +L_More_Powder_Make: + if (countitem("IronPowder") < 10 || + countitem("PileOfAsh") < 10 || + countitem("GambogeHerb") < 15 || + countitem("AlizarinHerb") < 15 || + countitem("CobaltHerb") < 15) goto L_Missing_Materials_More; + + mes "[Orum]"; + mes "\"Hmm all of the items appear to be here.. Give me a moment to make that powder for you.\""; + next; + + delitem "IronPowder", 10; + delitem "PileOfAsh", 10; + delitem "GambogeHerb", 15; + delitem "AlizarinHerb", 15; + delitem "CobaltHerb", 15; + + mes "Orum begins chanting the same words as he did when he made the powder before.. He seems to be quicker at it this time.."; + misceffect sfx_magic_transmute; + next; + + mes "[Orum]"; + mes "\"Here you are. And try to conserve this time! The more powder I have to make the more time and resources we use up that we could be using to save Waric!\""; + + getitem "RedPowder", 10; + getitem "YellowPowder", 10; + getitem "BluePowder", 10; + close; + +L_Finished_Up: + mes "As you approch you think you see Orum rolling his eyes.. maybe your imagining it.."; + next; + + mes "[Orum]"; + mes "\"I hope you finally dropped that barrier we need to get past!\""; + next; + + menu + "Actually.. I have!", L_Enter_Cavern, + "I need more of that powder.", L_More_Powder, + "Cut me some slack! I'm working on it!", -; + + mes "[Orum]"; + mes "\"Just hurry it up! Warics life is on the line here!\""; + close; + +L_Enter_Cavern: + if (OrumQuest >= 10) goto L_Ready_Cavern; + + mes "Orum heads to the barrier then gives you a look as if he does not believe you before walking forward.."; + next; + + mes "He is suddently thrown againt the wall behind him! Angered, he gets up, brushes himself off, and heads back to the entrance without speaking."; + close; + +L_Ready_Cavern: + mes "Orum heads to the barrier then gives you a look as if he does not believe you before walking forward.."; + next; + + mes "He makes it through without any problems and grins."; + next; + + mes "[Orum]"; + mes "\"Very good work you have done! Please take this for your efforts.\""; + next; + + mes "[Insirt reward hir]"; + next; + + mes "\"You've done enough here to help. I will go the rest of the way alone so that your life is not endangered.. You must promise me not to go any further!\""; + next; + + menu + "Sure, I promise!", -, + "I thought this would never be over!", -; + + mes "[Orum]"; + mes "\"Well I guess this is farewell!\""; + set OrumQuest, 12; + close; +} diff --git a/npc/009-4/torches.txt b/npc/009-4/torches.txt new file mode 100644 index 00000000..d08e61db --- /dev/null +++ b/npc/009-4/torches.txt @@ -0,0 +1,357 @@ +function script GetTorchColor { + if (@Torch < 0 || @Torch > 2) goto L_Error; + + set @Mask, 15; + set @Shift, 4 * @Torch; + set @TorchColor, (OrumQuestTorch >> @Shift) & @Mask; + return; + +L_Error: + mes "Torch number is out of range."; + close; +} + +function script SetTorchColor { + if (@Torch < 0 || @Torch > 2) goto L_Error; + if (@Color < 0 || @Color > 12) goto L_Error2; + + set @Mask, (15 << (4 * @Torch)); + set OrumQuestTorch, (OrumQuestTorch & (~(@Mask))) | @Color << (4 * @Torch); + return; + +L_Error: + mes "Torch number is out of range."; + close; + +L_Error2: + mes "Torch color is out of range."; + close; +} + +function script GetTorchIntensity { + if (@Torch < 0 || @Torch > 2) goto L_Error; + + set @Mask, 15; + set @Shift, 4 * (@Torch + 3); + set @TorchIntensity, (OrumQuestTorch >> @Shift) & @Mask; + return; + +L_Error: + mes "Torch number is out of range."; + close; +} + +function script SetTorchIntensity { + if (@Torch < 0 || @Torch > 2) goto L_Error; + if (@Intensity < 0 || @Intensity > 2) goto L_Error2; + + set @Mask, (15 << (4 * (@Torch + 3))); + set OrumQuestTorch, (OrumQuestTorch & (~(@Mask))) | @Intensity << (4 * (@Torch + 3)); + return; + +L_Error: + mes "Torch number is out of range."; + close; + +L_Error2: + mes "Torch intensity is out of range."; + close; +} + +function script DoneWithTorches { + if (OrumQuest < 11 && OrumQuest >= 8) + return; + + if (OrumQuest < 7) goto L_Different; + + if (OrumQuest >= 11) + mes "The flame on the torch looks ordinary.. Lowering the final barrier seems to have drained them of their magic."; + + if (OrumQuest < 8) + mes "Without that powder the note mentions there isn't much you can do with this torch.."; + + close; + +L_Different: + mes "The flame on this torch looks different than the rest.. You better tell Orum about it before doing anything."; + set OrumQuest, 6; + close; +} + +// To make sure in range of torches +function script InRangeTorch1 { + if (isin("009-4.gat",67,20,69,25)) + return; + + mes "Your too far away to do anything with that torch."; + close; +} +function script InRangeTorch2 { + if (isin("009-4.gat",65,41,69,46)) + return; + + mes "Your too far away to do anything with that torch."; + close; +} +function script InRangeTorch3 { + if (isin("009-4.gat",33,84,37,88)) + return; + + mes "Your too far away to do anything with that torch."; + close; +} + +// First Torch +009-4.gat,68,21,0 script Torch 127,{ + callfunc "InRangeTorch1"; + callfunc "DoneWithTorches"; + + set @Torch, 0; + callfunc("GetTorchColor"); + callfunc("GetTorchIntensity"); + + set @lastColor, @TorchColor; + setarray @colors$,"transparent","red","dark orange","orange","light orange","yellow","light green","green","dark green","blue","dark purple","purple","light purple"; + setarray @intensities$,"calm","bright","blinding"; + mes "Looking closely you notice that this torch is not like the others.. This one has a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + " tint to it."; + goto L_Color_Loop; + +L_Color_Loop: + callfunc("GetTorchColor"); + menu + "Add Red Powder", L_Use_Red, + "Add Yellow Powder", L_Use_Yellow, + "Add Blue Powder", L_Use_Blue, + "Leave it alone.", -; + + mes "The flame flickers as if it's laughing at you.."; + close; + +L_Use_Red: + if (countitem("RedPowder") < 1) goto L_No_Powder; + if (@TorchColor > 6 && @TorchColor < 12) set @Color, @TorchColor + 1; + if (@TorchColor < 6 && @TorchColor > 1) set @Color, @TorchColor - 1; + if (@TorchColor == 12) set @Color, 1; + callfunc("SetTorchColor"); + delitem "RedPowder", 1; + goto L_Show_Color; + +L_Use_Yellow: + if (countitem("YellowPowder") < 1) goto L_No_Powder; + if (@TorchColor < 10 && @TorchColor > 5) set @Color, @TorchColor - 1; + if (@TorchColor >= 1 && @TorchColor < 5) set @Color, @TorchColor + 1; + callfunc("SetTorchColor"); + delitem "YellowPowder", 1; + goto L_Show_Color; + +L_Use_Blue: + if (countitem("BluePowder") < 1) goto L_No_Powder; + if (@TorchColor > 4 && @TorchColor < 9) set @Color, @TorchColor + 1; + if (@TorchColor <= 12 && @TorchColor > 9) set @Color, @TorchColor - 1; + if (@TorchColor == 1) set @Color, 12; + callfunc("SetTorchColor"); + delitem "BluePowder", 1; + goto L_Show_Color; + +L_No_Powder: + mes "You notice your all out of that color of powder.. Perhaps Orum can make you some more."; + close; + +L_Show_Color: + callfunc("GetTorchColor"); + callfunc("GetTorchIntensity"); + if (@TorchColor == @lastColor) goto L_Wrong_Color; + misceffect 5; + set @lastColor, @TorchColor; + mes "As your pour the powder into the flame you can see it's tint transform to a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + ".."; + goto L_Color_Loop; + +L_Wrong_Color: + set @Intensity, @TorchIntensity + 1; + callfunc("SetTorchIntensity"); + callfunc("GetTorchIntensity"); + if (@TorchIntensity > 2) goto L_Failed; + misceffect 5; + mes "As you pour the powder into the flame it flares violently for a moment and then turns into a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + ".."; + goto L_Color_Loop; + +L_Failed: + mes "As you pour the powder into the flame it flares violently before bursting into your face!"; + misceffect 5; + misceffect 16; + set @Intensity, 0; + callfunc("SetTorchIntensity"); + heal -Hp, 0; + close; +} + +// Second Torch +009-4.gat,67,42,0 script Torch 127,{ + callfunc "InRangeTorch2"; + callfunc "DoneWithTorches"; + + set @Torch, 1; + callfunc("GetTorchColor"); + callfunc("GetTorchIntensity"); + + set @lastColor, @TorchColor; + setarray @colors$,"transparent","red","dark orange","orange","light orange","yellow","light green","green","dark green","blue","dark purple","purple","light purple"; + mes "Looking closely you notice that this torch is not like the others.. This one has a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + " tint to it."; + goto L_Color_Loop; + +L_Color_Loop: + callfunc("GetTorchColor"); + menu + "Add Red Powder", L_Use_Red, + "Add Yellow Powder", L_Use_Yellow, + "Add Blue Powder", L_Use_Blue, + "Leave it alone.", -; + + mes "The flame flickers as if it's laughing at you.."; + close; + +L_Use_Red: + if (countitem("RedPowder") < 1) goto L_No_Powder; + if (@TorchColor > 6 && @TorchColor < 12) set @Color, @TorchColor + 1; + if (@TorchColor < 6 && @TorchColor > 1) set @Color, @TorchColor - 1; + if (@TorchColor == 12) set @Color, 1; + callfunc("SetTorchColor"); + delitem "RedPowder", 1; + goto L_Show_Color; + +L_Use_Yellow: + if (countitem("YellowPowder") < 1) goto L_No_Powder; + if (@TorchColor < 10 && @TorchColor > 5) set @Color, @TorchColor - 1; + if (@TorchColor >= 1 && @TorchColor < 5) set @Color, @TorchColor + 1; + callfunc("SetTorchColor"); + delitem "YellowPowder", 1; + goto L_Show_Color; + +L_Use_Blue: + if (countitem("BluePowder") < 1) goto L_No_Powder; + if (@TorchColor > 4 && @TorchColor < 9) set @Color, @TorchColor + 1; + if (@TorchColor <= 12 && @TorchColor > 9) set @Color, @TorchColor - 1; + if (@TorchColor == 1) set @Color, 12; + callfunc("SetTorchColor"); + delitem "BluePowder", 1; + goto L_Show_Color; + +L_No_Powder: + mes "You notice your all out of that color powder.. Perhaps Orum can make you some more."; + close; + +L_Show_Color: + callfunc("GetTorchColor"); + callfunc("GetTorchIntensity"); + if (@TorchColor == @lastColor) goto L_Wrong_Color; + misceffect 5; + set @lastColor, @TorchColor; + mes "As your pour the powder into the flame you can see it's tint transform to a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + ".."; + goto L_Color_Loop; + +L_Wrong_Color: + set @Intensity, @TorchIntensity + 1; + callfunc("SetTorchIntensity"); + callfunc("GetTorchIntensity"); + if (@TorchIntensity > 2) goto L_Failed; + misceffect 5; + mes "As you pour the powder into the flame it flares violently for a moment and then turns into a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + ".."; + goto L_Color_Loop; + +L_Failed: + mes "As you pour the powder into the flame it flares violently before bursting into your face!"; + misceffect 5; + misceffect 16; + set @Intensity, 0; + callfunc("SetTorchIntensity"); + heal -Hp, 0; + close; +} + +// Third Torch +009-4.gat,33,86,0 script Torch 127,{ + callfunc "InRangeTorch3"; + callfunc "DoneWithTorches"; + + set @Torch, 2; + callfunc("GetTorchColor"); + callfunc("GetTorchIntensity"); + + set @lastColor, @TorchColor; + setarray @colors$,"transparent","red","dark orange","orange","light orange","yellow","light green","green","dark green","blue","dark purple","purple","light purple"; + setarray @intensities$,"calm","bright","blinding"; + mes "Looking closely you notice that this torch is not like the others.. This one has a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + " tint to it."; + goto L_Color_Loop; + +L_Too_Far: + mes "Your too far away to do anything with that torch."; + close; + +L_Color_Loop: + callfunc("GetTorchColor"); + menu + "Add Red Powder", L_Use_Red, + "Add Yellow Powder", L_Use_Yellow, + "Add Blue Powder", L_Use_Blue, + "Leave it alone.", -; + + mes "The flame flickers as if it's laughing at you.."; + close; + +L_Use_Red: + if (countitem("RedPowder") < 1) goto L_No_Powder; + if (@TorchColor > 6 && @TorchColor < 12) set @Color, @TorchColor + 1; + if (@TorchColor < 6 && @TorchColor > 1) set @Color, @TorchColor - 1; + if (@TorchColor == 12) set @Color, 1; + callfunc("SetTorchColor"); + delitem "RedPowder", 1; + goto L_Show_Color; + +L_Use_Yellow: + if (countitem("YellowPowder") < 1) goto L_No_Powder; + if (@TorchColor < 10 && @TorchColor > 5) set @Color, @TorchColor - 1; + if (@TorchColor >= 1 && @TorchColor < 5) set @Color, @TorchColor + 1; + callfunc("SetTorchColor"); + delitem "YellowPowder", 1; + goto L_Show_Color; + +L_Use_Blue: + if (countitem("BluePowder") < 1) goto L_No_Powder; + if (@TorchColor > 4 && @TorchColor < 9) set @Color, @TorchColor + 1; + if (@TorchColor <= 12 && @TorchColor > 9) set @Color, @TorchColor - 1; + if (@TorchColor == 1) set @Color, 12; + callfunc("SetTorchColor"); + delitem "BluePowder", 1; + goto L_Show_Color; + +L_No_Powder: + mes "You notice your all out of that color powder.. Perhaps Orum can make you some more."; + close; + +L_Show_Color: + callfunc("GetTorchColor"); + callfunc("GetTorchIntensity"); + if (@TorchColor == @lastColor) goto L_Wrong_Color; + misceffect 5; + set @lastColor, @TorchColor; + mes "As your pour the powder into the flame you can see it's tint transform to a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + ".."; + goto L_Color_Loop; + +L_Wrong_Color: + set @Itensity, @TorchIntensity + 1; + callfunc("SetTorchIntensity"); + callfunc("GetTorchIntensity"); + if (@TorchIntensity > 2) goto L_Failed; + misceffect 5; + mes "As you pour the powder into the flame it flares violently for a moment and then turns into a " + @intensities$[@TorchIntensity] + " " + @colors$[@TorchColor] + ".."; + goto L_Color_Loop; + +L_Failed: + mes "As you pour the powder into the flame it flares violently before bursting into your face!"; + misceffect 5; + misceffect 16; + set @Intensity, 0; + callfunc("SetTorchIntensity"); + heal -Hp, 0; + close; +} \ No newline at end of file diff --git a/npc/009-4/waric.txt b/npc/009-4/waric.txt new file mode 100644 index 00000000..5fb9fd08 --- /dev/null +++ b/npc/009-4/waric.txt @@ -0,0 +1,91 @@ +009-4.gat,99,33,0 script #WizardTrap 0,2,1,{ + set @gender$, "They're"; + if (Sex == 0) set @gender$, "She's"; + if (Sex == 1) set @gender$, "He's"; + + mes "As you explore further into the cave you see a figure looking at you who appears angry.. but as you begin to speak, he quickly chants some words and you start to lose conciousness!"; + next; + warp "009-4.gat", 117, 40; + mes "When you awake you find yourself unable to move.. You seem to be held in place by something.. As your eyes regain focus you see Orum talking with the figure you saw earlier.. Orum looks over at you and mumbles"; + mes ""; + mes "[Orum]"; + mes "\"Be quiet Waric.. " + @gender$ + " awake..\""; + close; +} + +009-4.gat,120,43,0 script Orum 158,{ + mes "[Orum]"; + mes "\"I told you to forget about this place but you did not heed my advice!\""; + next; + mes "[Orum]"; + mes "\"Your fate is up to Waric now.. don't expect me to do anything else for you.\""; + close; +} + +009-4.gat,118,42,0 script Waric 153,{ + if (OrumQuest >= 13) goto L_Behave; + mes "Waric looks toward you rubbing his chin.."; + next; + mes "[Waric]"; + mes "\"So... Orum tells me your the one that helped him break me out of this dreadful place, so I guess I must thank you for that.\""; + next; + menu + "My pleasure! Mind letting me out of here?", L_Explain, + "This doesn't look like a thank you!", L_Explain, + "Let me out of here at once!", -; + + mes "Waric turns toward Orum.."; + next; + mes "[Waric]"; + mes "\"We've got a feisty one here Orum!\""; + next; + mes "They begin discussing plans of some sort.."; + set OrumQuest, 13; + close; + +L_Behave: + mes "Waric looks toward you shaking his finger.."; + next; + mes "[Waric]"; + mes "\"So... are you ready to behave yourself now?\""; + next; + menu + "Yes mister..", L_Explain, + "No I'm not ready yet!", -; + + mes "[Waric]"; + mes "\"Having fun I take it?\""; + next; + mes "They continue discussing their plans.."; + close; + +L_Explain: + mes "[Waric]"; + mes "\"I'm not sure what Orum told you but I was not kidnapped and brought here.. I was in fact imprisoned here very long ago by a witch for practicing spells on the insignificant forest life.\""; + next; + mes "[Waric]"; + mes "\"She cared about the forest and all of that stuff you see. Now this cave is not bad.. I actually enjoyed it the first nights, but after a few years...\""; + next; + mes "Waric gets a bitter look and his face and pauses for a moment.."; + next; + mes "[Waric]"; + mes "\"So now you can see my motive to get out of here. The only air and water I get is what's given to me through that cave over there. And as for food.. theres only so many recipes for cave snakes and silk worms...\""; + next; + mes "Waric shivers in disgust.."; + next; + mes "[Woric]"; + mes "\"I'm sorry I had to constrain you like this but now that I'm free, I'm not about to let anyone stand in my way!\""; + next; + mes "[Waric]"; + mes "\"Now if you'll excuse us, Orum and I have some things to attend to.. And don't bother coming back to stop us because we'll be long gone.\""; + next; + mes "Waric raises his hands and begins chanting some words.. You watch as streams of energy begin swirling around you.."; + next; + mes "Once more you start to lose conciousness as your surroundings begin to fade.."; + next; + set OrumQuest, 14; + misceffect 10; + warp "008-1.gat", 65, 90; + mes "You awake on your back with a squrrel sitting on top of you arranging it's acorns.. It quickly gathers them up and runs off as it sees you looking at it them.."; + close; +} \ No newline at end of file diff --git a/npc/_import.txt b/npc/_import.txt index f74feeb2..4349f76d 100644 --- a/npc/_import.txt +++ b/npc/_import.txt @@ -18,6 +18,7 @@ import: npc/008-1_Hurnscald_outskirts/_import.txt import: npc/009-1_Hurnscald/_import.txt import: npc/009-2_Hurnscald/_import.txt import: npc/009-3_Cave_beneath_Hurnscald/_import.txt +import: npc/009-4/_import.txt import: npc/010-1_Woodland/_import.txt import: npc/010-2_Dimonds_Cove/_import.txt import: npc/011-1_Woodland/_import.txt -- cgit v1.2.3-70-g09d2 From 252f1193faede4a670125928a568558c21ef5b3a Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Sun, 21 Nov 2010 11:48:16 +0100 Subject: nivalis and christmas2010 --- data/019-1.wlk | Bin 17668 -> 17668 bytes data/019-3.wlk | Bin 0 -> 17668 bytes data/020-1.wlk | Bin 18948 -> 18948 bytes data/020-3.wlk | Bin 6404 -> 25604 bytes data/027-3.wlk | Bin 0 -> 13504 bytes data/030-1.wlk | Bin 0 -> 17668 bytes data/031-1.wlk | Bin 0 -> 18948 bytes data/031-3.wlk | Bin 0 -> 102404 bytes data/resnametable.txt | 5 +- npc/019-1_Snow_field/_warps.txt | 3 + npc/019-3_Snow_field/_import.txt | 3 + npc/019-3_Snow_field/_mobs.txt | 7 + npc/019-3_Snow_field/_warps.txt | 4 + npc/020-1_Nivalis/_warps.txt | 2 + npc/020-3_Ice_cave/_warps.txt | 7 +- npc/027-3/_import.txt | 3 + npc/027-3/_mobs.txt | 7 + npc/027-3/_warps.txt | 4 + npc/030-1_Snow_field/_import.txt | 3 + npc/030-1_Snow_field/_mobs.txt | 7 + npc/030-1_Snow_field/_warps.txt | 3 + npc/031-1_NivalisPort/_import.txt | 3 + npc/031-1_NivalisPort/_mobs.txt | 7 + npc/031-1_NivalisPort/_warps.txt | 4 + npc/031-3/_import.txt | 4 + npc/031-3/_mobs.txt | 7 + npc/031-3/_warps.txt | 3 + npc/031-3/labyrinth.txt | 342 ++++++++++++++++++++++++++++++++++++++ npc/_import.txt | 6 +- npc/scripts.conf | 3 + npc/xmas/2010/_import.txt | 2 + npc/xmas/2010/golbanez.txt | 194 +++++++++++++++++++++ npc/xmas/2010/santa.txt | 160 ++++++++++++++++++ 33 files changed, 790 insertions(+), 3 deletions(-) create mode 100644 data/019-3.wlk create mode 100644 data/027-3.wlk create mode 100644 data/030-1.wlk create mode 100644 data/031-1.wlk create mode 100644 data/031-3.wlk create mode 100644 npc/019-3_Snow_field/_import.txt create mode 100644 npc/019-3_Snow_field/_mobs.txt create mode 100644 npc/019-3_Snow_field/_warps.txt create mode 100644 npc/027-3/_import.txt create mode 100644 npc/027-3/_mobs.txt create mode 100644 npc/027-3/_warps.txt create mode 100644 npc/030-1_Snow_field/_import.txt create mode 100644 npc/030-1_Snow_field/_mobs.txt create mode 100644 npc/030-1_Snow_field/_warps.txt create mode 100644 npc/031-1_NivalisPort/_import.txt create mode 100644 npc/031-1_NivalisPort/_mobs.txt create mode 100644 npc/031-1_NivalisPort/_warps.txt create mode 100644 npc/031-3/_import.txt create mode 100644 npc/031-3/_mobs.txt create mode 100644 npc/031-3/_warps.txt create mode 100644 npc/031-3/labyrinth.txt create mode 100644 npc/xmas/2010/_import.txt create mode 100644 npc/xmas/2010/golbanez.txt create mode 100644 npc/xmas/2010/santa.txt (limited to 'npc/_import.txt') diff --git a/data/019-1.wlk b/data/019-1.wlk index 717ebea9..a77948ac 100644 Binary files a/data/019-1.wlk and b/data/019-1.wlk differ diff --git a/data/019-3.wlk b/data/019-3.wlk new file mode 100644 index 00000000..fd9a4262 Binary files /dev/null and b/data/019-3.wlk differ diff --git a/data/020-1.wlk b/data/020-1.wlk index a27bbee6..a1a0f9b3 100644 Binary files a/data/020-1.wlk and b/data/020-1.wlk differ diff --git a/data/020-3.wlk b/data/020-3.wlk index 49f8a6bc..cfc2ad06 100644 Binary files a/data/020-3.wlk and b/data/020-3.wlk differ diff --git a/data/027-3.wlk b/data/027-3.wlk new file mode 100644 index 00000000..4023c354 Binary files /dev/null and b/data/027-3.wlk differ diff --git a/data/030-1.wlk b/data/030-1.wlk new file mode 100644 index 00000000..bd0df376 Binary files /dev/null and b/data/030-1.wlk differ diff --git a/data/031-1.wlk b/data/031-1.wlk new file mode 100644 index 00000000..45baa48e Binary files /dev/null and b/data/031-1.wlk differ diff --git a/data/031-3.wlk b/data/031-3.wlk new file mode 100644 index 00000000..8d243080 Binary files /dev/null and b/data/031-3.wlk differ diff --git a/data/resnametable.txt b/data/resnametable.txt index 3d45f566..7d60c6c8 100644 --- a/data/resnametable.txt +++ b/data/resnametable.txt @@ -45,10 +45,10 @@ 018-2.gat#018-2.wlk# 018-3.gat#018-3.wlk# 019-1.gat#019-1.wlk# +019-3.gat#019-3.wlk# 020-1.gat#020-1.wlk# 020-2.gat#020-2.wlk# 020-3.gat#020-3.wlk# -020-4.gat#020-4.wlk# 021-1.gat#021-1.wlk# 021-2.gat#021-2.wlk# 021-8.gat#021-8.wlk# @@ -64,4 +64,7 @@ 028-3.gat#028-3.wlk# 029-1.gat#029-1.wlk# 029-3.gat#029-3.wlk# +030-1.gat#030-1.wlk# +031-1.gat#031-1.wlk# +031-3.gat#031-3.wlk# botcheck.gat#botcheck.wlk# diff --git a/npc/019-1_Snow_field/_warps.txt b/npc/019-1_Snow_field/_warps.txt index 63b04561..1cc4b7ae 100644 --- a/npc/019-1_Snow_field/_warps.txt +++ b/npc/019-1_Snow_field/_warps.txt @@ -1,3 +1,6 @@ // 019-1 Snow field warps 019-1.gat,70,21 warp ToVillage 2,-1,020-1.gat,70,126 +019-1.gat,61,102 warp toRomanticPlace 2,-1,030-1.gat,60,29 +019-1.gat,96,40 warp toCave -1,-1,019-3.gat,98,27 +019-1.gat,38,75 warp toCave2 -1,-1,019-3.gat,40,97 diff --git a/npc/019-3_Snow_field/_import.txt b/npc/019-3_Snow_field/_import.txt new file mode 100644 index 00000000..3c5b1edc --- /dev/null +++ b/npc/019-3_Snow_field/_import.txt @@ -0,0 +1,3 @@ +map: 019-3.gat +npc: npc/019-3_Snow_field/_mobs.txt +npc: npc/019-3_Snow_field/_warps.txt diff --git a/npc/019-3_Snow_field/_mobs.txt b/npc/019-3_Snow_field/_mobs.txt new file mode 100644 index 00000000..d5d272ab --- /dev/null +++ b/npc/019-3_Snow_field/_mobs.txt @@ -0,0 +1,7 @@ +// 019-3 Snow field mobs + + + +019-3.gat,0,0,0 script Mob019-3 -1,{ + end; +} diff --git a/npc/019-3_Snow_field/_warps.txt b/npc/019-3_Snow_field/_warps.txt new file mode 100644 index 00000000..fb2637a3 --- /dev/null +++ b/npc/019-3_Snow_field/_warps.txt @@ -0,0 +1,4 @@ +// 019-3 Snow field warps + +019-3.gat,40,99 warp WarpOutside1 -1,-1,019-1.gat,38,73 +019-3.gat,98,25 warp warpOutside2 -1,-1,019-1.gat,96,38 diff --git a/npc/020-1_Nivalis/_warps.txt b/npc/020-1_Nivalis/_warps.txt index c9578dfc..a8e5b772 100644 --- a/npc/020-1_Nivalis/_warps.txt +++ b/npc/020-1_Nivalis/_warps.txt @@ -7,3 +7,5 @@ 020-1.gat,64,82 warp toInn -1,-1,020-2.gat,111,31 020-1.gat,86,46 warp toWeaponShop -1,-1,020-2.gat,32,72 020-1.gat,56,90 warp ToPotionsShop -1,-1,020-2.gat,66,25 +020-1.gat,70,127 warp toSnowField 2,-1,019-1.gat,70,22 +020-1.gat,107,55 warp toPort -1,-1,031-1.gat,38,55 diff --git a/npc/020-3_Ice_cave/_warps.txt b/npc/020-3_Ice_cave/_warps.txt index 51539391..3b4babf7 100644 --- a/npc/020-3_Ice_cave/_warps.txt +++ b/npc/020-3_Ice_cave/_warps.txt @@ -1,4 +1,9 @@ // 020-3 Ice cave warps 020-3.gat,31,25 warp toOutside -1,-1,020-1.gat,76,37 -020-3.gat,25,22 warp toIceCave2 -1,-1,020-4.gat,36,34 +020-3.gat,25,22 warp toRightLowerCave -1,-1,020-3.gat,97,101 +020-3.gat,97,99 warp toLeftUpperCave -1,-1,020-3.gat,25,24 +020-3.gat,28,57 warp toLeftLowerCave -1,-1,020-3.gat,33,100 +020-3.gat,49,33 warp ToRightUpperCave -1,-1,020-3.gat,110,55 +020-3.gat,33,98 warp toLeftUpperCave -1,-1,020-3.gat,28,54 +020-3.gat,110,57 warp ToLeftUpperCave -1,-1,020-3.gat,49,35 diff --git a/npc/027-3/_import.txt b/npc/027-3/_import.txt new file mode 100644 index 00000000..0d6c8819 --- /dev/null +++ b/npc/027-3/_import.txt @@ -0,0 +1,3 @@ +map: 027-3.gat +npc: npc/027-3/_mobs.txt +npc: npc/027-3/_warps.txt diff --git a/npc/027-3/_mobs.txt b/npc/027-3/_mobs.txt new file mode 100644 index 00000000..dcf52c02 --- /dev/null +++ b/npc/027-3/_mobs.txt @@ -0,0 +1,7 @@ +// 027-3 mobs + + + +027-3.gat,0,0,0 script Mob027-3 -1,{ + end; +} diff --git a/npc/027-3/_warps.txt b/npc/027-3/_warps.txt new file mode 100644 index 00000000..650f6e5a --- /dev/null +++ b/npc/027-3/_warps.txt @@ -0,0 +1,4 @@ +// 027-3 warps + +027-3.gat,127,44 warp toCryptLevel2 1,-1,027-4.gat,37,21 +027-3.gat,41,75 warp toGraveyard 2,-1,027-1.gat,28,69 diff --git a/npc/030-1_Snow_field/_import.txt b/npc/030-1_Snow_field/_import.txt new file mode 100644 index 00000000..97064443 --- /dev/null +++ b/npc/030-1_Snow_field/_import.txt @@ -0,0 +1,3 @@ +map: 030-1.gat +npc: npc/030-1_Snow_field/_mobs.txt +npc: npc/030-1_Snow_field/_warps.txt diff --git a/npc/030-1_Snow_field/_mobs.txt b/npc/030-1_Snow_field/_mobs.txt new file mode 100644 index 00000000..a614f4a2 --- /dev/null +++ b/npc/030-1_Snow_field/_mobs.txt @@ -0,0 +1,7 @@ +// 030-1 Snow field mobs + + + +030-1.gat,0,0,0 script Mob030-1 -1,{ + end; +} diff --git a/npc/030-1_Snow_field/_warps.txt b/npc/030-1_Snow_field/_warps.txt new file mode 100644 index 00000000..73106d6d --- /dev/null +++ b/npc/030-1_Snow_field/_warps.txt @@ -0,0 +1,3 @@ +// 030-1 Snow field warps + +030-1.gat,61,28 warp toSnowfield 0,-1,019-1.gat,61,100 diff --git a/npc/031-1_NivalisPort/_import.txt b/npc/031-1_NivalisPort/_import.txt new file mode 100644 index 00000000..d256e273 --- /dev/null +++ b/npc/031-1_NivalisPort/_import.txt @@ -0,0 +1,3 @@ +map: 031-1.gat +npc: npc/031-1_NivalisPort/_mobs.txt +npc: npc/031-1_NivalisPort/_warps.txt diff --git a/npc/031-1_NivalisPort/_mobs.txt b/npc/031-1_NivalisPort/_mobs.txt new file mode 100644 index 00000000..dc109dc5 --- /dev/null +++ b/npc/031-1_NivalisPort/_mobs.txt @@ -0,0 +1,7 @@ +// 031-1 NivalisPort mobs + + + +031-1.gat,0,0,0 script Mob031-1 -1,{ + end; +} diff --git a/npc/031-1_NivalisPort/_warps.txt b/npc/031-1_NivalisPort/_warps.txt new file mode 100644 index 00000000..ca2bdc30 --- /dev/null +++ b/npc/031-1_NivalisPort/_warps.txt @@ -0,0 +1,4 @@ +// 031-1 NivalisPort warps + +031-1.gat,37,55 warp toNivalis -1,-1,020-1.gat,106,55 +031-1.gat,76,24 warp toLabyrinth -1,-1,031-3.gat,212,298 diff --git a/npc/031-3/_import.txt b/npc/031-3/_import.txt new file mode 100644 index 00000000..4562f635 --- /dev/null +++ b/npc/031-3/_import.txt @@ -0,0 +1,4 @@ +map: 031-3.gat +npc: npc/031-3/_mobs.txt +npc: npc/031-3/_warps.txt +npc: npc/031-3/labyrinth.txt diff --git a/npc/031-3/_mobs.txt b/npc/031-3/_mobs.txt new file mode 100644 index 00000000..a86150c7 --- /dev/null +++ b/npc/031-3/_mobs.txt @@ -0,0 +1,7 @@ +// 031-3 mobs + + + +031-3.gat,0,0,0 script Mob031-3 -1,{ + end; +} diff --git a/npc/031-3/_warps.txt b/npc/031-3/_warps.txt new file mode 100644 index 00000000..a15033a1 --- /dev/null +++ b/npc/031-3/_warps.txt @@ -0,0 +1,3 @@ +// 031-3 warps + +031-3.gat,212,300 warp toOutside -1,-1,031-1.gat,76,26 diff --git a/npc/031-3/labyrinth.txt b/npc/031-3/labyrinth.txt new file mode 100644 index 00000000..925127d4 --- /dev/null +++ b/npc/031-3/labyrinth.txt @@ -0,0 +1,342 @@ +//################################################################################# +//# +//# Warps for the labyrinth on christmas 2010 +//# +//# Authors: alastrim, PjotrOrial +//# +//# reviewed by: +//# +//# This is a labyrinth, having lots of warps in there. +//# These warps are activated on different days. +//# For each way there are 2 warps: one way and its way back. +//# +//################################################################################# + + +// Debug Script + +031-3.gat,219,294,0 script Debug 144,{ + menu + "Test a specific date",-, + "Clean $Golbenez_Santa_Free",L_Clean; + mes "Which date you want to test?"; + input $Golbenez_Santa_Free; + close; + +L_Clean: + set $Golbenez_Santa_Free, 0; + close; +} + +// 16/12 - 1 warp +031-3.gat,205,264,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 16 ) end; + warp "031-3.gat", 149, 260; + end; +} + +031-3.gat,149,259,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 16 ) end; + warp "031-3.gat", 205, 265; + end; +} + +// 17/12 - 3 Warps + +// First Warp + +031-3.gat,225,282,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 17 ) end; + warp "031-3.gat", 274, 299; + end; +} + +031-3.gat,274,300,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 17 ) end; + warp "031-3.gat", 225, 283; + end; +} + +// Second Warp + +031-3.gat,283,271,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 17 ) end; + warp "031-3.gat", 269, 244; + end; +} + +031-3.gat,269,245,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 17 ) end; + warp "031-3.gat", 283, 272; + end; +} + +// Third Warp +031-3.gat,139,258,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 17 ) end; + warp "031-3.gat", 155, 196; + end; +} + +031-3.gat,155,195,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 17 ) end; + warp "031-3.gat", 139, 259; + end; +} + +// 18/12 - 4 Warps + +// First Warp +031-3.gat,142,301,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 18 ) end; + warp "031-3.gat", 97, 300; + end; +} + +031-3.gat,97,301,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 18 ) end; + warp "031-3.gat", 142, 300; + end; +} + +// Second Warp +031-3.gat,135,196,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 18 ) end; + warp "031-3.gat", 106, 231; + end; +} + +031-3.gat,106,232,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 18 ) end; + warp "031-3.gat", 135, 197; + end; +} + +// Third Warp +031-3.gat,286,190,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 18 ) end; + warp "031-3.gat", 227, 241; + end; +} + +031-3.gat,227,242,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 18 ) end; + warp "031-3.gat", 286, 191; + end; +} + +// Fourth Warp + +031-3.gat,236,211,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 18 ) end; + warp "031-3.gat", 187, 227; + end; +} + +031-3.gat,187,228,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 18 ) end; + warp "031-3.gat", 236, 212; + end; +} + +// 19/12 - 4 Warps + +// First Warp +031-3.gat,94,224,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 19 ) end; + warp "031-3.gat", 54, 251; + end; +} + +031-3.gat,54,250,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 19 ) end; + warp "031-3.gat", 94, 225; + end; +} + +// Second Warp + +031-3.gat,103,199,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 19 ) end; + warp "031-3.gat", 52, 176; + end; +} + +031-3.gat,52,177,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 19 ) end; + warp "031-3.gat", 103, 200; + end; +} + +// Third Warp + +031-3.gat,212,193,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 19 ) end; + warp "031-3.gat", 207, 167; + end; +} + +031-3.gat,207,168,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 19 ) end; + warp "031-3.gat", 212, 194; + end; +} + +// Fourth Warp + +031-3.gat,235,167,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 19 ) end; + warp "031-3.gat", 195, 123; + end; +} + +031-3.gat,195,122,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 19 ) end; + warp "031-3.gat", 235, 166; + end; +} + +# // 4 warps on dec 20 +# // first warp +031-3.gat,296,97,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 20 ) end; + warp "031-3.gat", 292, 124; + end; +} +031-3.gat,292,123,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 20 ) end; + warp "031-3.gat", 296, 96; + end; +} +# // second warp +031-3.gat,289,164,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 20 ) end; + warp "031-3.gat", 228, 122; + end; +} +031-3.gat,228,121,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 20 ) end; + warp "031-3.gat", 289, 163; + end; +} +# // third warp +031-3.gat,24,157,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 20 ) end; + warp "031-3.gat", 31, 143; + end; +} +031-3.gat,31,144,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 20 ) end; + warp "031-3.gat", 24, 158; + end; +} +# // forth warp +031-3.gat,36,249,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 20 ) end; + warp "031-3.gat", 35, 225; + end; +} +031-3.gat,35,226,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 20 ) end; + warp "031-3.gat", 36, 250; + end; +} + + +# // 3 warps on dec 21 +# // first warp +031-3.gat,34,25,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 21 ) end; + warp "031-3.gat", 281, 23; + end; +} +031-3.gat,281,22,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 21 ) end; + warp "031-3.gat", 34, 26; + end; +} +// # second warp +031-3.gat,283,48,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 21 ) end; + warp "031-3.gat", 275, 74; + end; +} +031-3.gat,275,73,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 21 ) end; + warp "031-3.gat", 283, 47; + end; +} +// # third warp +031-3.gat,26,178,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 21 ) end; + warp "031-3.gat", 36, 201; + end; +} +031-3.gat,36,200,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 21 ) end; + warp "031-3.gat", 26, 177; + end; +} + + +# // 2 warps on dec 22 +# // first warp +031-3.gat,91,125,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 22 ) end; + warp "031-3.gat", 36, 79; + end; +} +031-3.gat,36,80,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 22 ) end; + warp "031-3.gat", 91, 126; + end; +} +// # second warp +031-3.gat,52,78,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 22 ) end; + warp "031-3.gat", 192, 71; + end; +} +031-3.gat,192,70,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 22 ) end; + warp "031-3.gat", 52, 77; + end; +} + + +# // 2 warps on dec 23 +# // first warp +031-3.gat,128,135,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 23 ) end; + warp "031-3.gat", 148, 151; + end; +} +031-3.gat,148,150,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 23 ) end; + warp "031-3.gat", 128, 134; + end; +} +// # second warp +031-3.gat,232,93,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 23 ) end; + warp "031-3.gat", 200, 49; + end; +} +031-3.gat,200,50,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 23 ) end; + warp "031-3.gat", 232, 94; + end; +} + + +# // 1 warp on dec 24 +031-3.gat,120,81,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 24 ) end; + warp "031-3.gat", 46, 22; + end; +} +031-3.gat,46,24,0 script #ChristmasBarrier 127,1,1,{ + if ($Golbenez_Santa_Free < 24 ) end; + warp "031-3.gat", 120, 80; + end; +} diff --git a/npc/_import.txt b/npc/_import.txt index 4349f76d..09c7de0a 100644 --- a/npc/_import.txt +++ b/npc/_import.txt @@ -44,10 +44,10 @@ import: npc/018-1_Woodland_mining_camp/_import.txt import: npc/018-2_Woodland_mining_camp/_import.txt import: npc/018-3_Cave/_import.txt import: npc/019-1_Snow_field/_import.txt +import: npc/019-3_Snow_field/_import.txt import: npc/020-1_Nivalis/_import.txt import: npc/020-2_Nivalis/_import.txt import: npc/020-3_Ice_cave/_import.txt -import: npc/020-4_Ice_cave/_import.txt import: npc/021-1_Tulimshar/_import.txt import: npc/021-2_Tulimshar/_import.txt import: npc/022-1_Tulimshar/_import.txt @@ -57,8 +57,12 @@ import: npc/025-1_Woodland_Swamp/_import.txt import: npc/026-1_Swamp/_import.txt import: npc/027-1_Graveyard/_import.txt import: npc/027-2_Caretakers_House/_import.txt +import: npc/027-3/_import.txt import: npc/028-1/_import.txt import: npc/028-3/_import.txt import: npc/029-1_Candor/_import.txt import: npc/029-3_Fight_Cave/_import.txt +import: npc/030-1_Snow_field/_import.txt +import: npc/031-1_NivalisPort/_import.txt +import: npc/031-3/_import.txt import: npc/botcheck/_import.txt diff --git a/npc/scripts.conf b/npc/scripts.conf index acda50a6..660dedb7 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -73,3 +73,6 @@ import: npc/_import.txt // Easter 2010 // When enabling, some entries in 028-1 would also need to be uncommented, the warp from 028-1 would need to be commented out. The changes to the old woman and some other NPCs weren't able to be preserved, but are recorded in the git repository. //import: npc/easter/2010/_import.txt + +import: npc/xmas/2010/_import.txt + diff --git a/npc/xmas/2010/_import.txt b/npc/xmas/2010/_import.txt new file mode 100644 index 00000000..e68c6992 --- /dev/null +++ b/npc/xmas/2010/_import.txt @@ -0,0 +1,2 @@ +npc: npc/xmas/2010/santa.txt +npc: npc/xmas/2010/golbanez.txt diff --git a/npc/xmas/2010/golbanez.txt b/npc/xmas/2010/golbanez.txt new file mode 100644 index 00000000..5ee9999d --- /dev/null +++ b/npc/xmas/2010/golbanez.txt @@ -0,0 +1,194 @@ +//################################################################################# +//# +//# Golbanez for Christmas 2010 +//# +//# Authors: alastrim, PjotrOrial +//# +//# reviewed by: +//# +//# This is Golbanez, he took Santa Claus as a hostage. +//# Santa will be freed on Dec24, so players need to pass a labyrinth +//# if the players bring Golbanez stuff, santa will donate some other stuff to the players. +//# +//################################################################################# +019-1.gat,96,41,0 script Golbenez-Debug 204,{ + + mes "What you want to do?"; + menu + "Change $Golbenez_Santa_Free(Date of the Month)",-, + "Change Golbenez_Inn_Cost(Your Donations)",_cost, + "Clean all variables.",_clean, + "Nothing",_end; + + mes "Old Value: " + $Golbenez_Santa_Free; + input $Golbenez_Santa_Free; + mes "New Value: " + $Golbenez_Santa_Free; + close; + +_cost: + mes "Old Value: " + Golbenez_Inn_Cost; + input Golbenez_Inn_Cost; + mes "New Value: " + Golbenez_Inn_Cost; + close; + +_clean: + mes "Golbenez_Inn_Cost Old Value: " + Golbenez_Inn_Cost; + set Golbenez_Inn_Cost, 0; + mes "Golbenez_Inn_Cost New Value: " + Golbenez_Inn_Cost; + mes "$Golbenez_Santa_Free Old Value: " + $Golbenez_Santa_Free; + set $Golbenez_Santa_Free, 0; + mes "$Golbenez_Santa_Free New Value: " + $Golbenez_Santa_Free; + close; + +_end: + close; + +} + +019-1.gat,93,41,0 script #Golbenez#_M 204,{ + set $Golbenez_Santa_Free, gettime(5); + + if (gettime(7) > 2010) set $Golbenez_Santa_Free, 25; + + if ($Golbenez_Santa_Free >= 24 || gettime(7) > 2010) goto Glb_Inn_Enough; + + mes "[Golbenez]"; + mes "\"Mortal! I am Golbenez! I have broken through the barriers of space and time!\""; + next; + mes "\"Well to let you know, I am taking Santa Claus and rudolph and the fellow rendiers as hostages.\""; + next; + mes "\"This sounds hard to you maybe... But I need lots of stuff for building the way to the leisure place."; + next; + mes "\"So if you want to have donations at christmas... we should make a deal: Bring me money or presents."; + next; + mes "\"Maybe I will release Santa Claus and the rendiers then.\""; + next; + mes "\"Do you really expect a promise to let him free on christmas?\""; + next; + mes "\"Uhm well, then you should get away!\""; + next; + mes "\"So far, you have brought stuff and money in a total value of " + Golbenez_Inn_Cost + " gold pieces. The people of your world have brought me " + $Golbenez_Inn_Cost + " gold pieces. What do you like to give?\""; + + menu + "I'd like to spend some money.", Glb_money, + "I'd like to give some blue presents.", -, + "I'd like to give some green presents.", -, + "I'd like to give some pink presents.", -, + "Why do you want present boxes?",Glb_whypresents, + "Can I bring other items?", Glb_otheritems, + "Nevermind.", Glb_nvm; + + // in this array the items should be filled in + setarray @menuitem[2], 516, 538, 515; + setarray @menuvalue[2], 2000, 5000, 1000; + + mes "\"How many presents do you want to give?\""; + + input @count; + + if (countitem(@menuitem[@menu]) < @count ) goto Glb_noitems; + delitem @menuitem[@menu], @count; + set @Give, (@count * @menuvalue[@menu]); + set @Gave_Presents, 1; + goto Glb_checkGlAn; + +Glb_money: + input @Give; + + set @Give, @Give; + + if (@Give <= 0) close; + if (zeny < @Give) goto Glb_Inn_NotEnoughZeny; + +Glb_checkGlAn: + + // if the @Give amount is below 30% of the players money, just let him pay + if( @Give<10000 || ( 100 * @Give / zeny )<30 ) goto Golbenez_pay; + + set @glob_an$ , "Golbenez: " + strcharinfo(0) + " accounted to free santa"; + + // depending on the absolute amount setup another global announcement. + if( @Give >1000000 ) goto Golbenez_an_5; + if( @Give > 500000 ) goto Golbenez_an_4; + if( @Give > 100000 ) goto Golbenez_an_3; + if( @Give > 72000 ) goto Golbenez_an_2; + if( @Give > 35500 ) goto Golbenez_an_1; + + goto Golbenez_an; + +Golbenez_an_1: + set @glob_an$, @glob_an$ + " with a great effort."; + goto Golbenez_an; + +Golbenez_an_2: + set @glob_an$, @glob_an$ + " with a honest contribution."; + goto Golbenez_an; + +Golbenez_an_3: + set @glob_an$, @glob_an$ + " with a great effort. Such a generous person."; + goto Golbenez_an; + +Golbenez_an_4: + set @glob_an$, @glob_an$ + " with a remarkable effort. Impressive!"; + goto Golbenez_an; + +Golbenez_an_5: + set @glob_an$, @glob_an$ + " with a huge effort. What a honorable donation!"; + goto Golbenez_an; + +Golbenez_an: + announce @glob_an$, 0; + +Golbenez_pay: + set Golbenez_Inn_Cost, Golbenez_Inn_Cost + @Give; + set $Golbenez_Inn_Cost, $Golbenez_Inn_Cost + @Give; + if (@Gave_Presents == 1) close; + set zeny, zeny - @Give; + close; + +Glb_Inn_NotEnoughZeny: + mes "[Golbenez]"; + mes "\"You don't have as much as you say you do. Come back when you can give the gold pieces you say you can.\""; + close; + +Glb_noitems: + mes "[Golbenez]"; + mes "\"You don't have as many as you say you do. Come back when you have enough.\""; + close; + +Glb_nvm: + mes "[Golbenez]"; + mes "\"That's too bad.\""; + close; + +Glb_whypresents: + mes "[Golbenez]"; + mes "\"The presents contain some sort of spiritual attachment that aids in the creation of dimensional connections to this plane of existence. The green ones contain the stronger spiritual attachment, followed by the blue and then pink present boxes.\""; + next; + mes "\"Im willing to consider a conversion of each Present Box donated to an amount in Gold Pieces. So, a Green Present is equivalent to 5000 Gold Pieces, a Blue Present, 2000 Gold Pieces and a Pink Present, 1000 Gold Pieces.\""; + close; + +Glb_otheritems: + mes "[Golbenez]"; + mes "\"No you cannot!\""; + next; + mes "\"I will not discuss any further, mortal!\""; + next; + mes "\"So bring me the needed stuff and maybe you get some stuff as a reward, little coward!\""; + close; + +Glb_Inn_Enough: + mes "[Golbenez]"; + mes "\"Ok mortal!\""; + next; + mes "\"I have collected enough for now.\""; + next; + mes "\"This helps me working on the leisure place.\""; + next; + mes "\"Although I did not promise I let Santa be free again!\""; + next; + mes "\"He can be found in some cave around here.\""; + close; +} + + diff --git a/npc/xmas/2010/santa.txt b/npc/xmas/2010/santa.txt new file mode 100644 index 00000000..4b95a142 --- /dev/null +++ b/npc/xmas/2010/santa.txt @@ -0,0 +1,160 @@ +//################################################################################# +//# +//# Santa for Christmas 2010 +//# +//# Authors: alastrim, PjotrOrial +//# +//# reviewed by: +//# +//# This is Santa Claus. +//# He was taken as hostage by golbanez, and now that he is free, he would like to +//# give a reward for those who helped him. +//# +//################################################################################# + +031-3.gat,122,55,0 script Debug 105,{ + + mes "What do you want to do?"; + + menu + "Change Golbenez_Inn_Cost.",-, + "Change Xmas2010.",_xmas, + "Nothing.",_end; + + mes "Old Value: " + Golbenez_Inn_Cost; + input Golbenez_Inn_Cost; + mes "New Value: " + Golbenez_Inn_Cost; + close; +_xmas: + mes "Old Value: " + Xmas2010; + input Xmas2010; + mes "New Value: " + Xmas2010; + close; +_end: + close; +} + +031-3.gat,122,51,0 script Santa 105,{ + + if (Sex) set @honorific$, "young hero"; + if (Sex) set @gender$, "boy"; + if (!Sex) set @honorific$, "young heroine"; + if (!Sex) set @gender$, "girl"; + if (Xmas2010 == 1) goto L_Returning; + if (Xmas2010 == 2) goto L_Elfhat_Prize; + if (Xmas2010 == 3) goto L_Stocking_Prize; + if (Xmas2010 == 4) goto L_Event_Done; + if (Golbenez_Inn_Cost < 50000) goto L_No_Prizes; + +L_start: + mes "The old man's eyes open wide as he sees you."; + next; + mes "[Santa Claus]"; + mes "\"Ho-Ho-ho! It is so good to see you here " +@honorific$+ "!\""; + next; + menu + "Im " + strcharinfo(0) + " and I am here to save you from Golbenez.",-; + mes "\"I cant believe it... are you really " +strcharinfo(0)+ "? I remember all the comments that... 'Thing' was making about building his way to a 'Leisure Place' and how your donations would really help him.\""; + next; + mes "\"What is his name again? Erh... Golbinos? Galvanis? Ho-hum... All I know is that it was keeping me and my fellow rendiers as hostages in this cold labyrinth. And you proved yourself a good " +@gender$+ " by helping me with all those donations!\""; + next; + if (gettime(6) != 12 || gettime(5) >= 25) goto L_Skip_Dialogue; + mes "\"Well, we are really late! In a few hours we have to start our usual present giving routine... But not before I give you a special gift for all you did.\""; + next; +L_Skip_Dialogue: + mes "\"Let me see... From what I can remember, Galvenio said a " +@gender$+ " called " +strcharinfo(0)+ " donated a total of " +Golbenez_Inn_Cost+ " Golden Pieces!\""; + next; + +L_Calculate_Prizes: + getinventorylist; + if (@inventorylist_count == 100) goto L_full; + if (Golbenez_Inn_Cost >= 500000 && Golbenez_Inn_Cost < 1000000) goto L_Elfhat_Prize; + if (Golbenez_Inn_Cost >= 50000 && Golbenez_Inn_Cost < 500000) goto L_Stocking_Prize; + setarray @prizes[1], 1206, 1216, 629, 630, 634, 1214, 633, 628, 627, 621; + setarray @prizesnames$[1], "Santa Beard Hat", "Mouboo Head", "Mush Hat", "Shroom Hat", "Face Mask", "Bunny Ears", "Christmas Elf Hat", "Funky Hat", "Top Hat", "Eyepatch"; + mes "\"You are so generous! I believe I can give you one of the hats from this bag. I know you like these silly hats. Yes, Santa knows this kind of thing... Ho-Ho-Ho! Which one would you like to get?\""; + +L_Menu_Choices: + menu + @prizesnames$[1],-, + @prizesnames$[2],-, + @prizesnames$[3],-, + @prizesnames$[4],-, + @prizesnames$[5],-, + @prizesnames$[6],-, + @prizesnames$[7],-, + @prizesnames$[8],-, + @prizesnames$[9],-, + @prizesnames$[10],-; + + getitem @prizes[@menu], 1; + set Xmas2010, 1; + set Golbenez_Inn_Cost, 0; + next; + +L_Returning: + mes "[Santa Claus]"; + mes "\"I hope you liked your gift.\""; + next; + menu + "Yes Santa, you are the best!",L_Close, + "Ehh, it is not what I expected.",L_Bad, + "I loved it! Can I have one more, please, please?",-; + + mes "[Santa Claus]"; + mes "\"Hmm... Why not? It would be terrible to deny a request from such a generous person.\""; + next; + set Xmas2010, 3; + goto L_Stocking_Prize; + +L_Elfhat_Prize: + set Xmas2010, 2; + getinventorylist; + if (@inventorylist_count == 100) goto L_full; + mes "[Santa Claus]"; + mes "\"You worked really hard to help us... So, here, take this hat. It belongs to one of my assistants. No, no... No problem at all, I am sure he will be happy to know such a great person is going to use it.\""; + getitem 633, 1; + set Golbenez_Inn_Cost, 0; + set Xmas2010, 3; + next; + +L_Stocking_Prize: + getinventorylist; + if (@inventorylist_count == 100) goto L_full; + mes "[Santa Claus]"; + mes "\"I would like to give you a personal item. It is not a hat, but something that will always make you remember how grateful I am.\""; + next; + mes "\"Here, take this. I have been using it for the last three months... It means a lot to me.\""; + getitem 1207, 1; + set Golbenez_Inn_Cost, 0; + set Xmas2010, 4; + close2; + percentheal -20, 0; + message strcharinfo(0), "You suddenly get dizzy... Something is not right with you. Maybe you shouldnt have put the Red Stocking so close to your face!"; + end; + +L_Full: + mes "[Santa Claus]"; + mes "\"Your backpack seems to be full. You should get rid of some unused stuff before you get my gifts, or maybe try one super resistant red bag, my personal favorite! Hoh-hoh!\""; + close; + +L_Close: + mes "[Santa Claus]"; + mes "\"Ho, Ho... Ok, see you later " +@honorific$+ "!\""; + close; + +L_Bad: + mes "[Santa Claus]"; + mes "\"Hmm... and I was thinking you were a good " +@gender$+ "! Dont be ungrateful and next time, think before you get a gift.\""; + close; + +L_Event_Done: + mes "[Santa Claus]"; + mes "\"Hello again " +strcharinfo(0)+ "! I cant chat with you right now, because we are really late for Christmas, but, when it is over, you will always be welcome in my house for a hot chocolate.\""; + close; + +L_No_Prizes: + mes "[Santa Claus]"; + mes "\"Hi " +strcharinfo(0)+ "... Looks like you did not work really hard to set me free...\""; + close; +} -- cgit v1.2.3-70-g09d2 From 8032c02d7341011acdcdcc9e3b961bf312610992 Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Mon, 27 Dec 2010 23:40:58 +0100 Subject: mobs changed at 011-6, removing xmas, minor fixes - rearranged the mobs in 011-6 - fixing the whole repo so it can be used with the java converter tool again. - removing unused files: - golbanez on gy - directory names changed, so the old dirs were deleted - removed xmas active: so golbanez and santa are gone, 031-3 is empty, the warps work for everyone now - lots of pumpkin spawns are gone --- data/020-4.wlk | Bin 10004 -> 0 bytes data/021-8.wlk | Bin 11290 -> 0 bytes data/023-1.wlk | Bin 30004 -> 0 bytes data/test.wlk | Bin 19042 -> 0 bytes npc/007-1_Woodland/_mobs.txt | 1 - npc/008-1_Hurnscald_outskirts/_mobs.txt | 1 - npc/009-1_Hurnscald/_mobs.txt | 1 - npc/009-4/_mobs.txt | 29 -- npc/009-4/_warps.txt | 46 --- npc/010-1_Woodland/_mobs.txt | 1 - npc/011-1_Woodland/_mobs.txt | 1 - npc/011-6/_mobs.txt | 71 ++++- npc/012-1_Woodland_Hills/_mobs.txt | 1 - npc/013-1_Woodland_hills/_mobs.txt | 1 - npc/014-1_Woodland/_mobs.txt | 1 - npc/015-1_Woodland/_mobs.txt | 1 - npc/016-1_Woodland/_mobs.txt | 1 - npc/017-1_Woodland_hills/_mobs.txt | 1 - npc/018-1_Woodland_mining_camp/_mobs.txt | 1 - npc/019-3_Snow_Cave/_import.txt | 3 + npc/019-3_Snow_Cave/_mobs.txt | 19 ++ npc/019-3_Snow_Cave/_warps.txt | 4 + npc/019-3_Snow_field/_import.txt | 3 - npc/019-3_Snow_field/_mobs.txt | 19 -- npc/019-3_Snow_field/_warps.txt | 4 - npc/025-1_Woodland_Swamp/_mobs.txt | 1 - npc/026-1_Swamp/_mobs.txt | 1 - npc/027-1_Graveyard/_mobs.txt | 1 - npc/027-1_Graveyard/golbenez.txt | 51 ---- npc/028-1/_mobs.txt | 1 - npc/029-1_Candor/_mobs.txt | 1 - npc/031-3/_import.txt | 4 - npc/031-3/_mobs.txt | 109 ------- npc/031-3/_warps.txt | 3 - npc/031-3/labyrinth.txt | 487 ------------------------------- npc/031-3_Cave/_import.txt | 4 + npc/031-3_Cave/_mobs.txt | 62 ++++ npc/031-3_Cave/_warps.txt | 3 + npc/031-3_Cave/labyrinth.txt | 273 +++++++++++++++++ npc/_import.txt | 4 +- npc/scripts.conf | 2 +- 41 files changed, 438 insertions(+), 779 deletions(-) delete mode 100644 data/020-4.wlk delete mode 100644 data/021-8.wlk delete mode 100644 data/023-1.wlk delete mode 100644 data/test.wlk delete mode 100644 npc/009-4/_mobs.txt delete mode 100644 npc/009-4/_warps.txt create mode 100644 npc/019-3_Snow_Cave/_import.txt create mode 100644 npc/019-3_Snow_Cave/_mobs.txt create mode 100644 npc/019-3_Snow_Cave/_warps.txt delete mode 100644 npc/019-3_Snow_field/_import.txt delete mode 100644 npc/019-3_Snow_field/_mobs.txt delete mode 100644 npc/019-3_Snow_field/_warps.txt delete mode 100644 npc/027-1_Graveyard/golbenez.txt delete mode 100644 npc/031-3/_import.txt delete mode 100644 npc/031-3/_mobs.txt delete mode 100644 npc/031-3/_warps.txt delete mode 100755 npc/031-3/labyrinth.txt create mode 100644 npc/031-3_Cave/_import.txt create mode 100644 npc/031-3_Cave/_mobs.txt create mode 100644 npc/031-3_Cave/_warps.txt create mode 100755 npc/031-3_Cave/labyrinth.txt (limited to 'npc/_import.txt') diff --git a/data/020-4.wlk b/data/020-4.wlk deleted file mode 100644 index e2a1852c..00000000 Binary files a/data/020-4.wlk and /dev/null differ diff --git a/data/021-8.wlk b/data/021-8.wlk deleted file mode 100644 index 8ddde1fd..00000000 Binary files a/data/021-8.wlk and /dev/null differ diff --git a/data/023-1.wlk b/data/023-1.wlk deleted file mode 100644 index 31f88b7b..00000000 Binary files a/data/023-1.wlk and /dev/null differ diff --git a/data/test.wlk b/data/test.wlk deleted file mode 100644 index cf612ae7..00000000 Binary files a/data/test.wlk and /dev/null differ diff --git a/npc/007-1_Woodland/_mobs.txt b/npc/007-1_Woodland/_mobs.txt index cb2a8467..29ad1105 100644 --- a/npc/007-1_Woodland/_mobs.txt +++ b/npc/007-1_Woodland/_mobs.txt @@ -9,7 +9,6 @@ 007-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob007-1::On1037 007-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob007-1::On1038 007-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob007-1::On1055 -007-1.gat,0,0,0,0 monster Pumpkin 1064,2,30000,20000 007-1.gat,0,0,0 script Mob007-1 -1,{ diff --git a/npc/008-1_Hurnscald_outskirts/_mobs.txt b/npc/008-1_Hurnscald_outskirts/_mobs.txt index 9e7880fe..12147858 100644 --- a/npc/008-1_Hurnscald_outskirts/_mobs.txt +++ b/npc/008-1_Hurnscald_outskirts/_mobs.txt @@ -9,7 +9,6 @@ 008-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob008-1::On1037 008-1.gat,0,0,0,0 monster Squirrel 1038,10,30,20,Mob008-1::On1038 008-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob008-1::On1055 -008-1.gat,0,0,0,0 monster Pumpkin 1064,2,40000,40000 008-1.gat,0,0,0 script Mob008-1 -1,{ diff --git a/npc/009-1_Hurnscald/_mobs.txt b/npc/009-1_Hurnscald/_mobs.txt index c066bac8..5f1fcf89 100644 --- a/npc/009-1_Hurnscald/_mobs.txt +++ b/npc/009-1_Hurnscald/_mobs.txt @@ -5,7 +5,6 @@ 009-1.gat,88,51,15,4 monster Squirrel 1038,2,0,5000,Mob009-1::On1038 009-1.gat,80,38,5,5 monster Squirrel 1038,1,0,5000,Mob009-1::On1038 009-1.gat,0,0,0,0 monster Butterfly 1055,5,30,20,Mob009-1::On1055 -009-1.gat,0,0,0,0 monster Pumpkin 1064,1,40000,40000 009-1.gat,0,0,0 script Mob009-1 -1,{ diff --git a/npc/009-4/_mobs.txt b/npc/009-4/_mobs.txt deleted file mode 100644 index 71cf010f..00000000 --- a/npc/009-4/_mobs.txt +++ /dev/null @@ -1,29 +0,0 @@ -// 009-4 Cave mobs -// # see detailed description at orum.txt -// Cavern -009-4.gat,107,88,19,28 monster Silkworm 1035,3,20000,14000,Mob009-4::OnSilkworm -009-4.gat,107,88,19,28 monster Cave Snake 1021,5,20000,14000,Mob009-4::OnCaveSnake - -009-4.gat,119,45,5,3 monster Silkworm 1035,3,20000,14000,Mob009-4::OnSilkworm -009-4.gat,103,28,6,4 monster Cave Snake 1021,3,20000,14000,Mob009-4::OnCaveSnake -009-4.gat,103,28,6,4 monster Silkworm 1035,2,20000,14000,Mob009-4::OnSilkworm - -009-4.gat,36,117,4,4 monster Maggot 1002,3,20000,14000,Mob009-4::OnMaggot -009-4.gat,71,130,4,4 monster Maggot 1002,3,20000,14000,Mob009-4::OnMaggot - -009-4.gat,0,0,0 script Mob009-4 -1,{ -OnCaveSnake: - set @mobID, 1021; - callfunc "MobPoints"; - break; -OnMaggot: - set @mobID, 1002; - callfunc "MobPoints"; - break; -OnSilkworm: - set @mobID, 1035; - callfunc "MobPoints"; - break; - - end; -} diff --git a/npc/009-4/_warps.txt b/npc/009-4/_warps.txt deleted file mode 100644 index 9666a081..00000000 --- a/npc/009-4/_warps.txt +++ /dev/null @@ -1,46 +0,0 @@ -// 009-4 Cave Warps - -// Entrances -009-4.gat,37,112 warp to Outside -1,-1,009-3.gat,162,114 -009-4.gat,37,123 warp to Lair -1,-1,009-4.gat,36,27 - -009-4.gat,72,125 warp to Outside -1,-1,009-3.gat,162,114 -009-4.gat,72,136 warp to Lair -1,-1,009-4.gat,36,27 - -// Caverns -009-4.gat,103,22 warp to Lair -1,-1,009-4.gat,51,46 -009-4.gat,103,76 warp to Lair -1,-1,009-4.gat,51,46 - -//009-3.gat,162,113,0 script #OrumQuestEnter 0,0,0,{ - if (OrumQuest >= 12) goto L_Second_Entrance; - warp "009-4.gat", 37, 113; - close; - -L_Second_Entrance: - warp "009-4.gat", 72, 126; - close; -} -009-4.gat,36,26,0 script #LairExit 0,0,0,{ - if (OrumQuest >= 12) goto L_Second_Entrance; - warp "009-4.gat", 37, 122; - close; - -L_Second_Entrance: - warp "009-4.gat", 72, 135; - close; -} - -009-4.gat,51,47,0 script #CavernEnter 0,0,0,{ - if (OrumQuest >= 14) goto L_Second_Cavern; - if (OrumQuest < 12) goto L_See_Orum; - warp "009-4.gat", 103, 23; - close; - -L_Second_Cavern: - warp "009-4.gat", 103, 77; - close; - -L_See_Orum: - mes "Right as you are entering you hear Orum call out for you.. Perhaps you should see what he wants first.."; - close; -} diff --git a/npc/010-1_Woodland/_mobs.txt b/npc/010-1_Woodland/_mobs.txt index d86c2641..87140ff3 100644 --- a/npc/010-1_Woodland/_mobs.txt +++ b/npc/010-1_Woodland/_mobs.txt @@ -13,7 +13,6 @@ 010-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob010-1::On1037 010-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob010-1::On1038 010-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob010-1::On1055 -010-1.gat,0,0,0,0 monster Pumpkin 1064,3,30000,20000 010-1.gat,0,0,0 script Mob010-1 -1,{ diff --git a/npc/011-1_Woodland/_mobs.txt b/npc/011-1_Woodland/_mobs.txt index 3aa95c29..05ed18ed 100644 --- a/npc/011-1_Woodland/_mobs.txt +++ b/npc/011-1_Woodland/_mobs.txt @@ -11,7 +11,6 @@ 011-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob011-1::On1037 011-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob011-1::On1038 011-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob011-1::On1055 -011-1.gat,0,0,0,0 monster Pumpkin 1064,2,30000,20000 011-1.gat,0,0,0 script Mob011-1 -1,{ diff --git a/npc/011-6/_mobs.txt b/npc/011-6/_mobs.txt index 01a44dc6..9f42488c 100644 --- a/npc/011-6/_mobs.txt +++ b/npc/011-6/_mobs.txt @@ -1,12 +1,60 @@ // 011-6 mobs -011-6.gat,0,0,0,0 monster Spiky Mushroom 1019,30,30000,100000,Mob011-6::On1019 -011-6.gat,0,0,0,0 monster Evil Mushroom 1013,15,30000,100000,Mob011-6::On1013 -011-6.gat,115,79,191,110 monster Bandit 1064,8,30000,100000,Mob011-6::On1064 -011-6.gat,0,0,0,0 monster Bat 1017,30,30000,100000,Mob011-6::On1017 +011-6.gat,152,72,283,127 monster Silk Worm 1035,9,30000,100000,Mob011-6::On1035 +011-6.gat,263,38,30,34 monster Bandit 1064,1,30000,30000,Mob011-6::On1064 +011-6.gat,262,114,38,38 monster Bandit 1064,1,30000,30000,Mob011-6::On1064 +011-6.gat,132,119,17,21 monster Bandit 1064,1,30000,30000,Mob011-6::On1064 +011-6.gat,170,66,17,21 monster Bandit 1064,1,30000,30000,Mob011-6::On1064 +011-6.gat,67,70,17,21 monster Bandit 1064,1,30000,30000,Mob011-6::On1064 +011-6.gat,196,107,17,21 monster Bandit 1064,1,30000,30000,Mob011-6::On1064 +011-6.gat,196,29,17,21 monster Bandit 1064,1,30000,30000,Mob011-6::On1064 +011-6.gat,36,37,17,21 monster Bandit 1064,1,30000,30000,Mob011-6::On1064 +011-6.gat,112,40,45,48 monster Bandit 1064,2,30000,60000,Mob011-6::On1064 +011-6.gat,31,99,17,21 monster Bandit 1064,1,30000,30000,Mob011-6::On1064 +011-6.gat,223,250,123,65 monster Bat 1017,5,30000,100000,Mob011-6::On1017 +011-6.gat,224,175,118,25 monster Bat 1017,3,30000,100000,Mob011-6::On1017 +011-6.gat,257,77,4,126 monster Bat 1017,6,30000,100000,Mob011-6::On1017 +011-6.gat,192,77,4,126 monster Bat 1017,9,30000,100000,Mob011-6::On1017 +011-6.gat,167,110,87,13 monster Bat 1017,9,30000,100000,Mob011-6::On1017 +011-6.gat,75,70,104,96 monster Bat 1017,23,30000,100000,Mob011-6::On1017 +011-6.gat,78,195,129,97 monster Bat 1017,9,30000,100000,Mob011-6::On1017 +011-6.gat,168,109,36,37 monster Spiky Mushroom 1019,5,30000,100000,Mob011-6::On1019 +011-6.gat,199,76,36,37 monster Spiky Mushroom 1019,5,30000,100000,Mob011-6::On1019 +011-6.gat,88,163,29,27 monster Spiky Mushroom 1019,5,30000,100000,Mob011-6::On1019 +011-6.gat,48,113,35,19 monster Spiky Mushroom 1019,5,30000,100000,Mob011-6::On1019 +011-6.gat,177,94,20,28 monster Evil Mushroom 1013,4,30000,100000,Mob011-6::On1013 +011-6.gat,194,49,20,28 monster Evil Mushroom 1013,2,30000,100000,Mob011-6::On1013 +011-6.gat,51,115,47,24 monster Evil Mushroom 1013,2,30000,100000,Mob011-6::On1013 +011-6.gat,63,169,13,17 monster Evil Mushroom 1013,2,30000,100000,Mob011-6::On1013 +011-6.gat,100,226,29,14 monster Spiky Mushroom 1019,3,30000,100000,Mob011-6::On1019 +011-6.gat,260,44,53,16 monster Spiky Mushroom 1019,3,30000,100000,Mob011-6::On1019 +011-6.gat,272,48,21,28 monster Evil Mushroom 1013,2,30000,100000,Mob011-6::On1013 +011-6.gat,95,78,31,25 monster Yellow Slime 1007,5,30000,100000,Mob011-6::On1007 +011-6.gat,59,36,19,25 monster Yellow Slime 1007,5,30000,100000,Mob011-6::On1007 +011-6.gat,26,69,19,25 monster Yellow Slime 1007,5,30000,100000,Mob011-6::On1007 +011-6.gat,61,101,14,10 monster Yellow Slime 1007,3,30000,100000,Mob011-6::On1007 +011-6.gat,50,61,9,12 monster Yellow Slime 1007,3,30000,100000,Mob011-6::On1007 +011-6.gat,128,39,9,12 monster Yellow Slime 1007,3,30000,100000,Mob011-6::On1007 +011-6.gat,41,178,9,12 monster Yellow Slime 1007,1,30000,100000,Mob011-6::On1007 +011-6.gat,70,229,9,12 monster Yellow Slime 1007,1,30000,100000,Mob011-6::On1007 +011-6.gat,20,204,9,12 monster Yellow Slime 1007,1,30000,100000,Mob011-6::On1007 +011-6.gat,114,190,9,12 monster Yellow Slime 1007,4,30000,100000,Mob011-6::On1007 +011-6.gat,137,205,9,12 monster Yellow Slime 1007,2,30000,100000,Mob011-6::On1007 +011-6.gat,79,220,29,14 monster Cave Snake 1021,3,30000,100000,Mob011-6::On1021 +011-6.gat,115,210,29,14 monster Cave Snake 1021,3,30000,100000,Mob011-6::On1021 +011-6.gat,41,193,31,31 monster Cave Snake 1021,3,30000,100000,Mob011-6::On1021 +011-6.gat,70,143,31,31 monster Cave Snake 1021,3,30000,100000,Mob011-6::On1021 +011-6.gat,97,183,29,14 monster Cave Snake 1021,3,30000,100000,Mob011-6::On1021 +011-6.gat,172,252,9,12 monster Cave Maggot 1056,4,30000,100000,Mob011-6::On1056 +011-6.gat,263,236,16,5 monster Cave Maggot 1056,3,30000,100000,Mob011-6::On1056 011-6.gat,0,0,0 script Mob011-6 -1,{ +On1007: + set @mobID, 1007; + callfunc "MobPoints"; + break; + On1013: set @mobID, 1013; callfunc "MobPoints"; @@ -22,6 +70,21 @@ On1019: callfunc "MobPoints"; break; +On1021: + set @mobID, 1021; + callfunc "MobPoints"; + break; + +On1035: + set @mobID, 1035; + callfunc "MobPoints"; + break; + +On1056: + set @mobID, 1056; + callfunc "MobPoints"; + break; + On1064: set @mobID, 1064; callfunc "MobPoints"; diff --git a/npc/012-1_Woodland_Hills/_mobs.txt b/npc/012-1_Woodland_Hills/_mobs.txt index 13e21929..c081df48 100644 --- a/npc/012-1_Woodland_Hills/_mobs.txt +++ b/npc/012-1_Woodland_Hills/_mobs.txt @@ -11,7 +11,6 @@ 012-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob012-1::On1037 012-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob012-1::On1038 012-1.gat,0,0,0,0 monster Butterfly 1055,20,30,20,Mob012-1::On1055 -012-1.gat,0,0,0,0 monster Pumpkin 1064,6,40000,30000 012-1.gat,0,0,0 script Mob012-1 -1,{ diff --git a/npc/013-1_Woodland_hills/_mobs.txt b/npc/013-1_Woodland_hills/_mobs.txt index 2086aa5f..04bdf4ce 100644 --- a/npc/013-1_Woodland_hills/_mobs.txt +++ b/npc/013-1_Woodland_hills/_mobs.txt @@ -15,7 +15,6 @@ 013-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob013-1::On1037 013-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob013-1::On1038 013-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob013-1::On1055 -013-1.gat,0,0,0,0 monster Pumpkin 1064,2,50000,45000 013-1.gat,0,0,0 script Mob013-1 -1,{ diff --git a/npc/014-1_Woodland/_mobs.txt b/npc/014-1_Woodland/_mobs.txt index fc21e806..6f530db9 100644 --- a/npc/014-1_Woodland/_mobs.txt +++ b/npc/014-1_Woodland/_mobs.txt @@ -16,7 +16,6 @@ 014-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob014-1::On1037 014-1.gat,0,0,0,0 monster Squirrel 1038,25,30,20,Mob014-1::On1038 014-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob014-1::On1055 -014-1.gat,0,0,0,0 monster Pumpkin 1064,2,40000,40000 014-1.gat,0,0,0 script Mob014-1 -1,{ diff --git a/npc/015-1_Woodland/_mobs.txt b/npc/015-1_Woodland/_mobs.txt index ca1e87bf..da42f9d1 100644 --- a/npc/015-1_Woodland/_mobs.txt +++ b/npc/015-1_Woodland/_mobs.txt @@ -2,7 +2,6 @@ 015-1.gat,0,0,0,0 monster Clover 1037,2,100000,1000,Mob015-1::On1037 015-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob015-1::On1055 -015-1.gat,0,0,0,0 monster Pumpkin 1064,1,60000,60000 015-1.gat,0,0,0 script Mob015-1 -1,{ diff --git a/npc/016-1_Woodland/_mobs.txt b/npc/016-1_Woodland/_mobs.txt index 9bff35fd..47df3be4 100644 --- a/npc/016-1_Woodland/_mobs.txt +++ b/npc/016-1_Woodland/_mobs.txt @@ -2,7 +2,6 @@ 016-1.gat,0,0,0,0 monster Clover 1037,2,100000,30000,Mob016-1::On1037 016-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob016-1::On1055 -016-1.gat,0,0,0,0 monster Pumpkin 1064,1,60000,60000 016-1.gat,0,0,0 script Mob016-1 -1,{ diff --git a/npc/017-1_Woodland_hills/_mobs.txt b/npc/017-1_Woodland_hills/_mobs.txt index f5ead1e7..fd79bb69 100644 --- a/npc/017-1_Woodland_hills/_mobs.txt +++ b/npc/017-1_Woodland_hills/_mobs.txt @@ -5,7 +5,6 @@ 017-1.gat,91,25,76,8 monster Loghead 2027,3,5000,60000,Mob017-1::On2027 017-1.gat,31,48,19,12 monster Loghead 2027,3,5000,60000,Mob017-1::On2027 017-1.gat,0,0,0,0 monster Butterfly 1055,10,30,20,Mob017-1::On1055 -017-1.gat,0,0,0,0 monster Pumpkin 1064,3,32000,20000 017-1.gat,0,0,0 script Mob017-1 -1,{ diff --git a/npc/018-1_Woodland_mining_camp/_mobs.txt b/npc/018-1_Woodland_mining_camp/_mobs.txt index 2a2af659..292e0547 100644 --- a/npc/018-1_Woodland_mining_camp/_mobs.txt +++ b/npc/018-1_Woodland_mining_camp/_mobs.txt @@ -26,7 +26,6 @@ 018-1.gat,160,31,11,18 monster Red Slime 1008,5,100000,50000,Mob018-1::On1008 018-1.gat,0,0,0,0 monster Clover 1037,2,0,1000,Mob018-1::On1037 018-1.gat,0,0,0,0 monster Butterfly 1055,20,30,20,Mob018-1::On1055 -018-1.gat,0,0,0,0 monster Pumpkin 1064,6,60000,60000 018-1.gat,0,0,0 script Mob018-1 -1,{ diff --git a/npc/019-3_Snow_Cave/_import.txt b/npc/019-3_Snow_Cave/_import.txt new file mode 100644 index 00000000..728b994b --- /dev/null +++ b/npc/019-3_Snow_Cave/_import.txt @@ -0,0 +1,3 @@ +map: 019-3.gat +npc: npc/019-3_Snow_Cave/_mobs.txt +npc: npc/019-3_Snow_Cave/_warps.txt diff --git a/npc/019-3_Snow_Cave/_mobs.txt b/npc/019-3_Snow_Cave/_mobs.txt new file mode 100644 index 00000000..8d4e5d7c --- /dev/null +++ b/npc/019-3_Snow_Cave/_mobs.txt @@ -0,0 +1,19 @@ +// 019-3 Snow Cave mobs + +019-3.gat,0,0,0,0 monster Moggun 1061,10,100000,30000,Mob019-3::On1061 +019-3.gat,0,0,0,0 monster Bats 1017,50,100000,30000,Mob019-3::On1017 + + +019-3.gat,0,0,0 script Mob019-3 -1,{ +On1017: + set @mobID, 1017; + callfunc "MobPoints"; + break; + +On1061: + set @mobID, 1061; + callfunc "MobPoints"; + break; + + end; +} diff --git a/npc/019-3_Snow_Cave/_warps.txt b/npc/019-3_Snow_Cave/_warps.txt new file mode 100644 index 00000000..65c5dadc --- /dev/null +++ b/npc/019-3_Snow_Cave/_warps.txt @@ -0,0 +1,4 @@ +// 019-3 Snow Cave warps + +019-3.gat,40,99 warp WarpOutside1 -1,-1,019-1.gat,38,73 +019-3.gat,98,25 warp warpOutside2 -1,-1,019-1.gat,96,38 diff --git a/npc/019-3_Snow_field/_import.txt b/npc/019-3_Snow_field/_import.txt deleted file mode 100644 index 3c5b1edc..00000000 --- a/npc/019-3_Snow_field/_import.txt +++ /dev/null @@ -1,3 +0,0 @@ -map: 019-3.gat -npc: npc/019-3_Snow_field/_mobs.txt -npc: npc/019-3_Snow_field/_warps.txt diff --git a/npc/019-3_Snow_field/_mobs.txt b/npc/019-3_Snow_field/_mobs.txt deleted file mode 100644 index c4570bb3..00000000 --- a/npc/019-3_Snow_field/_mobs.txt +++ /dev/null @@ -1,19 +0,0 @@ -// 019-3 Snow field mobs - -019-3.gat,0,0,0,0 monster Moggun 1061,10,100000,30000,Mob019-3::On1061 -019-3.gat,0,0,0,0 monster Bats 1017,50,100000,30000,Mob019-3::On1017 - - -019-3.gat,0,0,0 script Mob019-3 -1,{ -On1017: - set @mobID, 1017; - callfunc "MobPoints"; - break; - -On1061: - set @mobID, 1061; - callfunc "MobPoints"; - break; - - end; -} diff --git a/npc/019-3_Snow_field/_warps.txt b/npc/019-3_Snow_field/_warps.txt deleted file mode 100644 index fb2637a3..00000000 --- a/npc/019-3_Snow_field/_warps.txt +++ /dev/null @@ -1,4 +0,0 @@ -// 019-3 Snow field warps - -019-3.gat,40,99 warp WarpOutside1 -1,-1,019-1.gat,38,73 -019-3.gat,98,25 warp warpOutside2 -1,-1,019-1.gat,96,38 diff --git a/npc/025-1_Woodland_Swamp/_mobs.txt b/npc/025-1_Woodland_Swamp/_mobs.txt index 4aed8361..ec980c3c 100644 --- a/npc/025-1_Woodland_Swamp/_mobs.txt +++ b/npc/025-1_Woodland_Swamp/_mobs.txt @@ -10,7 +10,6 @@ 025-1.gat,73,61,107,82 monster Spiky Mushroom 1019,40,90000,500,Mob025-1::On1019 025-1.gat,101,53,55,65 monster Squirrel 1038,18,60000,9000,Mob025-1::On1038 025-1.gat,26,61,15,85 monster Scorpion 1003,12,100000,50000,Mob025-1::On1003 -025-1.gat,0,0,0,0 monster Pumpkin 1064,5,45000,35000 025-1.gat,0,0,0 script Mob025-1 -1,{ diff --git a/npc/026-1_Swamp/_mobs.txt b/npc/026-1_Swamp/_mobs.txt index 5068ba8b..2885ca7b 100644 --- a/npc/026-1_Swamp/_mobs.txt +++ b/npc/026-1_Swamp/_mobs.txt @@ -8,7 +8,6 @@ 026-1.gat,71,57,113,81 monster Skeleton 1043,5,900000,10000,Mob026-1::On1043 026-1.gat,68,61,106,88 monster LadySkeleton 1044,5,900000,20000,Mob026-1::On1044 026-1.gat,68,60,107,87 monster Log Head 1025,8,300000,40000,Mob026-1::On1025 -026-1.gat,0,0,0,0 monster Pumpkin 1064,8,50000,40000 026-1.gat,0,0,0 script Mob026-1 -1,{ diff --git a/npc/027-1_Graveyard/_mobs.txt b/npc/027-1_Graveyard/_mobs.txt index 73641d27..372c2833 100644 --- a/npc/027-1_Graveyard/_mobs.txt +++ b/npc/027-1_Graveyard/_mobs.txt @@ -22,7 +22,6 @@ 027-1.gat,37,65,33,22 monster Zombie 1036,3,140000,30000,Mob027-1::On1036 027-1.gat,37,65,33,22 monster Fallen 1045,3,120000,30000,Mob027-1::On1045 027-1.gat,28,67,2,1 monster Jack O 1022,1,265000,200000,Mob027-1::On1022 -027-1.gat,0,0,0,0 monster Pumpkin 1064,9,45000,35000 027-1.gat,0,0,0 script Mob027-1 -1,{ diff --git a/npc/027-1_Graveyard/golbenez.txt b/npc/027-1_Graveyard/golbenez.txt deleted file mode 100644 index c74c9827..00000000 --- a/npc/027-1_Graveyard/golbenez.txt +++ /dev/null @@ -1,51 +0,0 @@ -// - -027-1.gat,68,89,0 script #Golbenez#_M 204,{ - if ($Golbenez_Inn_Cost >= 500000000) goto Golbenez_Inn_Enough; - - mes "[Voice]"; - mes "\"Mortal! I am Golbenez! I have broken through the barriers of space and time!\""; - next; - mes "\"For eons I've traveled through existence, tapping powers the living shall never touch. I now offer my powers for your enjoyment. In your world, places of leisure bring a desirable break from the threats of life. I shall create such a place. This place will be free from the threats found on your world as well as mine.\""; - next; - mes "\"It is difficult to create portals from my realm to yours. It is also difficult to create dimensions isolated from the threats that may seek to do you harm. For this reason I demand a hefty fee. For 500 million of your gold pieces I will create this place. This need not come just from you, but it must be delivered from the people of your world to me.\""; - next; - mes "\"So far, you have brought me " + Golbenez_Inn_Cost + " gold pieces. The people of your world have brought me " + $Golbenez_Inn_Cost + " gold pieces. How much would you like to give?\""; - - set @mult, 1; - menu - "I'd like to give a little.", Golbenez_Little, - "I'd like to give thousands.", Golbenez_Thousands, - "Nevermind.", Golbenez_Nevermind; - - -Golbenez_Thousands: - set @mult, 1000; - -Golbenez_Little: - input @Give; - - set @Give, @Give * @mult; - - if (@Give <= 0) close; - if (zeny < @Give) goto Golbenez_Inn_NotEnoughZeny; - set Golbenez_Inn_Cost, Golbenez_Inn_Cost + @Give; - set $Golbenez_Inn_Cost, $Golbenez_Inn_Cost + @Give; - set zeny, zeny - @Give; - close; - -Golbenez_Inn_NotEnoughZeny: - mes "[Voice]"; - mes "\"You don't have as much as you say you do. Come back when you can give the gold pieces you say you can.\""; - close; - -Golbenez_Nevermind: - mes "[Voice]"; - mes "\"That's too bad.\""; - close; - -Golbenez_Inn_Enough: - mes "[Voice]"; - mes "\"I now have enough to create the place of leisure. Once I have anchored it to this world, you will know.\""; - close; -} diff --git a/npc/028-1/_mobs.txt b/npc/028-1/_mobs.txt index 63783af0..317b10d1 100644 --- a/npc/028-1/_mobs.txt +++ b/npc/028-1/_mobs.txt @@ -12,7 +12,6 @@ 028-1.gat,76,100,93,16 monster Spectre 1042,8,200000,15000,Mob028-1::On1042 028-1.gat,104,114,61,14 monster Poltergeist 1047,8,200000,15000,Mob028-1::On1047 028-1.gat,54,42,1,1 monster Fallen 1045,1,700000,300000,Mob028-1::On1045 -028-1.gat,0,0,0,0 monster Pumpkin 1064,4,40000,40000 028-1.gat,0,0,0 script Mob028-1 -1,{ diff --git a/npc/029-1_Candor/_mobs.txt b/npc/029-1_Candor/_mobs.txt index 10486a66..32975e8a 100644 --- a/npc/029-1_Candor/_mobs.txt +++ b/npc/029-1_Candor/_mobs.txt @@ -6,7 +6,6 @@ 029-1.gat,36,59,22,20 monster Spiky Mushroom 1019,5,10000,30000,Mob029-1::On1019 029-1.gat,53,35,17,17 monster Bats 1017,4,25000,30000,Mob029-1::On1017 029-1.gat,59,51,13,9 monster Log heads 1025,2,25000,30000,Mob029-1::On1025 -029-1.gat,0,0,0,0 monster Pumpkin 1064,1,40000,50000 029-1.gat,0,0,0 script Mob029-1 -1,{ diff --git a/npc/031-3/_import.txt b/npc/031-3/_import.txt deleted file mode 100644 index 4562f635..00000000 --- a/npc/031-3/_import.txt +++ /dev/null @@ -1,4 +0,0 @@ -map: 031-3.gat -npc: npc/031-3/_mobs.txt -npc: npc/031-3/_warps.txt -npc: npc/031-3/labyrinth.txt diff --git a/npc/031-3/_mobs.txt b/npc/031-3/_mobs.txt deleted file mode 100644 index da9f5d9d..00000000 --- a/npc/031-3/_mobs.txt +++ /dev/null @@ -1,109 +0,0 @@ -// 031-3 mobs - -031-3.gat,38,50,52,75 monster Moggun 1061,9,100000,30000,Mob031-3::On1061 -031-3.gat,213,57,66,59 monster Santa Slime 1015,9,100000,30000,Mob031-3::On1015 -031-3.gat,39,144,52,75 monster Moggun 1061,11,100000,30000,Mob031-3::On1061 -031-3.gat,39,212,52,75 monster Moggun 1061,13,100000,30000,Mob031-3::On1061 -031-3.gat,282,142,52,75 monster Moggun 1061,9,100000,30000,Mob031-3::On1061 -031-3.gat,284,222,52,75 monster Moggun 1061,9,100000,30000,Mob031-3::On1061 -031-3.gat,99,271,52,75 monster Moggun 1061,9,100000,30000,Mob031-3::On1061 -031-3.gat,281,58,52,75 monster Moggun 1061,9,100000,30000,Mob031-3::On1061 -031-3.gat,0,0,0,0 monster Bat 1017,190,100000,30000,Mob031-3::On1017 -031-3.gat,48,48,83,61 monster Ice Goblin 1058,9,100000,30000,Mob031-3::On1058 -031-3.gat,122,50,83,61 monster Ice Goblin 1058,9,100000,30000,Mob031-3::On1058 -031-3.gat,117,140,83,61 monster Ice Goblin 1058,9,100000,30000,Mob031-3::On1058 -031-3.gat,212,142,83,61 monster Ice Goblin 1058,12,100000,30000,Mob031-3::On1058 -031-3.gat,211,276,83,61 monster Ice Goblin 1058,11,100000,30000,Mob031-3::On1058 -031-3.gat,117,207,83,61 monster Ice Goblin 1058,9,100000,30000,Mob031-3::On1058 -031-3.gat,231,213,83,61 monster Ice Goblin 1058,7,100000,30000,Mob031-3::On1058 -031-3.gat,261,265,83,61 monster Ice Goblin 1058,9,100000,30000,Mob031-3::On1058 -031-3.gat,280,56,66,59 monster Santa Slime 1015,9,100000,30000,Mob031-3::On1015 -031-3.gat,121,57,66,59 monster Santa Slime 1015,11,100000,30000,Mob031-3::On1015 -031-3.gat,120,143,66,59 monster Santa Slime 1015,9,100000,30000,Mob031-3::On1015 -031-3.gat,218,215,66,59 monster Santa Slime 1015,9,100000,30000,Mob031-3::On1015 -031-3.gat,285,216,66,59 monster Santa Slime 1015,13,100000,30000,Mob031-3::On1015 -031-3.gat,128,272,66,59 monster Santa Slime 1015,9,100000,30000,Mob031-3::On1015 -031-3.gat,212,279,66,59 monster Santa Slime 1015,11,100000,30000,Mob031-3::On1015 - - -031-3.gat,0,0,0 script Mob031-3 -1,{ -On1015: - callsub Boxes1015; - set @mobID, 1015; - callfunc "MobPoints"; - break; - -On1017: - callsub Boxes1017; - set @mobID, 1017; - callfunc "MobPoints"; - break; - -On1058: - callsub Boxes1058; - set @mobID, 1058; - callfunc "MobPoints"; - break; - -On1061: - callsub Boxes1061; - set @mobID, 1061; - callfunc "MobPoints"; - break; - - end; - -Boxes1015: - set @yellow, rand(30); - set @white, rand(60); - if (@yellow == 1) goto L_GetYellow; - if (@white == 1) goto L_GetWhite; - return; - -Boxes1017: - set @yellow, rand(50); - set @white, rand(100); - if (@yellow == 1) goto L_GetYellow; - if (@white == 1) goto L_GetWhite; - return; - - -Boxes1058: - set @yellow, rand(50); - set @white, rand(100); - if (@yellow == 1) goto L_GetYellow; - if (@white == 1) goto L_GetWhite; - return; - - -Boxes1061: - set @yellow, rand(25); - set @white, rand(50); - if (@yellow == 1) goto L_GetYellow; - if (@white == 1) goto L_GetWhite; - return; - -L_GetYellow: - if (Yellow >= 40) goto L_FinishYellow; - set Yellow, Yellow + 1; - if (Yellow == 10) message strcharinfo(0), "I still need 30 Yellow Boxes."; - if (Yellow == 30) message strcharinfo(0), "I need only 10 Yellow Boxes."; - getitem 4021, 1; - return; - -L_GetWhite: - if (White >= 30) goto L_FinishWhite; - set White, White + 1; - if (White == 10) message strcharinfo(0), "I still need 20 White Boxes."; - if (White == 20) message strcharinfo(0), "I need only 10 White Boxes."; - getitem 4022, 1; - return; - -L_FinishYellow: - message strcharinfo(0), "I collected all the Yellow Boxes!"; - return; - -L_FinishWhite: - message strcharinfo(0), "I collected all the White Boxes!"; - return; -} diff --git a/npc/031-3/_warps.txt b/npc/031-3/_warps.txt deleted file mode 100644 index a15033a1..00000000 --- a/npc/031-3/_warps.txt +++ /dev/null @@ -1,3 +0,0 @@ -// 031-3 warps - -031-3.gat,212,300 warp toOutside -1,-1,031-1.gat,76,26 diff --git a/npc/031-3/labyrinth.txt b/npc/031-3/labyrinth.txt deleted file mode 100755 index 4616891b..00000000 --- a/npc/031-3/labyrinth.txt +++ /dev/null @@ -1,487 +0,0 @@ -//################################################################################# -//# -//# Warps for the labyrinth on christmas 2010 -//# -//# Authors: alastrim, PjotrOrial -//# -//# reviewed by: -//# -//# This is a labyrinth, having lots of warps in there. -//# These warps are activated on different days. -//# For each way there are 2 warps: one way and its way back. -//# -//################################################################################# - - -031-3.gat,205,264,0 script #ChristmasBarrier 127,1,1,{ - warp "031-3.gat", 149, 261; - end; -} - -031-3.gat,149,259,0 script #ChristmasBarrier 127,1,1,{ - warp "031-3.gat", 205, 266; - end; -} - -// If Donated > 1M < 1.5M - Maze=2 - -031-3.gat,225,282,0 script #ChristmasBarrier 127,1,1,{ - warp "031-3.gat", 274, 299; - end; -} - -031-3.gat,274,300,0 script #ChristmasBarrier 127,1,1,{ - warp "031-3.gat", 225, 283; - end; -} - -// Second Warp - -031-3.gat,283,271,0 script #ChristmasBarrier 127,1,1,{ - warp "031-3.gat", 269, 244; - end; -} - -031-3.gat,269,245,0 script #ChristmasBarrier 127,1,1,{ - warp "031-3.gat", 283, 272; - end; -} - -031-3.gat,148,150,0 script #ChristmasBarrier 127,1,1,{ - warp "031-3.gat", 128, 134; - end; -} - -// Third Warp -031-3.gat,139,258,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 2) goto L_Golbenez; - warp "031-3.gat", 155, 196; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(1000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,155,195,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 2) goto L_Golbenez; - warp "031-3.gat", 139, 259; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(1000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -// If Donated > 1.5M < 2M - Maze=3 - -// First Warp -031-3.gat,142,301,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 3) goto L_Golbenez; - warp "031-3.gat", 97, 298; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(1500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,97,301,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 3) goto L_Golbenez; - warp "031-3.gat", 142, 298; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(1500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -// Second Warp -031-3.gat,135,196,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 3) goto L_Golbenez; - warp "031-3.gat", 106, 231; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(1500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,106,232,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 3) goto L_Golbenez; - warp "031-3.gat", 135, 197; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(1500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -// Third Warp -031-3.gat,286,190,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 3) goto L_Golbenez; - warp "031-3.gat", 227, 241; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(1500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,227,242,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 3) goto L_Golbenez; - warp "031-3.gat", 286, 191; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(1500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -// Fourth Warp - -031-3.gat,236,211,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 3) goto L_Golbenez; - warp "031-3.gat", 187, 227; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(1500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,187,228,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 3) goto L_Golbenez; - warp "031-3.gat", 236, 212; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(1500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -// If Donated > 2M < 2.5M - Maze=4 - -// First Warp -031-3.gat,94,254,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 4) goto L_Golbenez; - warp "031-3.gat", 54, 253; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,54,250,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 4) goto L_Golbenez; - warp "031-3.gat", 94, 257; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -// Second Warp - -031-3.gat,103,199,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 4) goto L_Golbenez; - warp "031-3.gat", 52, 175; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,52,177,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 4) goto L_Golbenez; - warp "031-3.gat", 103, 201; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -// Third Warp - -031-3.gat,212,193,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 4) goto L_Golbenez; - warp "031-3.gat", 207, 165; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,207,168,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 4) goto L_Golbenez; - warp "031-3.gat", 212, 195; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -// Fourth Warp - -031-3.gat,235,167,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 4) goto L_Golbenez; - warp "031-3.gat", 195, 124; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,195,122,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 4) goto L_Golbenez; - warp "031-3.gat", 235, 165; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -// If Donated > 2.5M < 3M - Maze=5 -// first warp - -031-3.gat,296,97,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 5) goto L_Golbenez; - warp "031-3.gat", 292, 125; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -031-3.gat,292,123,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 5) goto L_Golbenez; - warp "031-3.gat", 296, 95; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -// second warp -031-3.gat,289,164,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 5) goto L_Golbenez; - warp "031-3.gat", 228, 123; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -031-3.gat,228,121,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 5) goto L_Golbenez; - warp "031-3.gat", 289, 162; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -// third warp -031-3.gat,24,157,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 5) goto L_Golbenez; - warp "031-3.gat", 31, 142; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -031-3.gat,31,144,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 5) goto L_Golbenez; - warp "031-3.gat", 24, 159; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -// forth warp -031-3.gat,36,249,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 5) goto L_Golbenez; - warp "031-3.gat", 35, 224; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,35,226,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 5) goto L_Golbenez; - warp "031-3.gat", 36, 251; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(2500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - - -// If Donated > 3M < 3.5M - Maze=6 -// first warp -031-3.gat,34,25,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 6) goto L_Golbenez; - warp "031-3.gat", 281, 25; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(3000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -031-3.gat,281,22,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 6) goto L_Golbenez; - warp "031-3.gat", 34, 28; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(3000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -// # second warp -031-3.gat,283,48,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 6) goto L_Golbenez; - warp "031-3.gat", 275, 74; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(3000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -031-3.gat,275,73,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 6) goto L_Golbenez; - warp "031-3.gat", 283, 47; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(3000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -// # third warp -031-3.gat,26,178,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 6) goto L_Golbenez; - warp "031-3.gat", 36, 202; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(3000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -031-3.gat,36,200,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 6) goto L_Golbenez; - warp "031-3.gat", 26, 176; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(3000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - - -// If Donated > 3.5M < 4M - Maze=7 -// first warp -031-3.gat,91,125,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 7) goto L_Golbenez; - warp "031-3.gat", 36, 78; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(3500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -031-3.gat,36,80,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 7) goto L_Golbenez; - warp "031-3.gat", 91, 127; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(3500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -// # second warp -031-3.gat,52,78,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 7) goto L_Golbenez; - warp "031-3.gat", 192, 72; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(3500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -031-3.gat,192,70,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 7) goto L_Golbenez; - warp "031-3.gat", 52, 76; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(3500000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - - -// If Donated > 4M < 5M - Maze=8 -// first warp -031-3.gat,128,135,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 8) goto L_Golbenez; - warp "031-3.gat", 148, 152; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(4000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - -// # second warp -031-3.gat,232,93,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 8) goto L_Golbenez; - warp "031-3.gat", 200, 47; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(4000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} -031-3.gat,200,50,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 8) goto L_Golbenez; - warp "031-3.gat", 232, 90; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you still need to give me the equivalent to " +(4000000-Golbenez_Inn_Cost)+ " Gold Pieces to go through this opening."; - end; - -} - - -// If Donated > 5M - Maze=9 - You have access to Santa - -031-3.gat,120,81,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 9) goto L_Golbenez; - warp "031-3.gat", 46, 27; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you are getting close to your objective but you still need to give me " +(5000000-Golbenez_Inn_Cost)+ " Gold Pieces to be able to find Santa."; - end; - -} -031-3.gat,46,24,0 script #ChristmasBarrier 127,1,1,{ - if (Maze < 9) goto L_Golbenez; - warp "031-3.gat", 120, 79; - end; -L_Golbenez: - message strcharinfo(0), "Golbenez: Mortal, you are getting close to your objective but you still need to give me " +(5000000-Golbenez_Inn_Cost)+ " Gold Pieces to be able to find Santa."; - end; - -} diff --git a/npc/031-3_Cave/_import.txt b/npc/031-3_Cave/_import.txt new file mode 100644 index 00000000..d28ddba7 --- /dev/null +++ b/npc/031-3_Cave/_import.txt @@ -0,0 +1,4 @@ +map: 031-3.gat +npc: npc/031-3_Cave/_mobs.txt +npc: npc/031-3_Cave/_warps.txt +npc: npc/031-3_Cave/labyrinth.txt diff --git a/npc/031-3_Cave/_mobs.txt b/npc/031-3_Cave/_mobs.txt new file mode 100644 index 00000000..e5c1ec59 --- /dev/null +++ b/npc/031-3_Cave/_mobs.txt @@ -0,0 +1,62 @@ +// 031-3 Cave mobs + +031-3.gat,38,50,52,75 monster Moggun 1061,5,100000,30000,Mob031-3::On1061 +031-3.gat,213,57,66,59 monster Santa Slime 1015,5,100000,30000,Mob031-3::On1015 +031-3.gat,39,144,52,75 monster Moggun 1061,5,100000,30000,Mob031-3::On1061 +031-3.gat,39,212,52,75 monster Moggun 1061,5,100000,30000,Mob031-3::On1061 +031-3.gat,282,142,52,75 monster Moggun 1061,5,100000,30000,Mob031-3::On1061 +031-3.gat,284,222,52,75 monster Moggun 1061,5,100000,30000,Mob031-3::On1061 +031-3.gat,99,271,52,75 monster Moggun 1061,5,100000,30000,Mob031-3::On1061 +031-3.gat,281,58,52,75 monster Moggun 1061,5,100000,30000,Mob031-3::On1061 +031-3.gat,0,0,0,0 monster Bat 1017,100,100000,30000,Mob031-3::On1017 +031-3.gat,48,48,83,61 monster Ice Goblin 1058,5,100000,30000,Mob031-3::On1058 +031-3.gat,122,50,83,61 monster Ice Goblin 1058,5,100000,30000,Mob031-3::On1058 +031-3.gat,117,140,83,61 monster Ice Goblin 1058,5,100000,30000,Mob031-3::On1058 +031-3.gat,212,142,83,61 monster Ice Goblin 1058,5,100000,30000,Mob031-3::On1058 +031-3.gat,211,276,83,61 monster Ice Goblin 1058,5,100000,30000,Mob031-3::On1058 +031-3.gat,117,207,83,61 monster Ice Goblin 1058,5,100000,30000,Mob031-3::On1058 +031-3.gat,231,213,83,61 monster Ice Goblin 1058,5,100000,30000,Mob031-3::On1058 +031-3.gat,261,265,83,61 monster Ice Goblin 1058,5,100000,30000,Mob031-3::On1058 +031-3.gat,280,56,66,59 monster Santa Slime 1015,5,100000,30000,Mob031-3::On1015 +031-3.gat,121,57,66,59 monster Santa Slime 1015,5,100000,30000,Mob031-3::On1015 +031-3.gat,120,143,66,59 monster Santa Slime 1015,5,100000,30000,Mob031-3::On1015 +031-3.gat,218,215,66,59 monster Santa Slime 1015,5,100000,30000,Mob031-3::On1015 +031-3.gat,285,216,66,59 monster Santa Slime 1015,5,100000,30000,Mob031-3::On1015 +031-3.gat,128,272,66,59 monster Santa Slime 1015,5,100000,30000,Mob031-3::On1015 +031-3.gat,212,279,66,59 monster Santa Slime 1015,5,100000,30000,Mob031-3::On1015 +031-3.gat,141,229,40,9 monster yeti 1072,3,100000,30000,Mob031-3::On1072 +031-3.gat,34,288,10,13 monster yeti 1072,3,100000,30000,Mob031-3::On1072 +031-3.gat,25,166,10,13 monster yeti 1072,3,100000,30000,Mob031-3::On1072 +031-3.gat,132,160,10,13 monster yeti 1072,3,100000,30000,Mob031-3::On1072 +031-3.gat,228,37,10,13 monster yeti 1072,3,100000,30000,Mob031-3::On1072 +031-3.gat,44,73,33,11 monster yeti 1072,1,100000,30000,Mob031-3::On1072 + + +031-3.gat,0,0,0 script Mob031-3 -1,{ +On1015: + set @mobID, 1015; + callfunc "MobPoints"; + break; + +On1017: + set @mobID, 1017; + callfunc "MobPoints"; + break; + +On1058: + set @mobID, 1058; + callfunc "MobPoints"; + break; + +On1061: + set @mobID, 1061; + callfunc "MobPoints"; + break; + +On1072: + set @mobID, 1072; + callfunc "MobPoints"; + break; + + end; +} diff --git a/npc/031-3_Cave/_warps.txt b/npc/031-3_Cave/_warps.txt new file mode 100644 index 00000000..13bb0b34 --- /dev/null +++ b/npc/031-3_Cave/_warps.txt @@ -0,0 +1,3 @@ +// 031-3 Cave warps + +031-3.gat,212,300 warp toOutside -1,-1,031-1.gat,76,26 diff --git a/npc/031-3_Cave/labyrinth.txt b/npc/031-3_Cave/labyrinth.txt new file mode 100755 index 00000000..89a0623a --- /dev/null +++ b/npc/031-3_Cave/labyrinth.txt @@ -0,0 +1,273 @@ +//################################################################################# +//# +//# Warps for the labyrinth on christmas 2010 +//# +//# Authors: alastrim, PjotrOrial +//# +//# reviewed by: +//# +//# This is a labyrinth, having lots of warps in there. +//# These warps are activated on different days. +//# For each way there are 2 warps: one way and its way back. +//# +//################################################################################# + + +031-3.gat,205,264,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 149, 261; + end; +} + +031-3.gat,149,259,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 205, 266; + end; +} + +// If Donated > 1M < 1.5M - Maze=2 + +031-3.gat,225,282,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 274, 299; + end; +} + +031-3.gat,274,300,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 225, 283; + end; +} + +// Second Warp + +031-3.gat,283,271,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 269, 244; + end; +} + +031-3.gat,269,245,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 283, 272; + end; +} + +031-3.gat,148,150,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 128, 134; + end; +} + +// Third Warp +031-3.gat,139,258,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 155, 196; + end; +} + +031-3.gat,155,195,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 139, 259; + end; +} + +// First Warp +031-3.gat,142,301,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 97, 298; + end; +} + +031-3.gat,97,301,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 142, 298; + end; +} + +// Second Warp +031-3.gat,135,196,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 106, 231; + end; +} + +031-3.gat,106,232,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 135, 197; + end; +} + +// Third Warp +031-3.gat,286,190,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 227, 241; + end; +} + +031-3.gat,227,242,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 286, 191; + end; +} + +// Fourth Warp + +031-3.gat,236,211,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 187, 227; + end; +} + +031-3.gat,187,228,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 236, 212; + end; +} + + + +// First Warp +031-3.gat,94,254,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 54, 253; + end; +} + +031-3.gat,54,250,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 94, 257; + end; +} + +// Second Warp + +031-3.gat,103,199,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 52, 175; + end; +} + +031-3.gat,52,177,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 103, 201; + end; +} + +// Third Warp + +031-3.gat,212,193,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 207, 165; + end; +} + +031-3.gat,207,168,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 212, 195; + end; +} + +// Fourth Warp + +031-3.gat,235,167,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 195, 124; + end; +} + +031-3.gat,195,122,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 235, 165; + end; +} + +// If Donated > 2.5M < 3M - Maze=5 +// first warp + +031-3.gat,296,97,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 292, 125; + end; +} +031-3.gat,292,123,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 296, 95; + end; +} +// second warp +031-3.gat,289,164,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 228, 123; + end; +} +031-3.gat,228,121,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 289, 162; + end; +} +// third warp +031-3.gat,24,157,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 31, 142; + end; +} +031-3.gat,31,144,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 24, 159; + end; +} +// forth warp +031-3.gat,36,249,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 35, 224; + end; +} + +031-3.gat,35,226,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 36, 251; + end; +} + +// first warp +031-3.gat,34,25,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 281, 25; + end; +} +031-3.gat,281,22,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 34, 28; + end; +} +// # second warp +031-3.gat,283,48,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 275, 74; + end; +} +031-3.gat,275,73,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 283, 47; + end; +} +// # third warp +031-3.gat,26,178,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 36, 202; + end; +} +031-3.gat,36,200,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 26, 176; + end; +} + +// first warp +031-3.gat,91,125,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 36, 78; + end; +} +031-3.gat,36,80,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 91, 127; + end; +} +// # second warp +031-3.gat,52,78,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 192, 72; + end; +} + +031-3.gat,192,70,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 52, 76; + end; +} + + +// If Donated > 4M < 5M - Maze=8 +// first warp +031-3.gat,128,135,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 148, 152; + end; +} + +// # second warp +031-3.gat,232,93,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 200, 47; + end; +} +031-3.gat,200,50,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 232, 90; + end; +} + +031-3.gat,120,81,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 46, 27; + end; +} +031-3.gat,46,24,0 script #ChristmasBarrier 127,1,1,{ + warp "031-3.gat", 120, 79; + end; +} diff --git a/npc/_import.txt b/npc/_import.txt index 09c7de0a..f94aa9cf 100644 --- a/npc/_import.txt +++ b/npc/_import.txt @@ -44,7 +44,7 @@ import: npc/018-1_Woodland_mining_camp/_import.txt import: npc/018-2_Woodland_mining_camp/_import.txt import: npc/018-3_Cave/_import.txt import: npc/019-1_Snow_field/_import.txt -import: npc/019-3_Snow_field/_import.txt +import: npc/019-3_Snow_Cave/_import.txt import: npc/020-1_Nivalis/_import.txt import: npc/020-2_Nivalis/_import.txt import: npc/020-3_Ice_cave/_import.txt @@ -64,5 +64,5 @@ import: npc/029-1_Candor/_import.txt import: npc/029-3_Fight_Cave/_import.txt import: npc/030-1_Snow_field/_import.txt import: npc/031-1_NivalisPort/_import.txt -import: npc/031-3/_import.txt +import: npc/031-3_Cave/_import.txt import: npc/botcheck/_import.txt diff --git a/npc/scripts.conf b/npc/scripts.conf index 26a91829..42622c1b 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -79,4 +79,4 @@ import: npc/_import.txt // Halloween 2010 // npc: npc/halloween/2010/gak.txt -import: npc/xmas/2010/_import.txt +// import: npc/xmas/2010/_import.txt -- cgit v1.2.3-70-g09d2 From c884add9efd2a76072a0be64c6c84c73dc0bb2bc Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Wed, 29 Dec 2010 21:20:39 +0100 Subject: Rescue Cindy quest works, except: rewards, yeti battle, npc sprites --- data/031-1.wlk | Bin 18948 -> 18948 bytes data/031-2.wlk | Bin 0 -> 2504 bytes data/resnametable.txt | 1 + npc/031-1_NivalisPort/_import.txt | 2 + npc/031-1_NivalisPort/angelaOutside.txt | 135 ++++++++++++++++++++++++++++++++ npc/031-1_NivalisPort/house.txt | 18 +++++ npc/031-2_Angelas_House/_import.txt | 5 ++ npc/031-2_Angelas_House/_mobs.txt | 7 ++ npc/031-2_Angelas_House/_warps.txt | 3 + npc/031-2_Angelas_House/angelaHouse.txt | 114 +++++++++++++++++++++++++++ npc/031-2_Angelas_House/cindyHouse.txt | 64 +++++++++++++++ npc/031-3_Cave/_import.txt | 1 + npc/031-3_Cave/cindyCave.txt | 123 +++++++++++++++++++++++++++++ npc/_import.txt | 1 + 14 files changed, 474 insertions(+) create mode 100644 data/031-2.wlk create mode 100644 npc/031-1_NivalisPort/angelaOutside.txt create mode 100644 npc/031-1_NivalisPort/house.txt create mode 100644 npc/031-2_Angelas_House/_import.txt create mode 100644 npc/031-2_Angelas_House/_mobs.txt create mode 100644 npc/031-2_Angelas_House/_warps.txt create mode 100644 npc/031-2_Angelas_House/angelaHouse.txt create mode 100644 npc/031-2_Angelas_House/cindyHouse.txt create mode 100644 npc/031-3_Cave/cindyCave.txt (limited to 'npc/_import.txt') diff --git a/data/031-1.wlk b/data/031-1.wlk index 7ecf1f2c..4341935a 100644 Binary files a/data/031-1.wlk and b/data/031-1.wlk differ diff --git a/data/031-2.wlk b/data/031-2.wlk new file mode 100644 index 00000000..4196520c Binary files /dev/null and b/data/031-2.wlk differ diff --git a/data/resnametable.txt b/data/resnametable.txt index 7d60c6c8..6a1efd92 100644 --- a/data/resnametable.txt +++ b/data/resnametable.txt @@ -66,5 +66,6 @@ 029-3.gat#029-3.wlk# 030-1.gat#030-1.wlk# 031-1.gat#031-1.wlk# +031-2.gat#031-2.wlk# 031-3.gat#031-3.wlk# botcheck.gat#botcheck.wlk# diff --git a/npc/031-1_NivalisPort/_import.txt b/npc/031-1_NivalisPort/_import.txt index 09d29af7..b1e59215 100644 --- a/npc/031-1_NivalisPort/_import.txt +++ b/npc/031-1_NivalisPort/_import.txt @@ -2,3 +2,5 @@ map: 031-1.gat npc: npc/031-1_NivalisPort/_mobs.txt npc: npc/031-1_NivalisPort/_warps.txt npc: npc/031-1_NivalisPort/frozenbeard.txt +npc: npc/031-1_NivalisPort/angelaOutside.txt +npc: npc/031-1_NivalisPort/house.txt diff --git a/npc/031-1_NivalisPort/angelaOutside.txt b/npc/031-1_NivalisPort/angelaOutside.txt new file mode 100644 index 00000000..3c10df46 --- /dev/null +++ b/npc/031-1_NivalisPort/angelaOutside.txt @@ -0,0 +1,135 @@ +// author: Jenalya +// reviewed by: +// state0: Angela is to upset to tell you anything, needs a concentration potion +// state1: got the mission to save Cindy +// state2 and state3: Cindy is saved Angela invites you to visit them for giving a reward +// state greater than 3: Angela invites and asks you to bring present boxes + +//TODO: picture +031-1.gat,79,24,0 script Angela 154, { + + set @Q_Nivalis_state_MASK, NIBBLE_5_MASK; + set @Q_Nivalis_state_SHIFT, NIBBLE_5_SHIFT; + + set @rescue_Cindy, ((QUEST_Nivalis_state & @Q_Nivalis_state_MASK) >> @Q_Nivalis_state_SHIFT); + +//TODO: remove DEBUG + mes "This menu is for debugging and will be removed"; + menu + "normal", L_normal, + "reset quest", -; + set @rescue_Cindy, 0; + callsub S_Update_Mask; + +L_normal: +////////////////////////////////// + if (@rescue_Cindy > 3) goto L_Please_Visit_Again; + if (@rescue_Cindy > 1) goto L_Please_Visit; + if (@rescue_Cindy == 1) goto L_Please_Help; + + mes "[Angela]"; + mes "\"Please, I need help! My little daugther!\""; + next; + mes "\"It's terrible, oh my dear child!\""; + next; + + if (countitem("ConcentrationPotion") > 0) goto L_Menu_Potion; + + menu + "\"Please calm down and tell me what happened.\"", L_Whining, + "Leave", -; + close; + +L_Whining: + mes "[Angela]"; +//TODO: add more whining, enough to make it annoying to read it all + mes "\"My poor little daugther, please! Oh no, oh no...\""; + next; + mes "\"We need to do something! My poor little Cindy! My cute little girl!\""; + next; + mes "\"It's so terrible, how could that happen? Please, I need help, it's so terrible.\""; + next; + mes "\"That awful filthy monsters - terrible!\""; + next; + mes "\"Oh Cindy, my little Cindy - oh no...\""; + next; + mes "\"Please help, we need to do something!\""; + next; + mes "\"It's so terrible, my poor cute little Cindy...\""; + next; + mes "\"Oh, when I think, what might happen to her right now!\""; + next; + mes "\"She is crying and sobbing.\""; + next; + mes "\"It seems, she is too upset to tell you anything helpful. If she would just calm down and concentrate a bit...\""; + close; + +L_Menu_Potion: + menu + "\"Please calm down and tell me what happened.\"", L_Whining, + "Give her a concentration potion.", L_Calm_Down, + "Leave", -; + close; + +L_Calm_Down: + if (countitem("ConcentrationPotion") == 0) goto L_No_Potion; + delitem "ConcentrationPotion", 1; + mes "She drinks the concentration potions and calm down."; + mes "[Angela]"; + mes "\"Thank you, this was helpful.\""; + next; + mes "\"My daughter Cindy and me were on our way to Santa, to bring him some presents. Many people here in Nivalis are helping Santa with his business.\""; + next; + mes "\"When we passed the entrance of this cave, a pack of Yetis came out there. It's disturbing, usually, they are very shy.\""; + next; + mes "\"We tried to run away, but there were to many of them. They took my poor little Cindy and all the presents with them.\""; + next; + mes "\"Oh my poor little girl. I'm so worried - what might they do with her? Oh no!\""; + next; + mes "\"You look like an adventurer! Please, can you go in that cave and rescue my little Cindy? I beg you for help!\""; + set @rescue_Cindy, 1; + callsub S_Update_Mask; + close; + +L_No_Potion: + mes "You don't have a concentration potion."; + close; + +L_Please_Help: + mes "[Angela]"; + mes "\"Please rescue my daughter!\""; + close; + +L_Please_Visit: + mes "[Angela]"; + mes "\"Thank you so much for rescueing my beloved Cindy. Please come to visit us in our house at the beach.\""; + next; + mes "\"My husband is an adventurer like you, and I want to give you something he got on his travels to show my gratitude.\""; + close; + +L_Please_Visit_Again: + mes "[Angela]"; + mes "\"Hello! You are welcome to visit us in our house at the beach everytime. Cindy loves to see you!\""; + next; + mes "\"If you have found any present boxes, the Yetis took away, please bring them to our house. Usually, the Yetis are very shy... their behavior is a bit odd.\""; + close; + +S_Update_Mask: + set QUEST_Nivalis_state, + (QUEST_Nivalis_state & ~(@Q_Nivalis_state_MASK)) + | (@rescue_Cindy << @Q_Nivalis_state_SHIFT); + return; +} + + + + + + + + + + + + + diff --git a/npc/031-1_NivalisPort/house.txt b/npc/031-1_NivalisPort/house.txt new file mode 100644 index 00000000..c81185d3 --- /dev/null +++ b/npc/031-1_NivalisPort/house.txt @@ -0,0 +1,18 @@ +// here is based on the queststatus for the rescue Cindy quest, if the player can enter +// player can enter, if Cindy is already saved and the player has been invited, quest status > 2 +// author: Jenalya + +031-1.gat,95,80,0 script #Door 127,1,1,{ + set @Q_Nivalis_state_MASK, NIBBLE_5_MASK; + set @Q_Nivalis_state_SHIFT, NIBBLE_5_SHIFT; + + set @rescue_Cindy, ((QUEST_Nivalis_state & @Q_Nivalis_state_MASK) >> @Q_Nivalis_state_SHIFT); + + if (@rescue_Cindy > 2) goto L_Warp; + mes "The door is locked."; + close; + +L_Warp: + warp "031-2.gat", 23, 28; + end; +} diff --git a/npc/031-2_Angelas_House/_import.txt b/npc/031-2_Angelas_House/_import.txt new file mode 100644 index 00000000..20c36fe2 --- /dev/null +++ b/npc/031-2_Angelas_House/_import.txt @@ -0,0 +1,5 @@ +map: 031-2.gat +npc: npc/031-2_Angelas_House/_mobs.txt +npc: npc/031-2_Angelas_House/_warps.txt +npc: npc/031-2_Angelas_House/cindyHouse.txt +npc: npc/031-2_Angelas_House/angelaHouse.txt diff --git a/npc/031-2_Angelas_House/_mobs.txt b/npc/031-2_Angelas_House/_mobs.txt new file mode 100644 index 00000000..fadd5d5c --- /dev/null +++ b/npc/031-2_Angelas_House/_mobs.txt @@ -0,0 +1,7 @@ +// 031-2 Angela's House mobs + + + +031-2.gat,0,0,0 script Mob031-2 -1,{ + end; +} diff --git a/npc/031-2_Angelas_House/_warps.txt b/npc/031-2_Angelas_House/_warps.txt new file mode 100644 index 00000000..82dfa41c --- /dev/null +++ b/npc/031-2_Angelas_House/_warps.txt @@ -0,0 +1,3 @@ +// 031-2 Angela's House warps + +031-2.gat,23,30 warp door -1,-1,031-1.gat,95,82 diff --git a/npc/031-2_Angelas_House/angelaHouse.txt b/npc/031-2_Angelas_House/angelaHouse.txt new file mode 100644 index 00000000..93ea2228 --- /dev/null +++ b/npc/031-2_Angelas_House/angelaHouse.txt @@ -0,0 +1,114 @@ +// author: Jenalya +// reviewed by: +// state0, 1, 2: you shouldn't be able to come here +// state3: it's your first visit, you can choose a reward +// state4: you can do daily quests with white and yellow presents boxes +// + +//TODO: picture +031-2.gat,24,26,0 script Angela 154, { + + set @Q_Nivalis_state_MASK, NIBBLE_5_MASK; + set @Q_Nivalis_state_SHIFT, NIBBLE_5_SHIFT; + + set @rescue_Cindy, ((QUEST_Nivalis_state & @Q_Nivalis_state_MASK) >> @Q_Nivalis_state_SHIFT); + + if (@rescue_Cindy == 4) goto L_Hello_Again; + if (@rescue_Cindy == 3) goto L_Reward; + + mes "..."; + close; + +L_Reward: + mes "[Angela]"; + mes "\"Hello " + strcharinfo(0) + ", thank you again. I'm so glad, Cindy is back home safe.\""; + next; + mes "\"As I told you, my husband is an adventurer. He is at one of his travels, so he couldn't rescue Cindy himself.\""; + next; + mes "\"I want to give you one of his treasures. Beside of all the junk he brings, there are some very valuable things.\""; + next; + mes "\"This item is called the Rock Knife. When you wield it, you feel as robust as a rock.\""; + + getinventorylist; + if (@inventorylist_count == 100) goto L_Full_Inv; + + getitem "RockKnife", 1; + + set @rescue_Cindy, 4; + callsub S_Update_Mask; + + next; + mes "\"I hope, this will be useful for you.\""; + next; + mes "\"I's so glad, Cindy is save now. But there is still another problem. The Yetis took away all the white and yellow present boxes we wanted to bring to Santa!\""; + next; + mes "\"Usually, Yetis are very shy - I wonder why they do that. There is something strange going on.\""; + next; + mes "\"May I ask you for help again? I'll give you a small reward for every 3 boxes of one color you bring me.\""; + close; + +L_Full_Inv: + mes "\"Oh, it seems you carry so much stuff - I will keep it for you until you can take it.\""; + close; + +L_Hello_Again: + mes "[Angela]"; + mes "\"Hello! Good to see you again. Please warm yourself.\""; + next; + menu + "I just wanted to say hello.",-, + "I have some yellow present boxes.",L_Yellow, + "I have some white present boxes.",L_White; + close; + +L_Yellow: + set @dq_level, 70; + set @dq_cost, 32; + set @dq_count, 3; + set @dq_name$, "YellowPresentBox"; + set @dq_friendly_name$, "yellow present box"; + set @dq_money, 5300; + set @dq_exp, 1300; + + callfunc "DailyQuest"; + + next; + + if (@dq_return ==4) mes "\"Santa will be glad to have them back.\""; + close; + +L_White: + set @dq_level, 80; + set @dq_cost, 64; + set @dq_count, 3; + set @dq_name$, "WhitePresentBox"; + set @dq_friendly_name$, "white present box"; + set @dq_money, 10800; + set @dq_exp, 2800; + + callfunc "DailyQuest"; + + next; + + if (@dq_return ==4) mes "\"You are a great help!\""; + close; + +S_Update_Mask: + set QUEST_Nivalis_state, + (QUEST_Nivalis_state & ~(@Q_Nivalis_state_MASK)) + | (@rescue_Cindy << @Q_Nivalis_state_SHIFT); + return; +} + + + + + + + + + + + + + diff --git a/npc/031-2_Angelas_House/cindyHouse.txt b/npc/031-2_Angelas_House/cindyHouse.txt new file mode 100644 index 00000000..4dc6b595 --- /dev/null +++ b/npc/031-2_Angelas_House/cindyHouse.txt @@ -0,0 +1,64 @@ +// author: Jenalya +// reviewed by: +// state0,1,2: you shouldn't be able to reach this place +// state3 and greater: Cindy is saved, she says one of some random phrases +// + +//TODO: picture +031-2.gat,22,25,0 script Cindy 114, { + + set @Q_Nivalis_state_MASK, NIBBLE_5_MASK; + set @Q_Nivalis_state_SHIFT, NIBBLE_5_SHIFT; + + set @rescue_Cindy, ((QUEST_Nivalis_state & @Q_Nivalis_state_MASK) >> @Q_Nivalis_state_SHIFT); + + if (@rescue_Cindy > 2) goto L_Happy_Random; + + mes "..."; + close; + +L_Happy_Random: + getinventorylist; + set @candy, rand(50); + if (@inventorylist_count < 100 && @candy == 42) goto L_Candy; + + setarray @quote_Cindy$, "Thank you so much for rescueing me!", + "My mother made really tasty cookies yesterday. But I already ate them all...", + "I want to go ice skating tomorrow. That will be fun!", + "I wonder, when Daddy will come home next time. He always brings exciting stuff!", + strcharinfo(0) + "! You're my hero!", + "My mother is so upset about the Yetis - they are very very shy usually. You have to be lucky to see one. I wonder, what's wrong with them.", + "When I'm a little older, I want to travel like you do and my father. I want to see every place on the world!", + "Did you ever meet Santa? He's very kind! He always gives me some candy, when we go to see him.", + strcharinfo(0) + ", you are sooo strong! Amazing! But my dad is strong too!"; + set @random, rand(9); + set @quote$, "\"" + @quote_Cindy$[@random] + "\""; + mes "[Cindy]"; + mes @quote$; + close; + +L_Candy: + mes "[Cindy]"; + mes "\"Santa gave me some candy! Please, take that!\""; + getitem "Candy", 1; + close; + +S_Update_Mask: + set QUEST_Nivalis_state, + (QUEST_Nivalis_state & ~(@Q_Nivalis_state_MASK)) + | (@rescue_Cindy << @Q_Nivalis_state_SHIFT); + return; +} + + + + + + + + + + + + + diff --git a/npc/031-3_Cave/_import.txt b/npc/031-3_Cave/_import.txt index d28ddba7..1f56c50d 100644 --- a/npc/031-3_Cave/_import.txt +++ b/npc/031-3_Cave/_import.txt @@ -2,3 +2,4 @@ map: 031-3.gat npc: npc/031-3_Cave/_mobs.txt npc: npc/031-3_Cave/_warps.txt npc: npc/031-3_Cave/labyrinth.txt +npc: npc/031-3_Cave/cindyCave.txt diff --git a/npc/031-3_Cave/cindyCave.txt b/npc/031-3_Cave/cindyCave.txt new file mode 100644 index 00000000..738868d6 --- /dev/null +++ b/npc/031-3_Cave/cindyCave.txt @@ -0,0 +1,123 @@ +// author: Jenalya +// reviewed by: +// state0: Cindy is totally scared and does nothing helpful +// state1: you are able to open the cage +// state2 and greater: Cindy is saved, she asks you to visit them +// + +//TODO: picture +031-3.gat,122,51,0 script Cindy 114, { + set @KEYS_AMOUNT, 10; + + set @Q_Nivalis_state_MASK, NIBBLE_5_MASK; + set @Q_Nivalis_state_SHIFT, NIBBLE_5_SHIFT; + + set @rescue_Cindy, ((QUEST_Nivalis_state & @Q_Nivalis_state_MASK) >> @Q_Nivalis_state_SHIFT); + + if (Sex == 0) set @title$, "Misses"; + if (Sex == 1) set @title$, "Mister"; + + if (@rescue_Cindy >= 3) goto L_Please_Visit; + if (@rescue_Cindy == 2) goto L_Reward; + if (@rescue_Cindy == 1) goto L_Please_Help; + + mes "There is a little girl in a cage. As you come near, she starts to shiver and back off from you as far as she can in that small cage."; + next; + mes "You don't know, what to do."; + close; + +L_Please_Help: + mes "There is a little girl in a cage. As you come near, she starts to shiver and back off from you as far as she can in that small cage."; + next; + menu + "Hello Cindy, I'm here to save you.", - ; + mes "Cindy doesn't look so scared anymore."; + next; + mes "[Cindy]"; + mes "\"Hello, dear " + @title$ + " adventurer. Did my mother send you?\""; + next; + mes "\"It's so cold in here! Can you please open the cage?\""; + next; + mes "\"But be careful, if the Yetis hear you, they will come!\""; + menu + "Try to open the cage", L_Try_Cage, + "Leave", -; + close; + +L_Try_Cage: + if (countitem("TreasureKey") < @KEYS_AMOUNT) goto L_Not_Enough_Keys; + delitem "TreasureKey", @KEYS_AMOUNT; + mes "As you try to open the door of the cage, there is a loudly squeaking noise."; + next; + mes "You get an uncomfortable feeling and Cindy starts to shiver."; + next; + mes "\"Oh no, the Yetis...\""; +//TODO: start the battle and set state2 in case of success + mes "DEBUG: ADD YETIFIGHT HERE, QUEST VARIABLE INCREASED"; + set @rescue_Cindy, 2; + callsub S_Update_Mask; + close; + +L_Reward: + mes "[Cindy]"; + mes "\"You are a hero! All this strong monsters!\""; + next; + mes "\"I've found this thing in the cave - it looks valuable. I want you to have it.\""; + next; + getinventorylist; + if (@inventorylist_count == 100) goto L_Full_Inv; + + set @reward, rand(1); + if (@reward == 1) goto L_Wizard_Hat; + //TODO: set right, when quarterstaff is in item_db + //getitem "QuarterStaff", 1; + mes "DEBUG: GET ACORN INSTEAD OF QUARTERSTAFF"; + getitem "acorn", 1; + goto L_Visit; + +L_Wizard_Hat: + //TODO: set right, when quarterstaff is in item_db + //getitem "WizardHat", 1; + mes "DEBUG: GET ACORN INSTEAD OF WIZARDHAT"; + getitem "acorn", 1; + +L_Visit: + mes "\"Thank you so much, please come to my home. It's the house at the beach.\""; + next; + mes "\"I'm sure, my mother want to thank you as well.\""; + set @rescue_Cindy, 3; + callsub S_Update_Mask; + close; + +L_Please_Visit: + mes "[Cindy]"; + mes "\"Thank you, thank you! You're a hero! Please come home with me to our house at the beach!\""; + close; + +L_Not_Enough_Keys: + mes "You don't have enough keys to open the cage."; + close; + +L_Full_Inv: + mes "\"Oh, it seems you carry so much stuff - I will keep it for you until you can take it.\""; + close; + +S_Update_Mask: + set QUEST_Nivalis_state, + (QUEST_Nivalis_state & ~(@Q_Nivalis_state_MASK)) + | (@rescue_Cindy << @Q_Nivalis_state_SHIFT); + return; +} + + + + + + + + + + + + + diff --git a/npc/_import.txt b/npc/_import.txt index f94aa9cf..55141677 100644 --- a/npc/_import.txt +++ b/npc/_import.txt @@ -64,5 +64,6 @@ import: npc/029-1_Candor/_import.txt import: npc/029-3_Fight_Cave/_import.txt import: npc/030-1_Snow_field/_import.txt import: npc/031-1_NivalisPort/_import.txt +import: npc/031-2_Angelas_House/_import.txt import: npc/031-3_Cave/_import.txt import: npc/botcheck/_import.txt -- cgit v1.2.3-70-g09d2 From 9b262cd983c37405c3d20a508bf1d0f78c53345f Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Mon, 3 Jan 2011 20:48:08 +0100 Subject: setting miriam to a new map 032-1 That map is reachable when you go west of pachua through that little cave. --- data/006-1.wlk | Bin 22504 -> 22504 bytes data/032-1.wlk | Bin 0 -> 10004 bytes data/032-3.wlk | Bin 0 -> 16004 bytes data/resnametable.txt | 3 + npc/006-1_Desert_mountains/_import.txt | 1 - npc/006-1_Desert_mountains/_warps.txt | 1 + npc/006-1_Desert_mountains/miriam.txt | 141 -------------------------------- npc/016-1_Woodland/_import.txt | 2 +- npc/032-1_Outback/_import.txt | 4 + npc/032-1_Outback/_mobs.txt | 7 ++ npc/032-1_Outback/_warps.txt | 3 + npc/032-1_Outback/miriam.txt | 142 +++++++++++++++++++++++++++++++++ npc/032-3_Cave/_import.txt | 3 + npc/032-3_Cave/_mobs.txt | 7 ++ npc/032-3_Cave/_warps.txt | 4 + npc/_import.txt | 2 + 16 files changed, 177 insertions(+), 143 deletions(-) create mode 100644 data/032-1.wlk create mode 100644 data/032-3.wlk delete mode 100644 npc/006-1_Desert_mountains/miriam.txt create mode 100644 npc/032-1_Outback/_import.txt create mode 100644 npc/032-1_Outback/_mobs.txt create mode 100644 npc/032-1_Outback/_warps.txt create mode 100644 npc/032-1_Outback/miriam.txt create mode 100644 npc/032-3_Cave/_import.txt create mode 100644 npc/032-3_Cave/_mobs.txt create mode 100644 npc/032-3_Cave/_warps.txt (limited to 'npc/_import.txt') diff --git a/data/006-1.wlk b/data/006-1.wlk index 49ddb542..680b6096 100644 Binary files a/data/006-1.wlk and b/data/006-1.wlk differ diff --git a/data/032-1.wlk b/data/032-1.wlk new file mode 100644 index 00000000..007631fd Binary files /dev/null and b/data/032-1.wlk differ diff --git a/data/032-3.wlk b/data/032-3.wlk new file mode 100644 index 00000000..235ddaa1 Binary files /dev/null and b/data/032-3.wlk differ diff --git a/data/resnametable.txt b/data/resnametable.txt index 6a1efd92..cd3404e8 100644 --- a/data/resnametable.txt +++ b/data/resnametable.txt @@ -68,4 +68,7 @@ 031-1.gat#031-1.wlk# 031-2.gat#031-2.wlk# 031-3.gat#031-3.wlk# +032-1.gat#032-1.wlk# +032-3.gat#032-3.wlk# + botcheck.gat#botcheck.wlk# diff --git a/npc/006-1_Desert_mountains/_import.txt b/npc/006-1_Desert_mountains/_import.txt index 724fb642..4b1bddea 100644 --- a/npc/006-1_Desert_mountains/_import.txt +++ b/npc/006-1_Desert_mountains/_import.txt @@ -2,5 +2,4 @@ map: 006-1.gat npc: npc/006-1_Desert_mountains/_mobs.txt npc: npc/006-1_Desert_mountains/_warps.txt npc: npc/006-1_Desert_mountains/mika.txt -npc: npc/006-1_Desert_mountains/miriam.txt npc: npc/006-1_Desert_mountains/pachua.txt diff --git a/npc/006-1_Desert_mountains/_warps.txt b/npc/006-1_Desert_mountains/_warps.txt index 823e937e..32d267e7 100644 --- a/npc/006-1_Desert_mountains/_warps.txt +++ b/npc/006-1_Desert_mountains/_warps.txt @@ -32,3 +32,4 @@ 006-1.gat,38,121 warp ToCave -1,-1,006-3.gat,38,122 006-1.gat,74,90 warp ToCave -1,-1,006-3.gat,74,91 006-1.gat,51,90 warp ToCave -1,-1,006-3.gat,51,91 +006-1.gat,30,123 warp ToCave -1,-1,032-3.gat,128,31 diff --git a/npc/006-1_Desert_mountains/miriam.txt b/npc/006-1_Desert_mountains/miriam.txt deleted file mode 100644 index e119e0f9..00000000 --- a/npc/006-1_Desert_mountains/miriam.txt +++ /dev/null @@ -1,141 +0,0 @@ -// NPC place is provisory -006-1.gat,74,95,0 script Miriam 175,{ - - if (getskilllv(SKILL_SPEED)) goto L_fast; - if (getequipid(equip_torso) < 0) goto L_naked; - if (QUEST_MIRIAM_run != 0) goto L_checktime; - if (QUEST_MIRIAM_start != 0) goto L_wasting; - -L_teach: - mes "[Miriam]"; - mes "\"Hey, what is your problem? Why were you running like that? Are you hurt? Why so slow? I have seen slimes way faster than this!\""; - next; - menu - "What? Slow down! One question per time...", -, - "It seems like you need a rest.", L_rest; - - set @agi, readparam(bAgi); - set @torso$, getitemname(getequipid(equip_torso)); - set @weight, MaxWeight/Weight; - if (@weight < 3) goto L_heavyweight; - if (@agi < 90) goto L_slow; - if (countitem("SteelShield") > 0 || countitem("WarlordHelmet") > 0 || countitem("CrusadeHelmet") > 0 || countitem("WarlordPlate") > 0 || countitem("KnightsHelmet") > 0 || countitem("InfantryHelmet") > 0 || countitem("ChainmailShirt") > 0) goto L_heavymetal; - goto L_offer; - -L_heavyweight: - mes "[Miriam]"; - mes "\"Wow... Why do you carry so many things with you? You must be carrying more than one third of your own weight! I can't understand it... \""; - close; - -L_heavymetal: - mes "[Miriam]"; - mes "\"Hmm... I see... Another lazy slow warrior wasting his strenght carrying kilos of metal clothes... You people are very popular these days... \""; - next; - mes "\"Why no one sees the great advantages of a beautiful, flexible, lightweight armor nowadays? \""; - close; - -L_slow: - mes "[Miriam]"; - mes "Oh, wait, wait... " +@agi+ " Agility? Are you serious? What do you do with all your Character points? Put them all to 'Strenght'? Really... I dont even want to know... \""; - close; - -L_offer: - mes "[Miriam]"; - mes "\"Hmm! Even though you move like a snail, you look great on these clothes! They look very confortable too... And it seems like you are not carrying too much weight.\""; - next; - if (!(getskilllv(SKILL_POOL))) goto L_noskill; - menu - "Yes, I really like this " +@torso$+ ".",-; - next; - mes "[Miriam]"; - mes "\"I see. I like the way you distributed your Character Points... " +@agi+ " points to Agility! You really know how to prepare yourself to a good fight!\""; - next; - mes "\"Well... I do not do this very often, but you really have a potential to be a good fighter and moving the way you do will not help! \""; - next; - mes "\"So, if you pass a small test I can teach you a skill! It will be very useful for you, since it can increase your running speed.\""; - next; - menu - "I'm in! What kind of test is it?",-, - "I dont think I need more speed right now",L_giveup; - next; - mes "[Miriam]"; - mes "\"Great! The test is simple. You need to run as fast as you can from the place where I am sitting to the mountains and talk to Pachua, the chief. When you get there and talk to Pachua, he will send a special smoke signal to me, so I can know how much time it took for you to go there.\""; - next; - mes "\"If you make it in a good time, I will teach you the special speeding skill, if not, you can always try again. So, are you ready?\""; - next; - menu - "Yes, let's do it!",-, - "No, I need to stretch my muscles first!",L_stretch; - - close2; - message strcharinfo(0), "Miriam quickly grabs your arm and pull you to the place where she is sitting."; - // Warp the player to the place where the NPC is defined, so he can't cheat. - warp "006-1.gat",75,101; - npctalk "Run " +strcharinfo(0)+ ", run!"; - set QUEST_MIRIAM_start, gettimetick(1); - end; - -L_naked: - mes "[Miriam]"; - mes "\"Hmmm?! Please put on some clothes before talking to me.\""; - close; - -L_rest: - mes "[Miriam]"; - mes "\"I don't need to rest. In fact, it seems like you need some serious workout sessions to improve your physical skills!\""; - close; - -L_noskill: - mes "[Miriam]"; - mes "\"For a person like you, I could even teach a useful skill! Too bad you don't have the basic abillities to learn it...\""; - close; - -L_giveup: - mes "[Miriam]"; - mes "\"Oh, that is bad... But if you change your mind, come back!\""; - close; - -L_stretch: - mes "[Miriam]"; - mes "\"Ok. Good idea... Stretching exercises can increase your flexibility and even prevent injuries!\""; - close; - -L_wasting: - mes "[Miriam]"; - mes "\"Don't waste your time talking to me! RUN and talk to Pachua!\""; - close; - -L_checktime: - if (QUEST_MIRIAM_run > 60) goto L_tryagain; - if (QUEST_MIRIAM_run <= 60) goto L_goodjob; - -L_tryagain: - mes "[Miriam]"; - mes "\"You needed " + QUEST_MIRIAM_run + " seconds to reach Pachua. It is not enough.\""; - set QUEST_MIRIAM_run, 0; - close; - -L_goodjob: - mes "[Miriam]"; - mes "\"Great job! You needed " + QUEST_MIRIAM_run + " seconds to reach Pachua. Very impressive for a person like you.\""; - next; - mes "\"Now I need you to relax. Do NOT move. This teaching process can be painful sometimes.\""; - next; - mes "Miriam stares into your eyes and starts to scream some strange words very close to your ears."; - next; - mes "You feel dizzy and as soon as you move your head and look to the ground, Miriam pushes you hard, sending you meters away from her."; - close2; -// warp player a few tiles back - Write it when the NPC place is defined - set QUEST_MIRIAM_run, 0; - message strcharinfo(0), "[You gain 2500 experience points]"; - message strcharinfo(0), "[You learned Speed Skill]"; - setskill SKILL_SPEED, 1; - getexp 2500, 0; - close; - -L_fast: - mes "[Miriam]"; - mes "\"I hope you make a good use of your new skill... Take care!\""; - close; - -} diff --git a/npc/016-1_Woodland/_import.txt b/npc/016-1_Woodland/_import.txt index 29ac9eff..cab6a4ac 100644 --- a/npc/016-1_Woodland/_import.txt +++ b/npc/016-1_Woodland/_import.txt @@ -1,5 +1,5 @@ map: 016-1.gat npc: npc/016-1_Woodland/_mobs.txt npc: npc/016-1_Woodland/_warps.txt -npc: npc/016-1_Woodland/monsters.txt npc: npc/016-1_Woodland/gwendolyn.txt +npc: npc/016-1_Woodland/monsters.txt diff --git a/npc/032-1_Outback/_import.txt b/npc/032-1_Outback/_import.txt new file mode 100644 index 00000000..ee0758e4 --- /dev/null +++ b/npc/032-1_Outback/_import.txt @@ -0,0 +1,4 @@ +map: 032-1.gat +npc: npc/032-1_Outback/_mobs.txt +npc: npc/032-1_Outback/_warps.txt +npc: npc/032-1_Outback/miriam.txt diff --git a/npc/032-1_Outback/_mobs.txt b/npc/032-1_Outback/_mobs.txt new file mode 100644 index 00000000..e24c0fde --- /dev/null +++ b/npc/032-1_Outback/_mobs.txt @@ -0,0 +1,7 @@ +// 032-1 Outback mobs + + + +032-1.gat,0,0,0 script Mob032-1 -1,{ + end; +} diff --git a/npc/032-1_Outback/_warps.txt b/npc/032-1_Outback/_warps.txt new file mode 100644 index 00000000..254b8738 --- /dev/null +++ b/npc/032-1_Outback/_warps.txt @@ -0,0 +1,3 @@ +// 032-1 Outback warps + +032-1.gat,64,52 warp ToCave -1,-1,031-3.gat,56,59 diff --git a/npc/032-1_Outback/miriam.txt b/npc/032-1_Outback/miriam.txt new file mode 100644 index 00000000..d42d904e --- /dev/null +++ b/npc/032-1_Outback/miriam.txt @@ -0,0 +1,142 @@ +// NPC place is provisory +032-1.gat,55,20,0 script Miriam 175,{ + + if (getskilllv(SKILL_SPEED)) goto L_fast; + if (getequipid(equip_torso) < 0) goto L_naked; + if (QUEST_MIRIAM_run != 0) goto L_checktime; + if (QUEST_MIRIAM_start != 0) goto L_wasting; + +L_teach: + mes "[Miriam]"; + mes "\"Hey, what is your problem? Why were you running like that? Are you hurt? Why so slow? I have seen slimes way faster than this!\""; + next; + menu + "What? Slow down! One question per time...", -, + "It seems like you need a rest.", L_rest; + + set @agi, readparam(bAgi); + set @torso$, getitemname(getequipid(equip_torso)); + set @weight, MaxWeight/Weight; + if (@weight < 3) goto L_heavyweight; + if (@agi < 90) goto L_slow; + if (countitem("SteelShield") > 0 || countitem("WarlordHelmet") > 0 || countitem("CrusadeHelmet") > 0 || countitem("WarlordPlate") > 0 || countitem("KnightsHelmet") > 0 || countitem("InfantryHelmet") > 0 || countitem("ChainmailShirt") > 0) goto L_heavymetal; + goto L_offer; + +L_heavyweight: + mes "[Miriam]"; + mes "\"Wow... Why do you carry so many things with you? You must be carrying more than one third of your own weight! I can't understand it... \""; + close; + +L_heavymetal: + mes "[Miriam]"; + mes "\"Hmm... I see... Another lazy slow warrior wasting his strenght carrying kilos of metal clothes... You people are very popular these days... \""; + next; + mes "\"Why no one sees the great advantages of a beautiful, flexible, lightweight armor nowadays? \""; + close; + +L_slow: + mes "[Miriam]"; + mes "Oh, wait, wait... " +@agi+ " Agility? Are you serious? What do you do with all your Character points? Put them all to 'Strenght'? Really... I dont even want to know... \""; + close; + +L_offer: + mes "[Miriam]"; + mes "\"Hmm! Even though you move like a snail, you look great on these clothes! They look very confortable too... And it seems like you are not carrying too much weight.\""; + next; + if (!(getskilllv(SKILL_POOL))) goto L_noskill; + menu + "Yes, I really like this " +@torso$+ ".",-; + next; + mes "[Miriam]"; + mes "\"I see. I like the way you distributed your Character Points... " +@agi+ " points to Agility! You really know how to prepare yourself to a good fight!\""; + next; + mes "\"Well... I do not do this very often, but you really have a potential to be a good fighter and moving the way you do will not help! \""; + next; + mes "\"So, if you pass a small test I can teach you a skill! It will be very useful for you, since it can increase your running speed.\""; + next; + menu + "I'm in! What kind of test is it?",-, + "I dont think I need more speed right now",L_giveup; + next; + mes "[Miriam]"; + mes "\"Great! The test is simple. You need to run as fast as you can from the place where I am sitting to the mountains and talk to Pachua, the chief. When you get there and talk to Pachua, he will send a special smoke signal to me, so I can know how much time it took for you to go there.\""; + next; + mes "\"If you make it in a good time, I will teach you the special speeding skill, if not, you can always try again. So, are you ready?\""; + next; + menu + "Yes, let's do it!",-, + "No, I need to stretch my muscles first!",L_stretch; + + close2; + message strcharinfo(0), "Miriam quickly grabs your arm and pull you to the place where she is sitting."; + // Warp the player to the place where the NPC is defined, so he can't cheat. + warp "032-1.gat",55,21; + npctalk "Run " +strcharinfo(0)+ ", run!"; + set QUEST_MIRIAM_start, gettimetick(1); + end; + +L_naked: + mes "[Miriam]"; + mes "\"Hmmm?! Please put on some clothes before talking to me.\""; + close; + +L_rest: + mes "[Miriam]"; + mes "\"I don't need to rest. In fact, it seems like you need some serious workout sessions to improve your physical skills!\""; + close; + +L_noskill: + mes "[Miriam]"; + mes "\"For a person like you, I could even teach a useful skill! Too bad you don't have the basic abillities to learn it...\""; + close; + +L_giveup: + mes "[Miriam]"; + mes "\"Oh, that is bad... But if you change your mind, come back!\""; + close; + +L_stretch: + mes "[Miriam]"; + mes "\"Ok. Good idea... Stretching exercises can increase your flexibility and even prevent injuries!\""; + close; + +L_wasting: + mes "[Miriam]"; + mes "\"Don't waste your time talking to me! RUN and talk to Pachua!\""; + close; + +L_checktime: + if (QUEST_MIRIAM_run > 60) goto L_tryagain; + if (QUEST_MIRIAM_run <= 60) goto L_goodjob; + +L_tryagain: + mes "[Miriam]"; + mes "\"You needed " + QUEST_MIRIAM_run + " seconds to reach Pachua. It is not enough.\""; + set QUEST_MIRIAM_run, 0; + close; + +L_goodjob: + mes "[Miriam]"; + mes "\"Great job! You needed " + QUEST_MIRIAM_run + " seconds to reach Pachua. Very impressive for a person like you.\""; + next; + mes "\"Now I need you to relax. Do NOT move. This teaching process can be painful sometimes.\""; + next; + mes "Miriam stares into your eyes and starts to scream some strange words very close to your ears."; + next; + mes "You feel dizzy and as soon as you move your head and look to the ground, Miriam pushes you hard, sending you meters away from her."; + close2; +// warp player a few tiles back - Write it when the NPC place is defined + warp "032-1.gat",55,22; + set QUEST_MIRIAM_run, 0; + message strcharinfo(0), "[You gain 2500 experience points]"; + message strcharinfo(0), "[You learned Speed Skill]"; + setskill SKILL_SPEED, 1; + getexp 2500, 0; + close; + +L_fast: + mes "[Miriam]"; + mes "\"I hope you make a good use of your new skill... Take care!\""; + close; + +} diff --git a/npc/032-3_Cave/_import.txt b/npc/032-3_Cave/_import.txt new file mode 100644 index 00000000..de6feea0 --- /dev/null +++ b/npc/032-3_Cave/_import.txt @@ -0,0 +1,3 @@ +map: 032-3.gat +npc: npc/032-3_Cave/_mobs.txt +npc: npc/032-3_Cave/_warps.txt diff --git a/npc/032-3_Cave/_mobs.txt b/npc/032-3_Cave/_mobs.txt new file mode 100644 index 00000000..ea5bb75a --- /dev/null +++ b/npc/032-3_Cave/_mobs.txt @@ -0,0 +1,7 @@ +// 032-3 Cave mobs + + + +032-3.gat,0,0,0 script Mob032-3 -1,{ + end; +} diff --git a/npc/032-3_Cave/_warps.txt b/npc/032-3_Cave/_warps.txt new file mode 100644 index 00000000..d27b4bc2 --- /dev/null +++ b/npc/032-3_Cave/_warps.txt @@ -0,0 +1,4 @@ +// 032-3 Cave warps + +032-3.gat,128,33 warp ToDesert -1,-1,006-1.gat,30,124 +032-3.gat,56,61 warp toDesert -1,-1,032-1.gat,64,53 diff --git a/npc/_import.txt b/npc/_import.txt index 55141677..990c5315 100644 --- a/npc/_import.txt +++ b/npc/_import.txt @@ -66,4 +66,6 @@ import: npc/030-1_Snow_field/_import.txt import: npc/031-1_NivalisPort/_import.txt import: npc/031-2_Angelas_House/_import.txt import: npc/031-3_Cave/_import.txt +import: npc/032-1_Outback/_import.txt +import: npc/032-3_Cave/_import.txt import: npc/botcheck/_import.txt -- cgit v1.2.3-70-g09d2