diff options
Diffstat (limited to 'world/map/npc/001-1/luca.txt')
-rw-r--r-- | world/map/npc/001-1/luca.txt | 215 |
1 files changed, 92 insertions, 123 deletions
diff --git a/world/map/npc/001-1/luca.txt b/world/map/npc/001-1/luca.txt index f8f51f63..362c6347 100644 --- a/world/map/npc/001-1/luca.txt +++ b/world/map/npc/001-1/luca.txt @@ -1,153 +1,125 @@ // -001-1.gat,108,55,0 script Luca 102,{ +001-1.gat,108,55,0|script|Luca|102,{ - set @EXP_BRAWLING, 2000; + set @EXP_BRAWLING, 2000; - if (BaseLevel >= 35) - goto L_teach; + if (BaseLevel >= 35) goto L_teach; - if (BaseLevel >= 25) - goto L_teach_soon; + if (BaseLevel >= 25) goto L_teach_soon; - mes "[Luca the Hunter]"; - mes "\"Ouch! It hurts, this wound I got from battle.\""; - next; - menu "Tell me about it",L_Exp,"Nevermind",L_Nev; + mes "[Luca the Hunter]"; + mes "\"Ouch! It hurts, this wound I got from battle.\""; + next; + menu "Tell me about it",L_Exp,"Nevermind",L_Nev; L_Exp: - mes "[Luca the Hunter]"; - mes "\"I was just coming back from a long journey. I ran into a group of scorpions and started fighting them for experience.\""; + mes "[Luca the Hunter]"; + mes "\"I was just coming back from a long journey. I ran into a group of scorpions and started fighting them for experience.\""; next; - mes "[Luca the Hunter]"; + mes "[Luca the Hunter]"; mes "\"Then, out of a cave came a BLACK one! I had NEVER seen it before!\""; - next; - mes "[Luca the Hunter]"; - mes "\"Luckily i had a camera with me! Here's a picture of it... Let me find it, I put it in my pocket somewhere...\""; - next; - mes "[Luca the Hunter]"; - mes "\"Oh man! My pockets have been ripped clean off!\""; - close; + next; + mes "[Luca the Hunter]"; + mes "\"Luckily i had a camera with me! Here's a picture of it... Let me find it, I put it in my pocket somewhere...\""; + next; + mes "[Luca the Hunter]"; + mes "\"Oh man! My pockets have been ripped clean off!\""; + close; L_Nev: - mes "[Luca the Hunter]"; - mes "\"Hmpf!\""; - close; - + mes "[Luca the Hunter]"; + mes "\"Hmpf!\""; + close; L_teach_soon: - mes "[Luca the Hunter]"; - mes "\"You've grown quite a bit stronger since I first saw you, strolling around town like that! You know, if you train a little more, maybe we can help each other out a little?\""; - close; + mes "[Luca the Hunter]"; + mes "\"You've grown quite a bit stronger since I first saw you, strolling around town like that! You know, if you train a little more, maybe we can help each other out a little?\""; + close; L_teach: - if (getskilllv(SKILL_POOL)) - goto L_teachmore; + if (getskilllv(SKILL_POOL)) goto L_teachmore; - mes "[Luca the Hunter]"; - mes "\"Hey there! You've become quite the adventurer, haven't you? I think it's time that someone taught you some basic skills.\""; + mes "[Luca the Hunter]"; + mes "\"Hey there! You've become quite the adventurer, haven't you? I think it's time that someone taught you some basic skills.\""; next; - mes "[Luca the Hunter]"; - mes "\"If you want, I can help with that!\""; + mes "[Luca the Hunter]"; + mes "\"If you want, I can help with that!\""; next; menu - "Sure, that sounds fun!", -, - "I'm not interested.", L_Nev; - - mes "[Luca the Hunter]"; - mes "\"All right! It's not all that easy, though. First you have to learn how to focus. That's because you can learn many skills, but you can't focus on all of them all the time.\""; + "Sure, that sounds fun!", -, + "I'm not interested.", L_Nev; + mes "[Luca the Hunter]"; + mes "\"All right! It's not all that easy, though. First you have to learn how to focus. That's because you can learn many skills, but you can't focus on all of them all the time.\""; next; - - mes "[Luca the Hunter]"; - mes "\"When you can do that, you can learn some real skills, and when you know them, you can come back to me to tell me which ones you want to focus on. Deal?\""; + mes "[Luca the Hunter]"; + mes "\"When you can do that, you can learn some real skills, and when you know them, you can come back to me to tell me which ones you want to focus on. Deal?\""; next; - menu - "Yeah!", L_teach0_follow, - "Certainly!", L_teach0_follow, - "Wait... what do you mean?", -, - "Please explain some more.", -, - "No.", L_Nev; - - callsub S_explain; + "Yeah!", L_teach0_follow, + "Certainly!", L_teach0_follow, + "Wait... what do you mean?", -, + "Please explain some more.", -, + "No.", L_Nev; + callsub S_explain; L_teach0_follow: - mes "[Luca the Hunter]"; + mes "[Luca the Hunter]"; mes "\"Great! Now, before I can give you that skill, I have to make sure that those stories about you are all true and that you really are experienced enough.\""; next; - mes "[Luca the Hunter]"; + mes "[Luca the Hunter]"; mes "\"So I'm going to ask you some easy questions.\""; next; - - mes "[Luca the Hunter]"; + mes "[Luca the Hunter]"; mes "\"First, who is the man who guards the entrance to the old Tulimshar underground arena?\""; next; input @answer$; - if (@answer$ != "Phaet" && @answer$ != "phaet") - goto L_wronganswer; - - mes "[Luca the Hunter]"; + if (@answer$ != "Phaet" && @answer$ != "phaet") goto L_wronganswer; + mes "[Luca the Hunter]"; mes "\"Good. Next, what's the name of the pipe-smoker who lives on top of Lore Mountain and makes leathery goods there?\""; next; input @answer$; - if (@answer$ != "Pachua" && @answer$ != "pachua") - goto L_wronganswer; - - mes "[Luca the Hunter]"; + if (@answer$ != "Pachua" && @answer$ != "pachua") goto L_wronganswer; + mes "[Luca the Hunter]"; mes "\"Great! One more: Who was the adventurer who built Dimond's Cove for Dimond?\""; next; input @answer$; - if (@answer$ != "Merlin" && @answer$ != "merlin") - goto L_wronganswer; - - - mes "[Luca the Hunter]"; + if (@answer$ != "Merlin" && @answer$ != "merlin") goto L_wronganswer; + mes "[Luca the Hunter]"; mes "Luca laughs in excitement."; mes "\"All right! You're the real thing, my friend!\""; next; - - mes "[Luca the Hunter]"; + mes "[Luca the Hunter]"; mes "\"Now stand over there. This should only take a second...\""; mes "He takes off a pendant he is wearing and holds it up."; next; - - mes "[Luca the Hunter]"; + mes "[Luca the Hunter]"; mes "\"See that fang at the end of the chain? Keep staring at it at it.\""; next; - - mes "[Luca the Hunter]"; + mes "[Luca the Hunter]"; mes "He starts swinging the pendant back and forth."; mes "\"And whatever you do, don't blink. Don't look away, and don't blink.\""; next; - - mes "[Luca the Hunter]"; + mes "[Luca the Hunter]"; mes "The world slows down around you as you focus on the pendant going back..."; next; - mes "and forth..."; next; - mes "and back..."; next; - mes "and forth..."; next; - mes "and back..."; next; - mes "and..."; next; - mes "You feel relaxed."; next; - - mes "[Luca the Hunter]"; + mes "[Luca the Hunter]"; mes "\"... still there?\""; mes "You hear the sound of fingers snapping. Why would someone do that on such a calm day?"; next; - - mes "[Luca the Hunter]"; + mes "[Luca the Hunter]"; mes "\"Oh, good... I think it worked. Nice job!\""; mes "He grins."; mes "[You gain 10,000 experience points]"; @@ -155,11 +127,10 @@ L_teach0_follow: setskill SKILL_POOL, 1; getexp 10000, 0; next; - goto L_teachmore2; - L_wronganswer: - mes "[Luca the Hunter]"; +L_wronganswer: + mes "[Luca the Hunter]"; mes "\"No, that was wrong. I suppose you're not as experienced as I thought you'd be.\""; close; @@ -167,13 +138,14 @@ S_explain: mes "[Luca the Hunter]"; mes "\"Alright, what do you want to know?\""; next; + S_explain_loop: - menu - "What's skill focus?", L_explain_focus, - "What skills are there?", L_explain_skills, - "How do skills work?", L_explain_work, - "Thanks, I think I got it!", -; - return; + menu + "What's skill focus?", L_explain_focus, + "What skills are there?", L_explain_skills, + "How do skills work?", L_explain_work, + "Thanks, I think I got it!", -; + return; L_explain_focus: mes "[Luca the Hunter]"; @@ -187,11 +159,11 @@ L_explain_focus: next; mes "[Luca the Hunter]"; if (getskilllv(SKILL_POOL) == 0) - mes "\"Right now you can't focus on anything yet, so I'll first have to teach you a simple skill to keep your focus.\""; + mes "\"Right now you can't focus on anything yet, so I'll first have to teach you a simple skill to keep your focus.\""; if (getskilllv(SKILL_POOL) == 1) - mes "\"Right now you can only focus on one thing at a time. So if you want to change, you have to forget whatever else you've focused on.\""; + mes "\"Right now you can only focus on one thing at a time. So if you want to change, you have to forget whatever else you've focused on.\""; if (getskilllv(SKILL_POOL) > 1) - mes "\"You can focus on " + getskilllv(SKILL_POOL) + " skills right now.\""; + mes "\"You can focus on " + getskilllv(SKILL_POOL) + " skills right now.\""; next; mes "[Luca the Hunter]"; mes "\"You can come back to me to focus or unfocus whenever you want, I'm here all day.\""; @@ -230,7 +202,7 @@ L_explain_work: //mes "\"She also said that with this [F5] thing you can get better at those skills, and that it costs you as many skill points as the level you want to go to.\""; //next; mes "[Luca the Hunter]"; - mes "\"She always would have one cactus poition too many... but she was an amazing teacher.\""; + mes "\"She always would have one cactus potion too many... but she was an amazing teacher.\""; mes "He nods emphatically."; next; goto S_explain_loop; @@ -260,15 +232,15 @@ L_teachmore2: set @choices[@choice_nr], @C_focus; set @choice$[@choice_nr], "I would like to focus."; set @choice_nr, @choice_nr + 1; -L_teachmore2_nof: +L_teachmore2_nof: getactivatedpoolskilllist; if (@skilllist_count == 0) goto L_teachmore2_nounf; set @choices[@choice_nr], @C_unfocus; set @choice$[@choice_nr], "I would like to unfocus."; set @choice_nr, @choice_nr + 1; -L_teachmore2_nounf: +L_teachmore2_nounf: if (!(getskilllv(SKILL_BRAWLING))) set @choices[@choice_nr], @C_teachbrawling; if (getskilllv(SKILL_BRAWLING)) @@ -284,32 +256,32 @@ L_teachmore2_nounf: set @choices[@choice_nr], @C_focusoverview; set @choice$[@choice_nr], "Can you tell me what skills I'm currently focused on?"; set @choice_nr, @choice_nr + 1; -L_teachmore2_noovv: +L_teachmore2_noovv: set @choices[@choice_nr], @C_nvm; set @choice$[@choice_nr], "I'm done for now, thanks!"; set @choice_nr, @choice_nr + 1; menu - @choice$[0],-, - @choice$[1],-, - @choice$[2],-, - @choice$[3],-, - @choice$[4],-; + @choice$[0],-, + @choice$[1],-, + @choice$[2],-, + @choice$[3],-, + @choice$[4],-; set @menu, @menu - 1; if (@choices[@menu] == 0) close; - if (@choices[@menu] == @C_focus) goto L_focus; - if (@choices[@menu] == @C_unfocus) goto L_unfocus; + if (@choices[@menu] == @C_focus) goto L_focus; + if (@choices[@menu] == @C_unfocus) goto L_unfocus; if (@choices[@menu] == @C_teachbrawling) goto L_teach_brawling; - if (@choices[@menu] == @C_teachnothing) goto L_teach_nothing; - if (@choices[@menu] == @C_explainagain) goto L_teachmore_explain; + if (@choices[@menu] == @C_teachnothing) goto L_teach_nothing; + if (@choices[@menu] == @C_explainagain) goto L_teachmore_explain; if (@choices[@menu] == @C_focusoverview) goto L_focus_overview; - if (@choices[@menu] == @C_nvm) close; + if (@choices[@menu] == @C_nvm) close; close; L_teachmore_explain: - callsub S_explain; + callsub S_explain; goto L_teachmore2; L_focus: @@ -327,18 +299,15 @@ L_focus: @skilllist_name$[7], -; set @menu, @menu - 1; - if (@skilllist_id[@menu] == 0) - goto L_teachmore2; + if (@skilllist_id[@menu] == 0) goto L_teachmore2; poolskill @skilllist_id[@menu]; goto L_teachmore2; L_unfocus: - if (countitem("DementiaPotion") > 0) - goto L_unfocus_menu; + if (countitem("DementiaPotion") > 0) goto L_unfocus_menu; - if (MAGIG_FLAGS & MFLAG_KNOWS_UNFOCUS_RECIPE) - goto L_nopotion; + if (MAGIG_FLAGS & MFLAG_KNOWS_UNFOCUS_RECIPE) goto L_nopotion; mes "[Luca the Hunter]"; mes "\"Unfocusing is one of the harder parts though, because it is sunk in. You see?\""; @@ -385,8 +354,7 @@ L_unfocus_menu: @skilllist_name$[7], -; set @menu, @menu - 1; - if (@skilllist_id[@menu] == 0) - goto L_teachmore2; + if (@skilllist_id[@menu] == 0) goto L_teachmore2; if (countitem("DementiaPotion") == 0) goto L_nopotion; delitem "DementiaPotion", 1; @@ -397,22 +365,23 @@ L_unfocus_menu: L_focus_overview: getactivatedpoolskilllist; - if (@skilllist_count != 0) - goto L_focus_overview1; + if (@skilllist_count != 0) goto L_focus_overview1; mes "[Luca the Hunter]"; mes "\"You aren't focused on a skill at the moment.\""; next; goto L_teachmore2; + L_focus_overview1: mes "[Luca the Hunter]"; set @message$, "\"At the moment you are focused on "; + L_focus_overview2: set @skilllist_count, @skilllist_count-1; set @message$, @message$ + @skilllist_name$[@skilllist_count]; - if (@skilllist_count == 0) - goto L_focus_overview3; + if (@skilllist_count == 0) goto L_focus_overview3; set @message$, @message$ + ", "; goto L_focus_overview2; + L_focus_overview3: set @message$, @message$ + ".\""; mes @message$; |