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 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-60-g2f50