From 5174036ac0106a88649888795aefb9e409b90a52 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Sun, 24 Feb 2013 20:33:10 +0100 Subject: Add script draft from veryape for adding the Beanie Copter quest to NPC milly. --- world/map/npc/009-1/milly_beaniecopter.txt | 333 +++++++++++++++++++++++++++++ 1 file changed, 333 insertions(+) create mode 100644 world/map/npc/009-1/milly_beaniecopter.txt (limited to 'world/map/npc/009-1') diff --git a/world/map/npc/009-1/milly_beaniecopter.txt b/world/map/npc/009-1/milly_beaniecopter.txt new file mode 100644 index 00000000..115a4761 --- /dev/null +++ b/world/map/npc/009-1/milly_beaniecopter.txt @@ -0,0 +1,333 @@ +009-1.gat,81,41,0|script|Milly|114,{ + +THIS DIALOUGE IS INTENDED FOR CHARACHTERS WITH LEVEL <40 OR FIRST TIME DIALOGUE + + mes "[Milly]"; + mes "\"Hello traveler, welcome to Hurnscald.\""; + next; + mes "\"Have you met Kfahr yet? He is the greatest hero that ever walked the land of Hurnscald!\""; + menu + "Hi! No I havn't seen him.", L_Where, + "Hi! Where could i find him?", L_Where, + "Hi! I don't care for heroes.", L_Care, + "Hello, yes I've met him", L_Yes; + +L_Where: + mes "[Milly]"; + mes "\"You really ought to go see him! He is usually at the inn in the north-west part of town. If you are lucky he might tell you a story about his adventures.\""; + next; + goto L_finish; + +L_Care: + mes "[Milly]"; + mes "\"What? Surely you do not understand what a hero he is or you are just not intelligent enough to grasp what his actions have meant for us. He is a true inspiration for all of us.\""; + next; + mes "\"You can't have met him. No one who has met him would say such silly things.\""; + next; + goto L_Where; + +L_Yes: + mes "[Milly]"; + mes "\"Oh, I hope you stayed and listened to his stories about his adventures.\""; + next; + goto L_finish; + +L_finish: + mes "[Milly]"; + mes "\"Good bye.\""; + close; + +FOR CHARACHTERS WITH LVL 40+ WHO HAS NOT DONE THE BONE KNIFE QUEST + + mes "[Milly]"; + mes "\"Hi again.\""; + next; + mes "\"Have you talked to Kfahr lately?""; + menu + "Yes.", L_yes2, + "No.", L_no2; + +L_yes2: + mes "[Milly]"; + mes "\"Is it true as the rumour say? ...""; + next; + goto L_no2; + +L_no2: + mes "[Milly]"; + mes "\"You really should go meet him.""; + next; + goto L_boneknife; + +L_boneknife: + mes "[Milly]"; + mes "\"I've heard that he is helping adventurers such as yourself with some exotic gear.""; + menu + "I am not sure, I'd better go talk to him again.", L_unsure, + "Yes, it is true.", L_true; + +L_unsure: + mes "[Milly]"; + mes "\"You better hurry up before he changes his mind!""; + next; + mes "\"Bye.""; + close; + +L_true: + mes "[Milly]"; + mes "\"So, why haven't you accepted his generous offer?""; + menu + "I was just about to...", L_unsure, + "I don't need no help.", L_nohelp; + +L_nohelp: + mes "[Milly]"; + mes "\"You must be kidding me.""; + next; + mes "\"I am just a kid but possess more wisdom than you. How you managed to even look like an adventurer is beyond me.""; + next; + mes "\"You better learn from the wise and accept help from those who offer it.""; + goto L_unsure; + +THIS PART IS INTENDED FOR CHARACHTER WITH LVL 40+ WHO HAS DONE THE BONE KNIFE QUEST + + mes "[Milly]"; + mes "\"Hi. I heard that you got an exotic knife from Kfahr.""; + next; + mes "\"Would you care to show it for me?""; + menu + "Sure.", L_sure; + "Haven't I already?", L_already + +L_sure: + mes "[Milly]"; + mes "\"Wow! That is a knife fitting a real adventurer!""; + next; + mes "\"Kfahr ain't just a hero, he is also a stand up guy.""; + next; + mes "\"You should be honoured that he is treating you his knife like this""; + next; + mes"\"What a hero...""; + close; + +L_already: + mes "[Milly]"; + mes "\"What is the difference? It's so exiting to see such a fine knife""; + next; + mes "\"It is like cake, sure I might have had it before...""; + next; + mes "\".. but does that stop me from wanting it once more?""; + next; + mes "\"NO!""; + next; + mes "\"Please let me see it!""; + menu + "Okey.", L_okey, + "Enough is enough", L_enough; + +L_okey: + mes "[Milly]"; + mes "\"Wooha, it is even better than i remembered it.""; + next; + mes "\"Thanks for showing it to me, goodbye.""; + close; + +L_enough: + mes "[Milly]"; + mes "\"I hope that the reason that you don't show it to me is because you have it tucked away somewhere safe.""; + next; + mes "\"Otherwise you are just a bore...""; + next; + mes "\"Don't be boring!""; + next; + mes "\"Bye!""; + close; + +THIS PART IS INTENDED FOR A CHARACHTER THAT HAS COMPLETED THE ROSSY QUEST + mes "[Milly]"; + mes "\"Hi friend!""; + next; + mes "\"Word is all around Hurnscald of your great act of helping my friend Rossy!""; + next; + mes "\"Not only did you help Rossy, you saved her sister Julia from that fey element. That was a real act of heroism!""; + next; + mes "\"You are shaping up to be something of a hero yourself.""; + next; + mes "\"I am so happy that you came to Hurnscald, without you I am not so sure that Julia would have been saved.""; + menu + "You're right, I am a hero!", L_hero, + "I'm doing my best!", L_modesty; + +L_hero: + mes "[Milly]"; + mes "\"You surely are not..""; + next; + mes "\"First and foremost you are a loudmouth. Your actions speeks better for them selves without your boasting.""; + next; + mes "\"A little modesty would be a fitting charachteristic for you. You are talking as if you think that you are the equal of Kfahr.""; + next; + mes "\"I think you should show a little more respect when you are this close to legendary heroes""; + next; + mes "\"Bye.""; + close; + +L_modesty: + mes "[Milly]"; + mes "\"Wow, you have been very helpful and unselfish risking your own safety for the sake of others! Thanks to that Julia is back and Olana is able to sleep at night.""; + next; + mes "\"If you continue with those kinds of deeds you might earn your place in the history books of Hurnscald!""; + next; + mes "\"Goodbye.""; + close; + +THIS PART IS INTENDED FOR A CHARACHTER THAT HAS COMPLETED THE CINDY QUEST + mes "[Milly]"; + mes "\"Hi!""; + next; + mes "\"Is the rumours true?""; + next; + mes "\"Word is going around that you saved a girl called Cindy who was captured by Yetis in Nivalis, and that you arranged a rescue party getting her back from a deep Yeti inhibited cave.""; + menu + "Thanks to the party, yes.", L_party, + "Yes, it is true!", L_cindy; + +L_party: + mes "[Milly]"; + mes "\"Wow! Not only are you brave, you also have the wisdom to seek help when needed!""; + next; + mes "\"Being a skilled fighter is good. But being i skilled fighter coupled with your wits and organisational skill, now that is something special!""; + goto; L_cindy_bye + + +L_cindy: + mes "[Milly]"; + mes "\"Once again you've done good!""; + goto; L_cindy_bye + +L_cindy_bye: + mes "[Milly]"; + mes "\"You have saved two kids about my own age from horrible situations, it is just like the stories I heard growing up.""; + next; + mes "\"As things are shaping up you certainly is becoming something of a idol for us kids. At school the kids gossiping about you, you're fastly becomming one of the most admired people around...""; + next; + mes "\"Good bye, hope to see you soon.""; + close; + +THIS PART IS INTENDED FOR A PLAYER THAT HAS DONE CINDY & ROSSY BUT HAS NOT YET MADE THE SETZER QUEST + + mes "[Milly]"; + mes "\"Hello!""; + next; + mes "\"Since you've proven yourself with your great acts I'll let you in on some gossip I've heard.""; + next; + mes "\"I've heard that Nicholas has learned new techniques in forging and weapon smithing. He is now able to improve a small sword into what is called a Setzer.""; + next; + mes "\"Go talk to him and hear if he can help you get hold of one of these weapons.""; + next; + mes "\"Hope to see you soon.""; + +THIS PART IS INTENDED FOR A PLAYER AFTER HE HAS COMPLETED THE SETZER QUEST + mes "[Milly]"; + mes "\"Hello!""; + next; + mes "\"I heard that you got hold of a Setzer!""; + next; + mes "\"And the fact that Kfahr helped you meens he really rates you as a fellow adventurer!""; + next; + mes "\"Praise does not get much better than that around here. He knows a good adventurer when he see one, you must have impressed him!""; + next; + mes "\"Bye!""; + close; + +THIS PART IS INTENDED FOR A PLAYER THAT HAS DONE THE ABOVE AND IS LVL 90 BUT HAS NOT GOT 5000 BOSS POINTS + mes "[Milly]"; + mes "\"Hi!""; + next; + mes "\"To be honest you are fast becoming my favoured hero, even... dare I say it? Even more so than Kfahr.""; + next; + mes "\"Your good deeds and your skill is undisputable! However...""; + next; + mes "\"Somehow I feel that you still need to prove your courage. The elders say that although they find you an adorable person and a hero that you can't be considered as great as Kfahr before you've proved yourself fearless.""; + next; + mes "\"You could prove yourself as the greatest hero who has walked the land by accepting Paruas challenge at Candor. Stare death in the eyes, show no fear and conquer! Show everyone that you're worthy the title of the greatest hero ever!""; + next; + mes "\"I myself already consider you my favourite hero, sure Kfahr has done great things but...""; + next; + mes "\"Nowadays he mostly sit around with that sad bunch of drunkards in the Inn, drinking beer and talk about past glory""; + next; + mes "\"For my generation you are the true hero, please prove the elders wrong by showing them that you are fearless!""; + next; + mes "\"Good luck and good bye!""; + close; + +THIS PART IS INTENDED FOR A PLAYER THAT HAS DONE ALL OF THE ABOVE IS LVL 90+ AND HAS 5000 BOSS POINTS + mes "[Milly]"; + mes "\"Hi there hero of Hurnscald!""; + next; + mes "\"You really have proved yourself over and over. There is no way someone could say you're not the equal of Kfahr!""; + next; + mes "\"Now even the grownups are respecting you as a hero as great as Kfahr!" + next; + mes "\"I have something i want to give you...""; + next; + mes "\"I was given two of those helicopter beanie caps at my birthday. I told everyone that it was what I really wanted so I got two of them...""; + next; + mes "\"And some other kids are picking on me for wearing it, they say it is for nerds.. I would be happy to give you one of them.""; + next; + mes "\"It would be great, if you wore a cap just like mine that would sure shut them up! I also want to present you with this rare hat as a token of my gratitude for everything you have done.""; + next; + mes "\"Also I would be honoured to have the same cap as my hero!""; + menu + "Thank you!", L_cap, + "No thanks.", L_idiot; + +L_cap: + mes "[Milly]"; + mes "\"Wow, thanks for accepting my gift, it is so pleasing to know that you have the exact same cap as me! + getinventorylist; + if (@inventorylist_count == 100 && countitem(XXX) == 0) goto L_toomany; + getitem XXX, 1; + next; + mes "\"*She is giggeling with exitement*""; + next; + mes "\"Come see me anytime! Goodbye!""; + close; + +L_idiot: + mes "[Milly]"; + mes "\"Are you really sure? It is a lovely cap.""; + menu + "Yes, no nerd hat for me!", L_badbye, + "Just kidding, I want one!", L_cap; + +L_badbye: + mes "[Milly]"; + mes "\"*Tears are forming in her eyes*""; + next; + mes "\"I guess they were right, you're not any great hero! I'll give it to Kfahr instead!""; + next; + mes "\"Please keep on travelling so I don't have to see you around here. It makes me sad to see you, everytime I do I'll remember how wrong I was about you.""; + next; + mes "\"Bye!""; + close; + +L_toomany: + mes "[Milly]"; + mes "\"You don't have any space left to carry it, go put some stuff in the storage and come back!""; + close; + +INTENDED FOR SOMEONE THAT HAS COMPLETED ALL THE ABOVE AND RECIEVED THE CAP + mes "[Milly]"; + mes "\"Hi there my hero!""; + next; + mes "\"Wear the copter beany cap in good healt! See you around!""; + close; + +INTENDED FOR SOMEONE THAT TURNED DOWN THE CAP + mes "[Milly]"; + mes "\"Won't you continue your travels soon?""; + close; + +} + + -- cgit v1.2.3-60-g2f50 From 3b4bc8c043e6e620942dec45419cbfc4144aaee2 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Mon, 25 Feb 2013 14:56:31 +0100 Subject: Revise Milly's dialog: - rename some labels to be more descriptive, use CamelCase - some spelling and grammar fixes - fix most of the mes commands to escape the " at the end - remove some unnecessary "Bye" dialog lines --- world/map/npc/009-1/milly_beaniecopter.txt | 292 +++++++++++++---------------- 1 file changed, 132 insertions(+), 160 deletions(-) (limited to 'world/map/npc/009-1') diff --git a/world/map/npc/009-1/milly_beaniecopter.txt b/world/map/npc/009-1/milly_beaniecopter.txt index 115a4761..e72b8ace 100644 --- a/world/map/npc/009-1/milly_beaniecopter.txt +++ b/world/map/npc/009-1/milly_beaniecopter.txt @@ -7,16 +7,15 @@ THIS DIALOUGE IS INTENDED FOR CHARACHTERS WITH LEVEL <40 OR FIRST TIME DIALOGUE next; mes "\"Have you met Kfahr yet? He is the greatest hero that ever walked the land of Hurnscald!\""; menu - "Hi! No I havn't seen him.", L_Where, - "Hi! Where could i find him?", L_Where, - "Hi! I don't care for heroes.", L_Care, - "Hello, yes I've met him", L_Yes; + "Hi! No, I haven't seen him.", L_Where, + "Where could I find him?", L_Where, + "Mh, I don't care for heroes.", L_Care, + "Hello, yes I've met him.", L_MetKfahr; L_Where: mes "[Milly]"; mes "\"You really ought to go see him! He is usually at the inn in the north-west part of town. If you are lucky he might tell you a story about his adventures.\""; - next; - goto L_finish; + close; L_Care: mes "[Milly]"; @@ -26,15 +25,9 @@ L_Care: next; goto L_Where; -L_Yes: +L_MetKfahr: mes "[Milly]"; mes "\"Oh, I hope you stayed and listened to his stories about his adventures.\""; - next; - goto L_finish; - -L_finish: - mes "[Milly]"; - mes "\"Good bye.\""; close; FOR CHARACHTERS WITH LVL 40+ WHO HAS NOT DONE THE BONE KNIFE QUEST @@ -42,292 +35,271 @@ FOR CHARACHTERS WITH LVL 40+ WHO HAS NOT DONE THE BONE KNIFE QUEST mes "[Milly]"; mes "\"Hi again.\""; next; - mes "\"Have you talked to Kfahr lately?""; + mes "\"Have you talked to Kfahr lately?\""; menu - "Yes.", L_yes2, - "No.", L_no2; + "Yes.", L_TalkKfahr, + "No.", L_HintKnife; -L_yes2: +L_TalkKfahr: mes "[Milly]"; - mes "\"Is it true as the rumour say? ...""; + mes "\"Is it true as the rumors say? ...\""; next; - goto L_no2; + goto L_HintKnife; -L_no2: +L_HintKnife: mes "[Milly]"; - mes "\"You really should go meet him.""; + mes "\"You really should go meet him.\""; next; - goto L_boneknife; - -L_boneknife: - mes "[Milly]"; - mes "\"I've heard that he is helping adventurers such as yourself with some exotic gear.""; + mes "\"I've heard that he is helping adventurers such as yourself with some exotic gear.\""; menu - "I am not sure, I'd better go talk to him again.", L_unsure, - "Yes, it is true.", L_true; + "I am not sure, I'd better go talk to him again.", L_Unsure, + "Yes, it is true.", L_True; -L_unsure: +L_Unsure: mes "[Milly]"; - mes "\"You better hurry up before he changes his mind!""; - next; - mes "\"Bye.""; + mes "\"You better hurry up before he changes his mind!\""; close; -L_true: +L_True: mes "[Milly]"; - mes "\"So, why haven't you accepted his generous offer?""; + mes "\"So, why haven't you accepted his generous offer?\""; menu - "I was just about to...", L_unsure, - "I don't need no help.", L_nohelp; + "I was just about to...", L_Unsure, + "I don't need any help.", L_NoHelp; -L_nohelp: +L_NoHelp: mes "[Milly]"; - mes "\"You must be kidding me.""; + mes "\"You must be kidding me.\""; next; - mes "\"I am just a kid but possess more wisdom than you. How you managed to even look like an adventurer is beyond me.""; + mes "\"I am just a kid but possess more wisdom than you. How you managed to even look like an adventurer is beyond me.\""; next; - mes "\"You better learn from the wise and accept help from those who offer it.""; - goto L_unsure; + mes "\"You better learn from the wise and accept help from those who offer it.\""; + goto L_Unsure; THIS PART IS INTENDED FOR CHARACHTER WITH LVL 40+ WHO HAS DONE THE BONE KNIFE QUEST mes "[Milly]"; - mes "\"Hi. I heard that you got an exotic knife from Kfahr.""; + mes "\"Hi. I heard that you got an exotic knife from Kfahr.\""; next; - mes "\"Would you care to show it for me?""; + mes "\"Would you care to show it for me?\""; menu - "Sure.", L_sure; - "Haven't I already?", L_already + "Sure.", L_ShowKnife, + "Haven't I already?", L_ShowKnifeAgain; -L_sure: +L_ShowKnife: + // TODO: inventory check if the player really has the knife mes "[Milly]"; - mes "\"Wow! That is a knife fitting a real adventurer!""; + mes "\"Wow! That is a knife fitting a real adventurer!\""; next; - mes "\"Kfahr ain't just a hero, he is also a stand up guy.""; + mes "\"Kfahr ain't just a hero, he is also a stand up guy.\""; next; - mes "\"You should be honoured that he is treating you his knife like this""; + mes "\"You should be honoured that he is treating you his knife like this.\""; next; - mes"\"What a hero...""; + mes "\"What a hero...\""; close; -L_already: +L_ShowKnifeAgain: mes "[Milly]"; - mes "\"What is the difference? It's so exiting to see such a fine knife""; + mes "\"What is the difference? It's so exiting to see such a fine knife.\""; next; - mes "\"It is like cake, sure I might have had it before...""; + mes "\"It is like cake, sure I might have had it before...\""; next; - mes "\".. but does that stop me from wanting it once more?""; + mes "\"... but does that stop me from wanting it once more?\""; next; - mes "\"NO!""; + mes "\"NO!\""; next; - mes "\"Please let me see it!""; + mes "\"Please let me see it!\""; menu - "Okey.", L_okey, - "Enough is enough", L_enough; + "Okay.", L_ShowKnifeOk, + "Enough is enough.", L_ShowKnifeNo; -L_okey: +L_ShowKnifeOk: mes "[Milly]"; - mes "\"Wooha, it is even better than i remembered it.""; + mes "\"Wooha, it is even better than I remembered it.\""; next; - mes "\"Thanks for showing it to me, goodbye.""; + mes "\"Thanks for showing it to me, goodbye.\""; close; -L_enough: +L_ShowKnifeNo: mes "[Milly]"; - mes "\"I hope that the reason that you don't show it to me is because you have it tucked away somewhere safe.""; - next; - mes "\"Otherwise you are just a bore...""; + mes "\"I hope that the reason that you don't show it to me is because you have it tucked away somewhere safe.\""; next; - mes "\"Don't be boring!""; + mes "\"Otherwise you are just a bore...\""; next; - mes "\"Bye!""; + mes "\"Don't be boring!\""; close; THIS PART IS INTENDED FOR A CHARACHTER THAT HAS COMPLETED THE ROSSY QUEST mes "[Milly]"; - mes "\"Hi friend!""; + mes "\"Hi friend!\""; next; - mes "\"Word is all around Hurnscald of your great act of helping my friend Rossy!""; + mes "\"Word is all around Hurnscald of your great act of helping my friends Rossy and Julia!\""; next; - mes "\"Not only did you help Rossy, you saved her sister Julia from that fey element. That was a real act of heroism!""; + mes "\"Not only did you help Rossy, you saved her sister Julia from that Fey Element. That was a real act of heroism!\""; next; - mes "\"You are shaping up to be something of a hero yourself.""; + mes "\"You are shaping up to be something of a hero yourself.\""; next; - mes "\"I am so happy that you came to Hurnscald, without you I am not so sure that Julia would have been saved.""; + mes "\"I am so happy that you came to Hurnscald, without you I'm not so sure that Julia would have been saved.\""; menu - "You're right, I am a hero!", L_hero, - "I'm doing my best!", L_modesty; + "You're right, I am a hero!", L_Loudmouth, + "I'm doing my best!", L_Modesty; -L_hero: +L_Loudmouth: mes "[Milly]"; - mes "\"You surely are not..""; + mes "\"You surely are not...\""; next; - mes "\"First and foremost you are a loudmouth. Your actions speeks better for them selves without your boasting.""; + mes "\"First and foremost you are a loudmouth. Your actions speeks better for themselves without your boasting.\""; next; - mes "\"A little modesty would be a fitting charachteristic for you. You are talking as if you think that you are the equal of Kfahr.""; + mes "\"A little modesty would be a fitting characteristic for you. You are talking as if you think that you are the equal of Kfahr.\""; next; - mes "\"I think you should show a little more respect when you are this close to legendary heroes""; - next; - mes "\"Bye.""; + mes "\"I think you should show a little more respect when you are this close to legendary heroes.\""; close; -L_modesty: +L_Modesty: mes "[Milly]"; - mes "\"Wow, you have been very helpful and unselfish risking your own safety for the sake of others! Thanks to that Julia is back and Olana is able to sleep at night.""; - next; - mes "\"If you continue with those kinds of deeds you might earn your place in the history books of Hurnscald!""; + mes "\"Wow, you have been very helpful and unselfish risking your own safety for the sake of others! Thanks to that Julia is back and Olana is able to sleep at night.\""; next; - mes "\"Goodbye.""; + mes "\"If you continue with those kinds of deeds you might earn your place in the history books of Hurnscald!\""; close; THIS PART IS INTENDED FOR A CHARACHTER THAT HAS COMPLETED THE CINDY QUEST mes "[Milly]"; - mes "\"Hi!""; + mes "\"Hi!\""; next; - mes "\"Is the rumours true?""; + mes "\"Are the rumors true?\""; next; - mes "\"Word is going around that you saved a girl called Cindy who was captured by Yetis in Nivalis, and that you arranged a rescue party getting her back from a deep Yeti inhibited cave.""; + mes "\"Word is going around that you saved a girl called Cindy who was captured by Yetis in Nivalis, and that you arranged a rescue party getting her back from a deep Yeti inhibited cave.\""; menu - "Thanks to the party, yes.", L_party, - "Yes, it is true!", L_cindy; + "Thanks to the party, yes.", L_Party, + "Yes, it is true!", L_Cindy; -L_party: +L_Party: mes "[Milly]"; - mes "\"Wow! Not only are you brave, you also have the wisdom to seek help when needed!""; + mes "\"Wow! Not only are you brave, you also have the wisdom to seek help when needed!\""; next; - mes "\"Being a skilled fighter is good. But being i skilled fighter coupled with your wits and organisational skill, now that is something special!""; - goto; L_cindy_bye - + mes "\"Being a skilled fighter is good. But being a skilled fighter coupled with your wits and organizational skill, now that is something special!\""; + goto L_HeroGrowing; -L_cindy: +L_Cindy: mes "[Milly]"; - mes "\"Once again you've done good!""; - goto; L_cindy_bye + mes "\"Once again you've done good!\""; + goto L_HeroGrowing; -L_cindy_bye: +L_HeroGrowing: mes "[Milly]"; - mes "\"You have saved two kids about my own age from horrible situations, it is just like the stories I heard growing up.""; + mes "\"You have saved two kids about my own age from horrible situations, it is just like the stories I heard growing up.\""; next; - mes "\"As things are shaping up you certainly is becoming something of a idol for us kids. At school the kids gossiping about you, you're fastly becomming one of the most admired people around...""; + mes "\"As things are shaping up you certainly are becoming something of a idol for us kids. At school the kids gossip about you, you're fastly becoming one of the most admired people around...\""; next; - mes "\"Good bye, hope to see you soon.""; + mes "\"I'm excited to hear about your actions again soon.\""; close; THIS PART IS INTENDED FOR A PLAYER THAT HAS DONE CINDY & ROSSY BUT HAS NOT YET MADE THE SETZER QUEST mes "[Milly]"; - mes "\"Hello!""; + mes "\"Hello!"; + mes "Since you've proven yourself with your great acts I'll let you in on some gossip I've heard.\""; next; - mes "\"Since you've proven yourself with your great acts I'll let you in on some gossip I've heard.""; + mes "\"I've heard that Nicholas has learned new techniques in forging and weapon smithing. He is now able to improve a small sword into what is called a Setzer.\""; next; - mes "\"I've heard that Nicholas has learned new techniques in forging and weapon smithing. He is now able to improve a small sword into what is called a Setzer.""; - next; - mes "\"Go talk to him and hear if he can help you get hold of one of these weapons.""; - next; - mes "\"Hope to see you soon.""; + mes "\"Go talk to him and hear if he can help you get hold of one of these weapons.\""; + close; THIS PART IS INTENDED FOR A PLAYER AFTER HE HAS COMPLETED THE SETZER QUEST mes "[Milly]"; - mes "\"Hello!""; + mes "\"Hello!\""; next; - mes "\"I heard that you got hold of a Setzer!""; + mes "\"I heard that you got hold of a Setzer!\""; next; - mes "\"And the fact that Kfahr helped you meens he really rates you as a fellow adventurer!""; + mes "\"And the fact that Kfahr helped you means he really rates you as a fellow adventurer!\""; next; - mes "\"Praise does not get much better than that around here. He knows a good adventurer when he see one, you must have impressed him!""; - next; - mes "\"Bye!""; + mes "\"Praise does not get much better than that around here. He knows a good adventurer when he see one, you must have impressed him!\""; close; THIS PART IS INTENDED FOR A PLAYER THAT HAS DONE THE ABOVE AND IS LVL 90 BUT HAS NOT GOT 5000 BOSS POINTS mes "[Milly]"; - mes "\"Hi!""; - next; - mes "\"To be honest you are fast becoming my favoured hero, even... dare I say it? Even more so than Kfahr.""; + mes "\"To be honest you are fast becoming my favored hero, even... dare I say it? Even more so than Kfahr.\""; next; - mes "\"Your good deeds and your skill is undisputable! However...""; + mes "\"Your good deeds and your skill is undisputable! However...\""; next; - mes "\"Somehow I feel that you still need to prove your courage. The elders say that although they find you an adorable person and a hero that you can't be considered as great as Kfahr before you've proved yourself fearless.""; + mes "\"Somehow I feel that you still need to prove your courage. The elders say that although they find you an adorable person and a hero that you can't be considered as great as Kfahr before you've proved yourself fearless.\""; next; - mes "\"You could prove yourself as the greatest hero who has walked the land by accepting Paruas challenge at Candor. Stare death in the eyes, show no fear and conquer! Show everyone that you're worthy the title of the greatest hero ever!""; + mes "\"You could prove yourself as the greatest hero who has walked the land by accepting Paruas challenge at Candor. Stare death in the eyes, show no fear and conquer! Show everyone that you're worthy the title of the greatest hero ever!\""; next; - mes "\"I myself already consider you my favourite hero, sure Kfahr has done great things but...""; + mes "\"I myself already consider you my favourite hero, sure Kfahr has done great things, but...\""; next; - mes "\"Nowadays he mostly sit around with that sad bunch of drunkards in the Inn, drinking beer and talk about past glory""; + mes "\"Nowadays he mostly sits around with that sad bunch of drunkards in the Inn, drinking beer and talk about past glory.\""; next; - mes "\"For my generation you are the true hero, please prove the elders wrong by showing them that you are fearless!""; + mes "\"For my generation you are the true hero, please prove the elders wrong by showing them that you are fearless!\""; next; - mes "\"Good luck and good bye!""; + mes "\"Good luck and good bye!\""; close; THIS PART IS INTENDED FOR A PLAYER THAT HAS DONE ALL OF THE ABOVE IS LVL 90+ AND HAS 5000 BOSS POINTS mes "[Milly]"; - mes "\"Hi there hero of Hurnscald!""; + mes "\"Hi there, hero of Hurnscald!\""; next; - mes "\"You really have proved yourself over and over. There is no way someone could say you're not the equal of Kfahr!""; + mes "\"You really have proven yourself over and over. There is no way someone could say you're not the equal of Kfahr!\""; next; - mes "\"Now even the grownups are respecting you as a hero as great as Kfahr!" + mes "\"Now even the grownups are respecting you as a hero as great as Kfahr!\""; next; - mes "\"I have something i want to give you...""; + mes "\"I have something I want to give you...\""; next; - mes "\"I was given two of those helicopter beanie caps at my birthday. I told everyone that it was what I really wanted so I got two of them...""; + mes "\"I was given two of those helicopter beanie caps at my birthday. I told everyone that it was what I really wanted so I got two of them...\""; next; - mes "\"And some other kids are picking on me for wearing it, they say it is for nerds.. I would be happy to give you one of them.""; + mes "\"And some other kids are picking on me for wearing it, they say it is for nerds... I would be happy to give you one of them.\""; next; - mes "\"It would be great, if you wore a cap just like mine that would sure shut them up! I also want to present you with this rare hat as a token of my gratitude for everything you have done.""; + mes "\"It would be great, if you wore a cap just like mine that would sure shut them up! I also want to present you with this rare hat as a token of my gratitude for everything you have done.\""; next; - mes "\"Also I would be honoured to have the same cap as my hero!""; + mes "\"I would be honoured to have the same cap as my hero!\""; menu - "Thank you!", L_cap, - "No thanks.", L_idiot; + "Thank you!", L_Cap, + "No, thanks.", L_Idiot; -L_cap: +L_Cap: mes "[Milly]"; - mes "\"Wow, thanks for accepting my gift, it is so pleasing to know that you have the exact same cap as me! + mes "\"Wow, thanks for accepting my gift, it is so pleasing to know that you have the exact same cap as me!\""; getinventorylist; - if (@inventorylist_count == 100 && countitem(XXX) == 0) goto L_toomany; + // TODO: insert item name + if (@inventorylist_count == 100 && countitem(XXX) == 0) + goto L_TooMany; getitem XXX, 1; next; - mes "\"*She is giggeling with exitement*""; + mes "She is giggeling with exitement."; next; - mes "\"Come see me anytime! Goodbye!""; + mes "[Milly]"; + mes "\"Come see me anytime! Goodbye!\""; close; -L_idiot: +L_Idiot: mes "[Milly]"; - mes "\"Are you really sure? It is a lovely cap.""; + mes "\"Are you really sure? It is a lovely cap.\""; menu - "Yes, no nerd hat for me!", L_badbye, - "Just kidding, I want one!", L_cap; + "Yes, no nerd hat for me!", L_BadBye, + "Just kidding, I want one!", L_Cap; -L_badbye: +L_BadBye: + mes "Tears are forming in her eyes."; mes "[Milly]"; - mes "\"*Tears are forming in her eyes*""; + mes "\"I guess they were right, you're not any great hero! I'll give it to Kfahr instead!\""; next; - mes "\"I guess they were right, you're not any great hero! I'll give it to Kfahr instead!""; - next; - mes "\"Please keep on travelling so I don't have to see you around here. It makes me sad to see you, everytime I do I'll remember how wrong I was about you.""; - next; - mes "\"Bye!""; + mes "\"Please keep on travelling so I don't have to see you around here. It makes me sad to see you, everytime I do I'll remember how wrong I was about you.\""; close; -L_toomany: +L_TooMany: mes "[Milly]"; - mes "\"You don't have any space left to carry it, go put some stuff in the storage and come back!""; + mes "\"You don't have any space left to carry it, go put some stuff in the storage and come back!\""; close; INTENDED FOR SOMEONE THAT HAS COMPLETED ALL THE ABOVE AND RECIEVED THE CAP mes "[Milly]"; - mes "\"Hi there my hero!""; + mes "\"Hi there, my hero!\""; next; - mes "\"Wear the copter beany cap in good healt! See you around!""; + mes "\"Wear the copter beany cap in good health! See you around!\""; close; INTENDED FOR SOMEONE THAT TURNED DOWN THE CAP mes "[Milly]"; - mes "\"Won't you continue your travels soon?""; + mes "\"Won't you continue your travels soon?\""; close; - } - - -- cgit v1.2.3-60-g2f50 From 97800c510a56a0441cc8496ca1c44a0b67ce454a Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Mon, 25 Feb 2013 16:06:42 +0100 Subject: Added variable handling to beanie copter quest. --- world/map/db/const.txt | 2 + world/map/npc/009-1/milly_beaniecopter.txt | 108 ++++++++++++++++------------- 2 files changed, 62 insertions(+), 48 deletions(-) (limited to 'world/map/npc/009-1') diff --git a/world/map/db/const.txt b/world/map/db/const.txt index a69ba485..6bed62d2 100644 --- a/world/map/db/const.txt +++ b/world/map/db/const.txt @@ -534,6 +534,8 @@ FLAG_TUTORIAL_DONE 256 // player completed tutorial (or entered the tutor FLAG_SNOWMAN 512 // player gave candy to the snowman FLAG_SANTAS_HELPER 1024 // player gave presents to Santa's helper FLAG_HURNSMINE_CHEST 2048 // player opened the chest with the short sword in Hurnscald mines +FLAG_GOT_BEANIEHAT 4096 // player got Beanie Copter Hat from Milly +FLAG_DECLINED_BEANIEHAT 8192 // player declined Beanie Copter Hat from Milly DOCK_tulimshar 1 DOCK_hurnscald 2 diff --git a/world/map/npc/009-1/milly_beaniecopter.txt b/world/map/npc/009-1/milly_beaniecopter.txt index e72b8ace..2a0c0cfb 100644 --- a/world/map/npc/009-1/milly_beaniecopter.txt +++ b/world/map/npc/009-1/milly_beaniecopter.txt @@ -1,6 +1,26 @@ +// Milly is involved in: +// Beanie-Copter quest +// Story and dialogs: veryape +// Scripting: Jenalya +// +// Inspector quest + 009-1.gat,81,41,0|script|Milly|114,{ -THIS DIALOUGE IS INTENDED FOR CHARACHTERS WITH LEVEL <40 OR FIRST TIME DIALOGUE + set @got_boneknife, ((QUEST_Forestbow_state & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT) >= 4; + set @got_setzer, ((QUEST_Forestbow_state & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT) >= 8; + set @saved_rossy, (FLAGS & FLAG_ROSSI_COMPLETED); + set @saved_cindy, ((QUEST_Nivalis_state & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT) >= 4; + + if (FLAGS & FLAG_GOT_BEANIEHAT) goto L_FinishedGood; + if (FLAGS & FLAG_DECLINED_BEANIEHAT) goto L_FinishedBad; + + if (@saved_rossy && @saved_cindy && @got_setzer && (BOSS_POINTS >= 5000)) goto L_OfferCap; + if (@got_setzer) goto L_GotSetzer; + if (@saved_cindy) goto L_SavedCindy; + if (@saved_rossy) goto L_SavedRossy; + if (@got_boneknife) goto L_GotBoneKnife; + if (BaseLevel > 40) goto L_NoKnifeYet; mes "[Milly]"; mes "\"Hello traveler, welcome to Hurnscald.\""; @@ -15,7 +35,7 @@ THIS DIALOUGE IS INTENDED FOR CHARACHTERS WITH LEVEL <40 OR FIRST TIME DIALOGUE L_Where: mes "[Milly]"; mes "\"You really ought to go see him! He is usually at the inn in the north-west part of town. If you are lucky he might tell you a story about his adventures.\""; - close; + goto L_Close; L_Care: mes "[Milly]"; @@ -28,10 +48,9 @@ L_Care: L_MetKfahr: mes "[Milly]"; mes "\"Oh, I hope you stayed and listened to his stories about his adventures.\""; - close; - -FOR CHARACHTERS WITH LVL 40+ WHO HAS NOT DONE THE BONE KNIFE QUEST + goto L_Close; +L_NoKnifeYet: mes "[Milly]"; mes "\"Hi again.\""; next; @@ -58,7 +77,7 @@ L_HintKnife: L_Unsure: mes "[Milly]"; mes "\"You better hurry up before he changes his mind!\""; - close; + goto L_Close; L_True: mes "[Milly]"; @@ -76,8 +95,7 @@ L_NoHelp: mes "\"You better learn from the wise and accept help from those who offer it.\""; goto L_Unsure; -THIS PART IS INTENDED FOR CHARACHTER WITH LVL 40+ WHO HAS DONE THE BONE KNIFE QUEST - +L_GotBoneKnife: mes "[Milly]"; mes "\"Hi. I heard that you got an exotic knife from Kfahr.\""; next; @@ -87,7 +105,8 @@ THIS PART IS INTENDED FOR CHARACHTER WITH LVL 40+ WHO HAS DONE THE BONE KNIFE QU "Haven't I already?", L_ShowKnifeAgain; L_ShowKnife: - // TODO: inventory check if the player really has the knife + if (countitem("BoneKnife") < 1) + goto L_ShowKnifeNo; mes "[Milly]"; mes "\"Wow! That is a knife fitting a real adventurer!\""; next; @@ -96,7 +115,7 @@ L_ShowKnife: mes "\"You should be honoured that he is treating you his knife like this.\""; next; mes "\"What a hero...\""; - close; + goto L_Close; L_ShowKnifeAgain: mes "[Milly]"; @@ -110,16 +129,9 @@ L_ShowKnifeAgain: next; mes "\"Please let me see it!\""; menu - "Okay.", L_ShowKnifeOk, + "Okay.", L_ShowKnife, "Enough is enough.", L_ShowKnifeNo; -L_ShowKnifeOk: - mes "[Milly]"; - mes "\"Wooha, it is even better than I remembered it.\""; - next; - mes "\"Thanks for showing it to me, goodbye.\""; - close; - L_ShowKnifeNo: mes "[Milly]"; mes "\"I hope that the reason that you don't show it to me is because you have it tucked away somewhere safe.\""; @@ -127,9 +139,9 @@ L_ShowKnifeNo: mes "\"Otherwise you are just a bore...\""; next; mes "\"Don't be boring!\""; - close; + goto L_Close; -THIS PART IS INTENDED FOR A CHARACHTER THAT HAS COMPLETED THE ROSSY QUEST +L_SavedRossy: mes "[Milly]"; mes "\"Hi friend!\""; next; @@ -153,16 +165,16 @@ L_Loudmouth: mes "\"A little modesty would be a fitting characteristic for you. You are talking as if you think that you are the equal of Kfahr.\""; next; mes "\"I think you should show a little more respect when you are this close to legendary heroes.\""; - close; + goto L_Close; L_Modesty: mes "[Milly]"; mes "\"Wow, you have been very helpful and unselfish risking your own safety for the sake of others! Thanks to that Julia is back and Olana is able to sleep at night.\""; next; mes "\"If you continue with those kinds of deeds you might earn your place in the history books of Hurnscald!\""; - close; + goto L_Close; -THIS PART IS INTENDED FOR A CHARACHTER THAT HAS COMPLETED THE CINDY QUEST +L_SavedCindy: mes "[Milly]"; mes "\"Hi!\""; next; @@ -191,21 +203,14 @@ L_HeroGrowing: next; mes "\"As things are shaping up you certainly are becoming something of a idol for us kids. At school the kids gossip about you, you're fastly becoming one of the most admired people around...\""; next; - mes "\"I'm excited to hear about your actions again soon.\""; - close; - -THIS PART IS INTENDED FOR A PLAYER THAT HAS DONE CINDY & ROSSY BUT HAS NOT YET MADE THE SETZER QUEST - - mes "[Milly]"; - mes "\"Hello!"; - mes "Since you've proven yourself with your great acts I'll let you in on some gossip I've heard.\""; + mes "\"Since you've proven yourself with your great acts I'll let you in on exciting rumor I've heard.\""; next; mes "\"I've heard that Nicholas has learned new techniques in forging and weapon smithing. He is now able to improve a small sword into what is called a Setzer.\""; next; mes "\"Go talk to him and hear if he can help you get hold of one of these weapons.\""; - close; + goto L_Close; -THIS PART IS INTENDED FOR A PLAYER AFTER HE HAS COMPLETED THE SETZER QUEST +L_GotSetzer: mes "[Milly]"; mes "\"Hello!\""; next; @@ -214,10 +219,9 @@ THIS PART IS INTENDED FOR A PLAYER AFTER HE HAS COMPLETED THE SETZER QUEST mes "\"And the fact that Kfahr helped you means he really rates you as a fellow adventurer!\""; next; mes "\"Praise does not get much better than that around here. He knows a good adventurer when he see one, you must have impressed him!\""; - close; - -THIS PART IS INTENDED FOR A PLAYER THAT HAS DONE THE ABOVE AND IS LVL 90 BUT HAS NOT GOT 5000 BOSS POINTS - mes "[Milly]"; + if (!@saved_cindy || !@saved_rossy) + goto L_Close; + next; mes "\"To be honest you are fast becoming my favored hero, even... dare I say it? Even more so than Kfahr.\""; next; mes "\"Your good deeds and your skill is undisputable! However...\""; @@ -233,9 +237,9 @@ THIS PART IS INTENDED FOR A PLAYER THAT HAS DONE THE ABOVE AND IS LVL 90 BUT HAS mes "\"For my generation you are the true hero, please prove the elders wrong by showing them that you are fearless!\""; next; mes "\"Good luck and good bye!\""; - close; + goto L_Close; -THIS PART IS INTENDED FOR A PLAYER THAT HAS DONE ALL OF THE ABOVE IS LVL 90+ AND HAS 5000 BOSS POINTS +L_OfferCap: mes "[Milly]"; mes "\"Hi there, hero of Hurnscald!\""; next; @@ -260,16 +264,16 @@ L_Cap: mes "[Milly]"; mes "\"Wow, thanks for accepting my gift, it is so pleasing to know that you have the exact same cap as me!\""; getinventorylist; - // TODO: insert item name - if (@inventorylist_count == 100 && countitem(XXX) == 0) + if (@inventorylist_count == 100 || (checkweight("BeanieCopterCap", 1) == 0)) goto L_TooMany; - getitem XXX, 1; + getitem "BeanieCopterCap", 1; + set FLAGS, FLAGS | FLAG_GOT_BEANIEHAT; next; mes "She is giggeling with exitement."; next; mes "[Milly]"; mes "\"Come see me anytime! Goodbye!\""; - close; + goto L_Close; L_Idiot: mes "[Milly]"; @@ -284,22 +288,30 @@ L_BadBye: mes "\"I guess they were right, you're not any great hero! I'll give it to Kfahr instead!\""; next; mes "\"Please keep on travelling so I don't have to see you around here. It makes me sad to see you, everytime I do I'll remember how wrong I was about you.\""; - close; + set FLAGS, FLAGS | FLAG_DECLINED_BEANIEHAT; + goto L_Close; L_TooMany: mes "[Milly]"; mes "\"You don't have any space left to carry it, go put some stuff in the storage and come back!\""; - close; + goto L_Close; -INTENDED FOR SOMEONE THAT HAS COMPLETED ALL THE ABOVE AND RECIEVED THE CAP +L_FinishedGood: mes "[Milly]"; mes "\"Hi there, my hero!\""; next; mes "\"Wear the copter beany cap in good health! See you around!\""; - close; + goto L_Close; -INTENDED FOR SOMEONE THAT TURNED DOWN THE CAP +L_FinishedBad: mes "[Milly]"; mes "\"Won't you continue your travels soon?\""; + goto L_Close; + +L_Close: + set @got_boneknife, 0; + set @got_setzer, 0; + set @saved_rossy, 0; + set @saved_cindy, 0; close; } -- cgit v1.2.3-60-g2f50 From bb746924b6167a5e5cdc02321b7c01a8a9060872 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Wed, 27 Feb 2013 14:05:00 +0100 Subject: Integrate Inspector quest logic into script about Beanie Copter quest. --- world/map/npc/009-1/milly_beaniecopter.txt | 59 +++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 2 deletions(-) (limited to 'world/map/npc/009-1') diff --git a/world/map/npc/009-1/milly_beaniecopter.txt b/world/map/npc/009-1/milly_beaniecopter.txt index 2a0c0cfb..4f454d1c 100644 --- a/world/map/npc/009-1/milly_beaniecopter.txt +++ b/world/map/npc/009-1/milly_beaniecopter.txt @@ -6,6 +6,9 @@ // Inspector quest 009-1.gat,81,41,0|script|Milly|114,{ + callfunc "ClearVariables"; + + set @inspector, ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT); set @got_boneknife, ((QUEST_Forestbow_state & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT) >= 4; set @got_setzer, ((QUEST_Forestbow_state & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT) >= 8; @@ -25,6 +28,9 @@ mes "[Milly]"; mes "\"Hello traveler, welcome to Hurnscald.\""; next; + if (@inspector == 1) + callsub S_InspectorQuest; + mes "\"Have you met Kfahr yet? He is the greatest hero that ever walked the land of Hurnscald!\""; menu "Hi! No, I haven't seen him.", L_Where, @@ -54,6 +60,9 @@ L_NoKnifeYet: mes "[Milly]"; mes "\"Hi again.\""; next; + if (@inspector == 1) + callsub S_InspectorQuest; + mes "\"Have you talked to Kfahr lately?\""; menu "Yes.", L_TalkKfahr, @@ -97,9 +106,13 @@ L_NoHelp: L_GotBoneKnife: mes "[Milly]"; - mes "\"Hi. I heard that you got an exotic knife from Kfahr.\""; + mes "\"Hi there.\""; next; - mes "\"Would you care to show it for me?\""; + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "\"I heard that you got an exotic knife from Kfahr."; + mes "Would you care to show it for me?\""; menu "Sure.", L_ShowKnife, "Haven't I already?", L_ShowKnifeAgain; @@ -145,6 +158,9 @@ L_SavedRossy: mes "[Milly]"; mes "\"Hi friend!\""; next; + if (@inspector == 1) + callsub S_InspectorQuest; + mes "\"Word is all around Hurnscald of your great act of helping my friends Rossy and Julia!\""; next; mes "\"Not only did you help Rossy, you saved her sister Julia from that Fey Element. That was a real act of heroism!\""; @@ -178,6 +194,9 @@ L_SavedCindy: mes "[Milly]"; mes "\"Hi!\""; next; + if (@inspector == 1) + callsub S_InspectorQuest; + mes "\"Are the rumors true?\""; next; mes "\"Word is going around that you saved a girl called Cindy who was captured by Yetis in Nivalis, and that you arranged a rescue party getting her back from a deep Yeti inhibited cave.\""; @@ -214,6 +233,9 @@ L_GotSetzer: mes "[Milly]"; mes "\"Hello!\""; next; + if (@inspector == 1) + callsub S_InspectorQuest; + mes "\"I heard that you got hold of a Setzer!\""; next; mes "\"And the fact that Kfahr helped you means he really rates you as a fellow adventurer!\""; @@ -243,6 +265,9 @@ L_OfferCap: mes "[Milly]"; mes "\"Hi there, hero of Hurnscald!\""; next; + if (@inspector == 1) + callsub S_InspectorQuest; + mes "\"You really have proven yourself over and over. There is no way someone could say you're not the equal of Kfahr!\""; next; mes "\"Now even the grownups are respecting you as a hero as great as Kfahr!\""; @@ -300,12 +325,20 @@ L_FinishedGood: mes "[Milly]"; mes "\"Hi there, my hero!\""; next; + if (@inspector == 1) + callsub S_InspectorQuest; + mes "\"Wear the copter beany cap in good health! See you around!\""; goto L_Close; L_FinishedBad: mes "[Milly]"; mes "\"Won't you continue your travels soon?\""; + next; + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "Milly looks away sadly."; goto L_Close; L_Close: @@ -313,5 +346,27 @@ L_Close: set @got_setzer, 0; set @saved_rossy, 0; set @saved_cindy, 0; + set @inspector, 0; close; + +S_InspectorQuest: + menu + "Have you seen anything strange lately?", L_NohMask_Strange, + "Do you know anything about the recent robberies?", L_NohMask_Robbery, + "Hello.", L_Return; + +L_NohMask_Strange: + mes "[Milly]"; + mes "\"I haven't seen anything strange.\""; + next; + goto L_Return; + +L_NohMask_Robbery: + mes "[Milly]"; + mes "\"No, sorry.\""; + next; + goto L_Return; + +L_Return: + return; } -- cgit v1.2.3-60-g2f50 From 075374eb6030dc49de6d681d51c72d795e941491 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Sat, 2 Mar 2013 10:50:07 +0100 Subject: Move Beanie Copter quest into correct file. --- world/map/npc/009-1/milly.txt | 358 ++++++++++++++++++++++++++- world/map/npc/009-1/milly_beaniecopter.txt | 372 ----------------------------- 2 files changed, 350 insertions(+), 380 deletions(-) delete mode 100644 world/map/npc/009-1/milly_beaniecopter.txt (limited to 'world/map/npc/009-1') diff --git a/world/map/npc/009-1/milly.txt b/world/map/npc/009-1/milly.txt index df0d31be..4f454d1c 100644 --- a/world/map/npc/009-1/milly.txt +++ b/world/map/npc/009-1/milly.txt @@ -1,30 +1,372 @@ +// Milly is involved in: +// Beanie-Copter quest +// Story and dialogs: veryape +// Scripting: Jenalya +// +// Inspector quest + 009-1.gat,81,41,0|script|Milly|114,{ callfunc "ClearVariables"; set @inspector, ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT); + set @got_boneknife, ((QUEST_Forestbow_state & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT) >= 4; + set @got_setzer, ((QUEST_Forestbow_state & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT) >= 8; + set @saved_rossy, (FLAGS & FLAG_ROSSI_COMPLETED); + set @saved_cindy, ((QUEST_Nivalis_state & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT) >= 4; + + if (FLAGS & FLAG_GOT_BEANIEHAT) goto L_FinishedGood; + if (FLAGS & FLAG_DECLINED_BEANIEHAT) goto L_FinishedBad; + + if (@saved_rossy && @saved_cindy && @got_setzer && (BOSS_POINTS >= 5000)) goto L_OfferCap; + if (@got_setzer) goto L_GotSetzer; + if (@saved_cindy) goto L_SavedCindy; + if (@saved_rossy) goto L_SavedRossy; + if (@got_boneknife) goto L_GotBoneKnife; + if (BaseLevel > 40) goto L_NoKnifeYet; + + mes "[Milly]"; + mes "\"Hello traveler, welcome to Hurnscald.\""; + next; + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "\"Have you met Kfahr yet? He is the greatest hero that ever walked the land of Hurnscald!\""; + menu + "Hi! No, I haven't seen him.", L_Where, + "Where could I find him?", L_Where, + "Mh, I don't care for heroes.", L_Care, + "Hello, yes I've met him.", L_MetKfahr; + +L_Where: + mes "[Milly]"; + mes "\"You really ought to go see him! He is usually at the inn in the north-west part of town. If you are lucky he might tell you a story about his adventures.\""; + goto L_Close; + +L_Care: + mes "[Milly]"; + mes "\"What? Surely you do not understand what a hero he is or you are just not intelligent enough to grasp what his actions have meant for us. He is a true inspiration for all of us.\""; + next; + mes "\"You can't have met him. No one who has met him would say such silly things.\""; + next; + goto L_Where; + +L_MetKfahr: + mes "[Milly]"; + mes "\"Oh, I hope you stayed and listened to his stories about his adventures.\""; + goto L_Close; + +L_NoKnifeYet: + mes "[Milly]"; + mes "\"Hi again.\""; + next; + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "\"Have you talked to Kfahr lately?\""; + menu + "Yes.", L_TalkKfahr, + "No.", L_HintKnife; + +L_TalkKfahr: + mes "[Milly]"; + mes "\"Is it true as the rumors say? ...\""; + next; + goto L_HintKnife; + +L_HintKnife: + mes "[Milly]"; + mes "\"You really should go meet him.\""; + next; + mes "\"I've heard that he is helping adventurers such as yourself with some exotic gear.\""; + menu + "I am not sure, I'd better go talk to him again.", L_Unsure, + "Yes, it is true.", L_True; + +L_Unsure: + mes "[Milly]"; + mes "\"You better hurry up before he changes his mind!\""; + goto L_Close; + +L_True: + mes "[Milly]"; + mes "\"So, why haven't you accepted his generous offer?\""; + menu + "I was just about to...", L_Unsure, + "I don't need any help.", L_NoHelp; + +L_NoHelp: + mes "[Milly]"; + mes "\"You must be kidding me.\""; + next; + mes "\"I am just a kid but possess more wisdom than you. How you managed to even look like an adventurer is beyond me.\""; + next; + mes "\"You better learn from the wise and accept help from those who offer it.\""; + goto L_Unsure; + +L_GotBoneKnife: + mes "[Milly]"; + mes "\"Hi there.\""; + next; + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "\"I heard that you got an exotic knife from Kfahr."; + mes "Would you care to show it for me?\""; + menu + "Sure.", L_ShowKnife, + "Haven't I already?", L_ShowKnifeAgain; + +L_ShowKnife: + if (countitem("BoneKnife") < 1) + goto L_ShowKnifeNo; + mes "[Milly]"; + mes "\"Wow! That is a knife fitting a real adventurer!\""; + next; + mes "\"Kfahr ain't just a hero, he is also a stand up guy.\""; + next; + mes "\"You should be honoured that he is treating you his knife like this.\""; + next; + mes "\"What a hero...\""; + goto L_Close; + +L_ShowKnifeAgain: + mes "[Milly]"; + mes "\"What is the difference? It's so exiting to see such a fine knife.\""; + next; + mes "\"It is like cake, sure I might have had it before...\""; + next; + mes "\"... but does that stop me from wanting it once more?\""; + next; + mes "\"NO!\""; + next; + mes "\"Please let me see it!\""; + menu + "Okay.", L_ShowKnife, + "Enough is enough.", L_ShowKnifeNo; + +L_ShowKnifeNo: + mes "[Milly]"; + mes "\"I hope that the reason that you don't show it to me is because you have it tucked away somewhere safe.\""; + next; + mes "\"Otherwise you are just a bore...\""; + next; + mes "\"Don't be boring!\""; + goto L_Close; + +L_SavedRossy: + mes "[Milly]"; + mes "\"Hi friend!\""; + next; + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "\"Word is all around Hurnscald of your great act of helping my friends Rossy and Julia!\""; + next; + mes "\"Not only did you help Rossy, you saved her sister Julia from that Fey Element. That was a real act of heroism!\""; + next; + mes "\"You are shaping up to be something of a hero yourself.\""; + next; + mes "\"I am so happy that you came to Hurnscald, without you I'm not so sure that Julia would have been saved.\""; + menu + "You're right, I am a hero!", L_Loudmouth, + "I'm doing my best!", L_Modesty; + +L_Loudmouth: + mes "[Milly]"; + mes "\"You surely are not...\""; + next; + mes "\"First and foremost you are a loudmouth. Your actions speeks better for themselves without your boasting.\""; + next; + mes "\"A little modesty would be a fitting characteristic for you. You are talking as if you think that you are the equal of Kfahr.\""; + next; + mes "\"I think you should show a little more respect when you are this close to legendary heroes.\""; + goto L_Close; + +L_Modesty: + mes "[Milly]"; + mes "\"Wow, you have been very helpful and unselfish risking your own safety for the sake of others! Thanks to that Julia is back and Olana is able to sleep at night.\""; + next; + mes "\"If you continue with those kinds of deeds you might earn your place in the history books of Hurnscald!\""; + goto L_Close; + +L_SavedCindy: + mes "[Milly]"; + mes "\"Hi!\""; + next; + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "\"Are the rumors true?\""; + next; + mes "\"Word is going around that you saved a girl called Cindy who was captured by Yetis in Nivalis, and that you arranged a rescue party getting her back from a deep Yeti inhibited cave.\""; + menu + "Thanks to the party, yes.", L_Party, + "Yes, it is true!", L_Cindy; + +L_Party: + mes "[Milly]"; + mes "\"Wow! Not only are you brave, you also have the wisdom to seek help when needed!\""; + next; + mes "\"Being a skilled fighter is good. But being a skilled fighter coupled with your wits and organizational skill, now that is something special!\""; + goto L_HeroGrowing; + +L_Cindy: + mes "[Milly]"; + mes "\"Once again you've done good!\""; + goto L_HeroGrowing; + +L_HeroGrowing: + mes "[Milly]"; + mes "\"You have saved two kids about my own age from horrible situations, it is just like the stories I heard growing up.\""; + next; + mes "\"As things are shaping up you certainly are becoming something of a idol for us kids. At school the kids gossip about you, you're fastly becoming one of the most admired people around...\""; + next; + mes "\"Since you've proven yourself with your great acts I'll let you in on exciting rumor I've heard.\""; + next; + mes "\"I've heard that Nicholas has learned new techniques in forging and weapon smithing. He is now able to improve a small sword into what is called a Setzer.\""; + next; + mes "\"Go talk to him and hear if he can help you get hold of one of these weapons.\""; + goto L_Close; + +L_GotSetzer: mes "[Milly]"; - mes "\"Hello.\""; + mes "\"Hello!\""; next; - if (@inspector != 1) + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "\"I heard that you got hold of a Setzer!\""; + next; + mes "\"And the fact that Kfahr helped you means he really rates you as a fellow adventurer!\""; + next; + mes "\"Praise does not get much better than that around here. He knows a good adventurer when he see one, you must have impressed him!\""; + if (!@saved_cindy || !@saved_rossy) goto L_Close; + next; + mes "\"To be honest you are fast becoming my favored hero, even... dare I say it? Even more so than Kfahr.\""; + next; + mes "\"Your good deeds and your skill is undisputable! However...\""; + next; + mes "\"Somehow I feel that you still need to prove your courage. The elders say that although they find you an adorable person and a hero that you can't be considered as great as Kfahr before you've proved yourself fearless.\""; + next; + mes "\"You could prove yourself as the greatest hero who has walked the land by accepting Paruas challenge at Candor. Stare death in the eyes, show no fear and conquer! Show everyone that you're worthy the title of the greatest hero ever!\""; + next; + mes "\"I myself already consider you my favourite hero, sure Kfahr has done great things, but...\""; + next; + mes "\"Nowadays he mostly sits around with that sad bunch of drunkards in the Inn, drinking beer and talk about past glory.\""; + next; + mes "\"For my generation you are the true hero, please prove the elders wrong by showing them that you are fearless!\""; + next; + mes "\"Good luck and good bye!\""; + goto L_Close; + +L_OfferCap: + mes "[Milly]"; + mes "\"Hi there, hero of Hurnscald!\""; + next; + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "\"You really have proven yourself over and over. There is no way someone could say you're not the equal of Kfahr!\""; + next; + mes "\"Now even the grownups are respecting you as a hero as great as Kfahr!\""; + next; + mes "\"I have something I want to give you...\""; + next; + mes "\"I was given two of those helicopter beanie caps at my birthday. I told everyone that it was what I really wanted so I got two of them...\""; + next; + mes "\"And some other kids are picking on me for wearing it, they say it is for nerds... I would be happy to give you one of them.\""; + next; + mes "\"It would be great, if you wore a cap just like mine that would sure shut them up! I also want to present you with this rare hat as a token of my gratitude for everything you have done.\""; + next; + mes "\"I would be honoured to have the same cap as my hero!\""; + menu + "Thank you!", L_Cap, + "No, thanks.", L_Idiot; + +L_Cap: + mes "[Milly]"; + mes "\"Wow, thanks for accepting my gift, it is so pleasing to know that you have the exact same cap as me!\""; + getinventorylist; + if (@inventorylist_count == 100 || (checkweight("BeanieCopterCap", 1) == 0)) + goto L_TooMany; + getitem "BeanieCopterCap", 1; + set FLAGS, FLAGS | FLAG_GOT_BEANIEHAT; + next; + mes "She is giggeling with exitement."; + next; + mes "[Milly]"; + mes "\"Come see me anytime! Goodbye!\""; + goto L_Close; + +L_Idiot: + mes "[Milly]"; + mes "\"Are you really sure? It is a lovely cap.\""; + menu + "Yes, no nerd hat for me!", L_BadBye, + "Just kidding, I want one!", L_Cap; + +L_BadBye: + mes "Tears are forming in her eyes."; + mes "[Milly]"; + mes "\"I guess they were right, you're not any great hero! I'll give it to Kfahr instead!\""; + next; + mes "\"Please keep on travelling so I don't have to see you around here. It makes me sad to see you, everytime I do I'll remember how wrong I was about you.\""; + set FLAGS, FLAGS | FLAG_DECLINED_BEANIEHAT; + goto L_Close; + +L_TooMany: + mes "[Milly]"; + mes "\"You don't have any space left to carry it, go put some stuff in the storage and come back!\""; + goto L_Close; + +L_FinishedGood: + mes "[Milly]"; + mes "\"Hi there, my hero!\""; + next; + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "\"Wear the copter beany cap in good health! See you around!\""; + goto L_Close; + +L_FinishedBad: + mes "[Milly]"; + mes "\"Won't you continue your travels soon?\""; + next; + if (@inspector == 1) + callsub S_InspectorQuest; + + mes "Milly looks away sadly."; + goto L_Close; + +L_Close: + set @got_boneknife, 0; + set @got_setzer, 0; + set @saved_rossy, 0; + set @saved_cindy, 0; + set @inspector, 0; + close; +S_InspectorQuest: menu "Have you seen anything strange lately?", L_NohMask_Strange, "Do you know anything about the recent robberies?", L_NohMask_Robbery, - "Hello.", L_Close; + "Hello.", L_Return; L_NohMask_Strange: mes "[Milly]"; mes "\"I haven't seen anything strange.\""; - goto L_Close; + next; + goto L_Return; L_NohMask_Robbery: mes "[Milly]"; mes "\"No, sorry.\""; - goto L_Close; + next; + goto L_Return; -L_Close: - set @inspector, 0; - close; +L_Return: + return; } diff --git a/world/map/npc/009-1/milly_beaniecopter.txt b/world/map/npc/009-1/milly_beaniecopter.txt deleted file mode 100644 index 4f454d1c..00000000 --- a/world/map/npc/009-1/milly_beaniecopter.txt +++ /dev/null @@ -1,372 +0,0 @@ -// Milly is involved in: -// Beanie-Copter quest -// Story and dialogs: veryape -// Scripting: Jenalya -// -// Inspector quest - -009-1.gat,81,41,0|script|Milly|114,{ - callfunc "ClearVariables"; - - set @inspector, ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT); - - set @got_boneknife, ((QUEST_Forestbow_state & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT) >= 4; - set @got_setzer, ((QUEST_Forestbow_state & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT) >= 8; - set @saved_rossy, (FLAGS & FLAG_ROSSI_COMPLETED); - set @saved_cindy, ((QUEST_Nivalis_state & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT) >= 4; - - if (FLAGS & FLAG_GOT_BEANIEHAT) goto L_FinishedGood; - if (FLAGS & FLAG_DECLINED_BEANIEHAT) goto L_FinishedBad; - - if (@saved_rossy && @saved_cindy && @got_setzer && (BOSS_POINTS >= 5000)) goto L_OfferCap; - if (@got_setzer) goto L_GotSetzer; - if (@saved_cindy) goto L_SavedCindy; - if (@saved_rossy) goto L_SavedRossy; - if (@got_boneknife) goto L_GotBoneKnife; - if (BaseLevel > 40) goto L_NoKnifeYet; - - mes "[Milly]"; - mes "\"Hello traveler, welcome to Hurnscald.\""; - next; - if (@inspector == 1) - callsub S_InspectorQuest; - - mes "\"Have you met Kfahr yet? He is the greatest hero that ever walked the land of Hurnscald!\""; - menu - "Hi! No, I haven't seen him.", L_Where, - "Where could I find him?", L_Where, - "Mh, I don't care for heroes.", L_Care, - "Hello, yes I've met him.", L_MetKfahr; - -L_Where: - mes "[Milly]"; - mes "\"You really ought to go see him! He is usually at the inn in the north-west part of town. If you are lucky he might tell you a story about his adventures.\""; - goto L_Close; - -L_Care: - mes "[Milly]"; - mes "\"What? Surely you do not understand what a hero he is or you are just not intelligent enough to grasp what his actions have meant for us. He is a true inspiration for all of us.\""; - next; - mes "\"You can't have met him. No one who has met him would say such silly things.\""; - next; - goto L_Where; - -L_MetKfahr: - mes "[Milly]"; - mes "\"Oh, I hope you stayed and listened to his stories about his adventures.\""; - goto L_Close; - -L_NoKnifeYet: - mes "[Milly]"; - mes "\"Hi again.\""; - next; - if (@inspector == 1) - callsub S_InspectorQuest; - - mes "\"Have you talked to Kfahr lately?\""; - menu - "Yes.", L_TalkKfahr, - "No.", L_HintKnife; - -L_TalkKfahr: - mes "[Milly]"; - mes "\"Is it true as the rumors say? ...\""; - next; - goto L_HintKnife; - -L_HintKnife: - mes "[Milly]"; - mes "\"You really should go meet him.\""; - next; - mes "\"I've heard that he is helping adventurers such as yourself with some exotic gear.\""; - menu - "I am not sure, I'd better go talk to him again.", L_Unsure, - "Yes, it is true.", L_True; - -L_Unsure: - mes "[Milly]"; - mes "\"You better hurry up before he changes his mind!\""; - goto L_Close; - -L_True: - mes "[Milly]"; - mes "\"So, why haven't you accepted his generous offer?\""; - menu - "I was just about to...", L_Unsure, - "I don't need any help.", L_NoHelp; - -L_NoHelp: - mes "[Milly]"; - mes "\"You must be kidding me.\""; - next; - mes "\"I am just a kid but possess more wisdom than you. How you managed to even look like an adventurer is beyond me.\""; - next; - mes "\"You better learn from the wise and accept help from those who offer it.\""; - goto L_Unsure; - -L_GotBoneKnife: - mes "[Milly]"; - mes "\"Hi there.\""; - next; - if (@inspector == 1) - callsub S_InspectorQuest; - - mes "\"I heard that you got an exotic knife from Kfahr."; - mes "Would you care to show it for me?\""; - menu - "Sure.", L_ShowKnife, - "Haven't I already?", L_ShowKnifeAgain; - -L_ShowKnife: - if (countitem("BoneKnife") < 1) - goto L_ShowKnifeNo; - mes "[Milly]"; - mes "\"Wow! That is a knife fitting a real adventurer!\""; - next; - mes "\"Kfahr ain't just a hero, he is also a stand up guy.\""; - next; - mes "\"You should be honoured that he is treating you his knife like this.\""; - next; - mes "\"What a hero...\""; - goto L_Close; - -L_ShowKnifeAgain: - mes "[Milly]"; - mes "\"What is the difference? It's so exiting to see such a fine knife.\""; - next; - mes "\"It is like cake, sure I might have had it before...\""; - next; - mes "\"... but does that stop me from wanting it once more?\""; - next; - mes "\"NO!\""; - next; - mes "\"Please let me see it!\""; - menu - "Okay.", L_ShowKnife, - "Enough is enough.", L_ShowKnifeNo; - -L_ShowKnifeNo: - mes "[Milly]"; - mes "\"I hope that the reason that you don't show it to me is because you have it tucked away somewhere safe.\""; - next; - mes "\"Otherwise you are just a bore...\""; - next; - mes "\"Don't be boring!\""; - goto L_Close; - -L_SavedRossy: - mes "[Milly]"; - mes "\"Hi friend!\""; - next; - if (@inspector == 1) - callsub S_InspectorQuest; - - mes "\"Word is all around Hurnscald of your great act of helping my friends Rossy and Julia!\""; - next; - mes "\"Not only did you help Rossy, you saved her sister Julia from that Fey Element. That was a real act of heroism!\""; - next; - mes "\"You are shaping up to be something of a hero yourself.\""; - next; - mes "\"I am so happy that you came to Hurnscald, without you I'm not so sure that Julia would have been saved.\""; - menu - "You're right, I am a hero!", L_Loudmouth, - "I'm doing my best!", L_Modesty; - -L_Loudmouth: - mes "[Milly]"; - mes "\"You surely are not...\""; - next; - mes "\"First and foremost you are a loudmouth. Your actions speeks better for themselves without your boasting.\""; - next; - mes "\"A little modesty would be a fitting characteristic for you. You are talking as if you think that you are the equal of Kfahr.\""; - next; - mes "\"I think you should show a little more respect when you are this close to legendary heroes.\""; - goto L_Close; - -L_Modesty: - mes "[Milly]"; - mes "\"Wow, you have been very helpful and unselfish risking your own safety for the sake of others! Thanks to that Julia is back and Olana is able to sleep at night.\""; - next; - mes "\"If you continue with those kinds of deeds you might earn your place in the history books of Hurnscald!\""; - goto L_Close; - -L_SavedCindy: - mes "[Milly]"; - mes "\"Hi!\""; - next; - if (@inspector == 1) - callsub S_InspectorQuest; - - mes "\"Are the rumors true?\""; - next; - mes "\"Word is going around that you saved a girl called Cindy who was captured by Yetis in Nivalis, and that you arranged a rescue party getting her back from a deep Yeti inhibited cave.\""; - menu - "Thanks to the party, yes.", L_Party, - "Yes, it is true!", L_Cindy; - -L_Party: - mes "[Milly]"; - mes "\"Wow! Not only are you brave, you also have the wisdom to seek help when needed!\""; - next; - mes "\"Being a skilled fighter is good. But being a skilled fighter coupled with your wits and organizational skill, now that is something special!\""; - goto L_HeroGrowing; - -L_Cindy: - mes "[Milly]"; - mes "\"Once again you've done good!\""; - goto L_HeroGrowing; - -L_HeroGrowing: - mes "[Milly]"; - mes "\"You have saved two kids about my own age from horrible situations, it is just like the stories I heard growing up.\""; - next; - mes "\"As things are shaping up you certainly are becoming something of a idol for us kids. At school the kids gossip about you, you're fastly becoming one of the most admired people around...\""; - next; - mes "\"Since you've proven yourself with your great acts I'll let you in on exciting rumor I've heard.\""; - next; - mes "\"I've heard that Nicholas has learned new techniques in forging and weapon smithing. He is now able to improve a small sword into what is called a Setzer.\""; - next; - mes "\"Go talk to him and hear if he can help you get hold of one of these weapons.\""; - goto L_Close; - -L_GotSetzer: - mes "[Milly]"; - mes "\"Hello!\""; - next; - if (@inspector == 1) - callsub S_InspectorQuest; - - mes "\"I heard that you got hold of a Setzer!\""; - next; - mes "\"And the fact that Kfahr helped you means he really rates you as a fellow adventurer!\""; - next; - mes "\"Praise does not get much better than that around here. He knows a good adventurer when he see one, you must have impressed him!\""; - if (!@saved_cindy || !@saved_rossy) - goto L_Close; - next; - mes "\"To be honest you are fast becoming my favored hero, even... dare I say it? Even more so than Kfahr.\""; - next; - mes "\"Your good deeds and your skill is undisputable! However...\""; - next; - mes "\"Somehow I feel that you still need to prove your courage. The elders say that although they find you an adorable person and a hero that you can't be considered as great as Kfahr before you've proved yourself fearless.\""; - next; - mes "\"You could prove yourself as the greatest hero who has walked the land by accepting Paruas challenge at Candor. Stare death in the eyes, show no fear and conquer! Show everyone that you're worthy the title of the greatest hero ever!\""; - next; - mes "\"I myself already consider you my favourite hero, sure Kfahr has done great things, but...\""; - next; - mes "\"Nowadays he mostly sits around with that sad bunch of drunkards in the Inn, drinking beer and talk about past glory.\""; - next; - mes "\"For my generation you are the true hero, please prove the elders wrong by showing them that you are fearless!\""; - next; - mes "\"Good luck and good bye!\""; - goto L_Close; - -L_OfferCap: - mes "[Milly]"; - mes "\"Hi there, hero of Hurnscald!\""; - next; - if (@inspector == 1) - callsub S_InspectorQuest; - - mes "\"You really have proven yourself over and over. There is no way someone could say you're not the equal of Kfahr!\""; - next; - mes "\"Now even the grownups are respecting you as a hero as great as Kfahr!\""; - next; - mes "\"I have something I want to give you...\""; - next; - mes "\"I was given two of those helicopter beanie caps at my birthday. I told everyone that it was what I really wanted so I got two of them...\""; - next; - mes "\"And some other kids are picking on me for wearing it, they say it is for nerds... I would be happy to give you one of them.\""; - next; - mes "\"It would be great, if you wore a cap just like mine that would sure shut them up! I also want to present you with this rare hat as a token of my gratitude for everything you have done.\""; - next; - mes "\"I would be honoured to have the same cap as my hero!\""; - menu - "Thank you!", L_Cap, - "No, thanks.", L_Idiot; - -L_Cap: - mes "[Milly]"; - mes "\"Wow, thanks for accepting my gift, it is so pleasing to know that you have the exact same cap as me!\""; - getinventorylist; - if (@inventorylist_count == 100 || (checkweight("BeanieCopterCap", 1) == 0)) - goto L_TooMany; - getitem "BeanieCopterCap", 1; - set FLAGS, FLAGS | FLAG_GOT_BEANIEHAT; - next; - mes "She is giggeling with exitement."; - next; - mes "[Milly]"; - mes "\"Come see me anytime! Goodbye!\""; - goto L_Close; - -L_Idiot: - mes "[Milly]"; - mes "\"Are you really sure? It is a lovely cap.\""; - menu - "Yes, no nerd hat for me!", L_BadBye, - "Just kidding, I want one!", L_Cap; - -L_BadBye: - mes "Tears are forming in her eyes."; - mes "[Milly]"; - mes "\"I guess they were right, you're not any great hero! I'll give it to Kfahr instead!\""; - next; - mes "\"Please keep on travelling so I don't have to see you around here. It makes me sad to see you, everytime I do I'll remember how wrong I was about you.\""; - set FLAGS, FLAGS | FLAG_DECLINED_BEANIEHAT; - goto L_Close; - -L_TooMany: - mes "[Milly]"; - mes "\"You don't have any space left to carry it, go put some stuff in the storage and come back!\""; - goto L_Close; - -L_FinishedGood: - mes "[Milly]"; - mes "\"Hi there, my hero!\""; - next; - if (@inspector == 1) - callsub S_InspectorQuest; - - mes "\"Wear the copter beany cap in good health! See you around!\""; - goto L_Close; - -L_FinishedBad: - mes "[Milly]"; - mes "\"Won't you continue your travels soon?\""; - next; - if (@inspector == 1) - callsub S_InspectorQuest; - - mes "Milly looks away sadly."; - goto L_Close; - -L_Close: - set @got_boneknife, 0; - set @got_setzer, 0; - set @saved_rossy, 0; - set @saved_cindy, 0; - set @inspector, 0; - close; - -S_InspectorQuest: - menu - "Have you seen anything strange lately?", L_NohMask_Strange, - "Do you know anything about the recent robberies?", L_NohMask_Robbery, - "Hello.", L_Return; - -L_NohMask_Strange: - mes "[Milly]"; - mes "\"I haven't seen anything strange.\""; - next; - goto L_Return; - -L_NohMask_Robbery: - mes "[Milly]"; - mes "\"No, sorry.\""; - next; - goto L_Return; - -L_Return: - return; -} -- cgit v1.2.3-60-g2f50 From 3d6ddd55024c4aa5bc10fe6360aa5fc4faad395e Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Mon, 11 Mar 2013 16:01:34 +0100 Subject: Add debug helper for the Beanie Copter quest. --- world/map/npc/009-1/milly.txt | 72 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) (limited to 'world/map/npc/009-1') diff --git a/world/map/npc/009-1/milly.txt b/world/map/npc/009-1/milly.txt index 4f454d1c..655f43e4 100644 --- a/world/map/npc/009-1/milly.txt +++ b/world/map/npc/009-1/milly.txt @@ -370,3 +370,75 @@ L_NohMask_Robbery: L_Return: return; } + +009-1.gat,82,41,0|script|MillyDebugHelper|114,{ + + mes "You can set certain quests as finished or not finished. What would you like to do?"; + menu + "Bone Knife Quest done.", L_DBoneKnife, + "Rossy Quest done.", L_DRossy, + "Cindy Quest done.", L_DCindy, + "Setzer Quest done.", L_DSetzer, + "Gain 5000 Boss Points.", L_DBossPoints, + "Bone Knife and Setzer Quest not done.", L_NBoneKnife, + "Rossy Quest not done.", L_NRossy, + "Cindy Quest not done.", L_NCindy, + "Setzer Quest not done.", L_NSetzer, + "Remove all Boss Points.", L_NBossPoints, + "Nothing.", L_Close; + +L_DBoneKnife: + set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_2_MASK)) | (4 << NIBBLE_2_SHIFT); + mes "Bone Knife quest set to completed."; + close; + +L_DSetzer: + set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_2_MASK)) | (4 << NIBBLE_2_SHIFT); + set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_3_MASK)) | (8 << NIBBLE_3_SHIFT); + mes "Setzer quest set to completed. This includes the Bone Knife quest."; + close; + +L_DRossy: + set FLAGS, FLAGS | FLAG_ROSSI_COMPLETED; + mes "Rossy quest set to completed."; + close; + +L_DCindy: + set QUEST_Nivalis_state, (QUEST_Nivalis_state & ~(NIBBLE_5_MASK)) | (4 << NIBBLE_5_SHIFT); + mes "Cindy quest set to completed."; + close; + +L_DBossPoints: + set BOSS_POINTS, 5000; + mes "Boss Points set to 5000."; + close; + +L_NBoneKnife: + set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_2_MASK)) | (0 << NIBBLE_2_SHIFT); + set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_3_MASK)) | (0 << NIBBLE_3_SHIFT); + mes "Bone Knife and Setzer quest set to not completed."; + close; + +L_NSetzer: + set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_3_MASK)) | (0 << NIBBLE_3_SHIFT); + mes "Bone Knife and Setzer quest set to not completed."; + close; + +L_NRossy: + set FLAGS, FLAGS & ~FLAG_ROSSI_COMPLETED; + mes "Rossy quest set to not completed."; + close; + +L_NCindy: + set QUEST_Nivalis_state, (QUEST_Nivalis_state & ~(NIBBLE_5_MASK)) | (0 << NIBBLE_5_SHIFT); + mes "Cindy quest set to not completed."; + close; + +L_NBossPoints: + set BOSS_POINTS, 0; + mes "Boss Points set to 0."; + close; + +L_Close: + close; +} -- cgit v1.2.3-60-g2f50 From 85a61d5f2ab910b026e1d06da43afb29f32d7f45 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Tue, 12 Mar 2013 16:48:33 +0100 Subject: Changes on the dialog made by Qwerty Dragon. --- world/map/npc/009-1/milly.txt | 71 ++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 35 deletions(-) (limited to 'world/map/npc/009-1') diff --git a/world/map/npc/009-1/milly.txt b/world/map/npc/009-1/milly.txt index 655f43e4..6ef7870a 100644 --- a/world/map/npc/009-1/milly.txt +++ b/world/map/npc/009-1/milly.txt @@ -2,6 +2,7 @@ // Beanie-Copter quest // Story and dialogs: veryape // Scripting: Jenalya +// Spelling, grammar and phrasing changes: Qwerty Dragon // // Inspector quest @@ -33,19 +34,19 @@ mes "\"Have you met Kfahr yet? He is the greatest hero that ever walked the land of Hurnscald!\""; menu - "Hi! No, I haven't seen him.", L_Where, - "Where could I find him?", L_Where, + "Hi! No, I haven't seen him yet.", L_Where, + "Where can I find him?", L_Where, "Mh, I don't care for heroes.", L_Care, - "Hello, yes I've met him.", L_MetKfahr; + "Hello, yes I have met him.", L_MetKfahr; L_Where: mes "[Milly]"; - mes "\"You really ought to go see him! He is usually at the inn in the north-west part of town. If you are lucky he might tell you a story about his adventures.\""; + mes "\"I highly recommend you seek him out! He is a regular at the inn, located in the north-west part of town. If you are lucky he might tell you a story about his adventures.\""; goto L_Close; L_Care: mes "[Milly]"; - mes "\"What? Surely you do not understand what a hero he is or you are just not intelligent enough to grasp what his actions have meant for us. He is a true inspiration for all of us.\""; + mes "\"What? Surely you do not appreciate what a hero he is! Mh, or perhaps honor is dead in you; for you to be so slow to comprehend the good that his exploits have wrought for us. Put on your thinking cap and be propelled into high adventure! Go to Kfahr, and listen to his stories.\""; next; mes "\"You can't have met him. No one who has met him would say such silly things.\""; next; @@ -99,7 +100,7 @@ L_NoHelp: mes "[Milly]"; mes "\"You must be kidding me.\""; next; - mes "\"I am just a kid but possess more wisdom than you. How you managed to even look like an adventurer is beyond me.\""; + mes "\"I am just a kid but not as silly as you. My pigtails possess more wisdom than you. You fooled me, you are no adventurer!\""; next; mes "\"You better learn from the wise and accept help from those who offer it.\""; goto L_Unsure; @@ -112,7 +113,7 @@ L_GotBoneKnife: callsub S_InspectorQuest; mes "\"I heard that you got an exotic knife from Kfahr."; - mes "Would you care to show it for me?\""; + mes "Would you kindly show it to me?\""; menu "Sure.", L_ShowKnife, "Haven't I already?", L_ShowKnifeAgain; @@ -125,14 +126,14 @@ L_ShowKnife: next; mes "\"Kfahr ain't just a hero, he is also a stand up guy.\""; next; - mes "\"You should be honoured that he is treating you his knife like this.\""; + mes "\"You should be proud that he is honoring you with his knife like this.\""; next; mes "\"What a hero...\""; goto L_Close; L_ShowKnifeAgain: mes "[Milly]"; - mes "\"What is the difference? It's so exiting to see such a fine knife.\""; + mes "\"What possible objection could you have? It's so exiting to see such a fine knife.\""; next; mes "\"It is like cake, sure I might have had it before...\""; next; @@ -161,9 +162,9 @@ L_SavedRossy: if (@inspector == 1) callsub S_InspectorQuest; - mes "\"Word is all around Hurnscald of your great act of helping my friends Rossy and Julia!\""; + mes "\"Word of your fame has spread throughout all Hurnscald of your great heroism by helping my friends Rossy and Julia!\""; next; - mes "\"Not only did you help Rossy, you saved her sister Julia from that Fey Element. That was a real act of heroism!\""; + mes "\"Not only did you help Rossy, you saved her sister Julia from that nefarious Fey Element. That was a real act of valor!\""; next; mes "\"You are shaping up to be something of a hero yourself.\""; next; @@ -176,9 +177,9 @@ L_Loudmouth: mes "[Milly]"; mes "\"You surely are not...\""; next; - mes "\"First and foremost you are a loudmouth. Your actions speeks better for themselves without your boasting.\""; + mes "\"First and foremost you are a loudmouth. You need to learn actions speak better for themselves without your boasting.\""; next; - mes "\"A little modesty would be a fitting characteristic for you. You are talking as if you think that you are the equal of Kfahr.\""; + mes "\"A little modesty would be a distinguishing trait for you to cultivate. You are talking as if you think that you are equal with Kfahr.\""; next; mes "\"I think you should show a little more respect when you are this close to legendary heroes.\""; goto L_Close; @@ -187,7 +188,7 @@ L_Modesty: mes "[Milly]"; mes "\"Wow, you have been very helpful and unselfish risking your own safety for the sake of others! Thanks to that Julia is back and Olana is able to sleep at night.\""; next; - mes "\"If you continue with those kinds of deeds you might earn your place in the history books of Hurnscald!\""; + mes "\"If you continue with these valiant deeds you might earn your place in the history books of Hurnscald!\""; goto L_Close; L_SavedCindy: @@ -213,18 +214,18 @@ L_Party: L_Cindy: mes "[Milly]"; - mes "\"Once again you've done good!\""; + mes "\"Once again you have done good!\""; goto L_HeroGrowing; L_HeroGrowing: mes "[Milly]"; mes "\"You have saved two kids about my own age from horrible situations, it is just like the stories I heard growing up.\""; next; - mes "\"As things are shaping up you certainly are becoming something of a idol for us kids. At school the kids gossip about you, you're fastly becoming one of the most admired people around...\""; + mes "\"Things certainly are shaping up for you. My schoolmates play a game with you as the hero. And poets admire you in verse and song...\""; next; - mes "\"Since you've proven yourself with your great acts I'll let you in on exciting rumor I've heard.\""; + mes "\"Since you have proven yourself with your great acts, I will let you in on an exciting rumor I have heard.\""; next; - mes "\"I've heard that Nicholas has learned new techniques in forging and weapon smithing. He is now able to improve a small sword into what is called a Setzer.\""; + mes "\"I have heard that Nicholas has learned new techniques in forging and weapon smithing. He is now able to improve a small sword into what is called a Setzer.\""; next; mes "\"Go talk to him and hear if he can help you get hold of one of these weapons.\""; goto L_Close; @@ -246,19 +247,19 @@ L_GotSetzer: next; mes "\"To be honest you are fast becoming my favored hero, even... dare I say it? Even more so than Kfahr.\""; next; - mes "\"Your good deeds and your skill is undisputable! However...\""; + mes "\"Your skill and good deeds are indisputable! However...\""; next; - mes "\"Somehow I feel that you still need to prove your courage. The elders say that although they find you an adorable person and a hero that you can't be considered as great as Kfahr before you've proved yourself fearless.\""; + mes "\"Somehow I feel that you still need to establish your courage. The elders say that although they find you an admirable person, a hero of renown; that you can't be considered as great as Kfahr till you have proven yourself fearless.\""; next; - mes "\"You could prove yourself as the greatest hero who has walked the land by accepting Paruas challenge at Candor. Stare death in the eyes, show no fear and conquer! Show everyone that you're worthy the title of the greatest hero ever!\""; + mes "\"You could prove yourself as the greatest hero who has walked the land by accepting Paruas challenge at Candor. Stare death in the eyes, show no fear and conquer! Show everyone that you are worthy of the title: The Greatest Hero Ever!\""; next; - mes "\"I myself already consider you my favourite hero, sure Kfahr has done great things, but...\""; + mes "\"I myself already consider you my favorite hero, sure Kfahr has done great things, but...\""; next; - mes "\"Nowadays he mostly sits around with that sad bunch of drunkards in the Inn, drinking beer and talk about past glory.\""; + mes "\"Nowadays he mostly sits around with that sad bunch of drunkards in the Inn, drinking beer and talking about past glory.\""; next; - mes "\"For my generation you are the true hero, please prove the elders wrong by showing them that you are fearless!\""; + mes "\"For my generation you are the true hero, please prove the stony hearted elders wrong by showing them that you are fearless!\""; next; - mes "\"Good luck and good bye!\""; + mes "\"Good luck and good bye! Health, mana, and wealth be yours! \""; goto L_Close; L_OfferCap: @@ -268,9 +269,9 @@ L_OfferCap: if (@inspector == 1) callsub S_InspectorQuest; - mes "\"You really have proven yourself over and over. There is no way someone could say you're not the equal of Kfahr!\""; + mes "\"You really have proven yourself over and over. There is no way anyone could possibly say, you are not the equal of Kfahr!\""; next; - mes "\"Now even the grownups are respecting you as a hero as great as Kfahr!\""; + mes "\"Now, even the stones of Hurnscald praise you as a hero as great as Kfahr!\""; next; mes "\"I have something I want to give you...\""; next; @@ -278,23 +279,23 @@ L_OfferCap: next; mes "\"And some other kids are picking on me for wearing it, they say it is for nerds... I would be happy to give you one of them.\""; next; - mes "\"It would be great, if you wore a cap just like mine that would sure shut them up! I also want to present you with this rare hat as a token of my gratitude for everything you have done.\""; + mes "\"It would be great if you wore a cap just like mine, that would sure shut them up! Also, please accept this rare hat as a token of my gratitude for everything you have done.\""; next; - mes "\"I would be honoured to have the same cap as my hero!\""; + mes "\"It would be an honor to have the same cap as my hero!\""; menu "Thank you!", L_Cap, "No, thanks.", L_Idiot; L_Cap: mes "[Milly]"; - mes "\"Wow, thanks for accepting my gift, it is so pleasing to know that you have the exact same cap as me!\""; + mes "\"Wow, thanks for accepting my gift, it is so pleasing to know that you have the exact same cap as me! Friends forever!\""; getinventorylist; if (@inventorylist_count == 100 || (checkweight("BeanieCopterCap", 1) == 0)) goto L_TooMany; getitem "BeanieCopterCap", 1; set FLAGS, FLAGS | FLAG_GOT_BEANIEHAT; next; - mes "She is giggeling with exitement."; + mes "She is giggling with excitement."; next; mes "[Milly]"; mes "\"Come see me anytime! Goodbye!\""; @@ -302,7 +303,7 @@ L_Cap: L_Idiot: mes "[Milly]"; - mes "\"Are you really sure? It is a lovely cap.\""; + mes "\"Are you really sure? It is such a neat cap.\""; menu "Yes, no nerd hat for me!", L_BadBye, "Just kidding, I want one!", L_Cap; @@ -312,7 +313,7 @@ L_BadBye: mes "[Milly]"; mes "\"I guess they were right, you're not any great hero! I'll give it to Kfahr instead!\""; next; - mes "\"Please keep on travelling so I don't have to see you around here. It makes me sad to see you, everytime I do I'll remember how wrong I was about you.\""; + mes "\"Please keep on traveling so I don't have to see you around here. It makes me sad to see you, every time I do I'll remember how wrong I was about you.\""; set FLAGS, FLAGS | FLAG_DECLINED_BEANIEHAT; goto L_Close; @@ -323,12 +324,12 @@ L_TooMany: L_FinishedGood: mes "[Milly]"; - mes "\"Hi there, my hero!\""; + mes "\"Hi there friend, my hero!\""; next; if (@inspector == 1) callsub S_InspectorQuest; - mes "\"Wear the copter beany cap in good health! See you around!\""; + mes "\"Wear the copter beany cap in good health, mana and wealth! See you around!\""; goto L_Close; L_FinishedBad: -- cgit v1.2.3-60-g2f50 From c3b7c5a191a467110075e86f155c006a6d5ed73e Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Tue, 12 Mar 2013 14:27:28 +0100 Subject: Beanie Copter quest: add possibility to apologize and get the cap in case you declined it before. --- world/map/npc/009-1/milly.txt | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'world/map/npc/009-1') diff --git a/world/map/npc/009-1/milly.txt b/world/map/npc/009-1/milly.txt index 6ef7870a..57cff48b 100644 --- a/world/map/npc/009-1/milly.txt +++ b/world/map/npc/009-1/milly.txt @@ -334,14 +334,32 @@ L_FinishedGood: L_FinishedBad: mes "[Milly]"; - mes "\"Won't you continue your travels soon?\""; + mes "\"Oh, it's you. I suppose you're here to make fun of my hat again.\""; next; if (@inspector == 1) callsub S_InspectorQuest; + mes "\"Won't you continue your travels soon?\""; + menu + "That's what I'm going to do.", -, + "I'm really sorry. Of course I want your hat!", L_Apologize; mes "Milly looks away sadly."; goto L_Close; +L_Apologize: + getinventorylist; + if (@inventorylist_count == 100 || (checkweight("BeanieCopterCap", 1) == 0)) + goto L_TooMany; + getitem "BeanieCopterCap", 1; + set FLAGS, FLAGS | FLAG_GOT_BEANIEHAT; + set FLAGS, FLAGS & ~FLAG_DECLINED_BEANIEHAT; + + mes "Milly looks surprised."; + next; + mes "[Milly]"; + mes "\"Oh, I... uh, thank you! I knew it! I knew such a heroic person as you can't be that mean.\""; + goto L_Close; + L_Close: set @got_boneknife, 0; set @got_setzer, 0; -- cgit v1.2.3-60-g2f50 From dc7102b33d7078c455bbefde097d143b9aa56827 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Wed, 13 Mar 2013 16:57:00 +0100 Subject: Rename Beanie Copter Cap to Beanie Copter. --- world/map/db/item_db.txt | 2 +- world/map/npc/009-1/milly.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'world/map/npc/009-1') diff --git a/world/map/db/item_db.txt b/world/map/db/item_db.txt index 247831e8..37feb868 100644 --- a/world/map/db/item_db.txt +++ b/world/map/db/item_db.txt @@ -398,7 +398,7 @@ 881, RaggedShorts, Ragged Shorts, 5, 60, 1, 7, , 0, , -2, 0, 2, 1, , 1, 0, {}, {} 888, MagicGMTopHat, Magic GM Top Hat, 5, 4200, 1900, 30, , 60, , 20, 0, 2, 256, , 0, 0, {}, {set @minLvl, 60; callfunc "RestrictedItem"; bonus bMaxHP, 31000; bonus bFlee, -200; bonus bHPrecovRate, -400; bonus bCriticalDef, 250; bonus bMdef, 89;} 889, MurdererCrown, Murderer Crown, 5, 75000, 12000, 240, , 4, , 0, 0, 2, 256, , 0, 0, {}, {} -890, BeanieCopterCap, Beanie Copter Cap, 5, 8000, 2000, 20, , 4, , 2, 0, 2, 256, , 0, 0, {}, {} +890, BeanieCopter, Beanie Copter, 5, 8000, 2000, 20, , 4, , 2, 0, 2, 256, , 0, 0, {}, {} // Add new entries above here. For dyed entries,add to the bottom of the 2000s. diff --git a/world/map/npc/009-1/milly.txt b/world/map/npc/009-1/milly.txt index 57cff48b..68f80cfb 100644 --- a/world/map/npc/009-1/milly.txt +++ b/world/map/npc/009-1/milly.txt @@ -290,9 +290,9 @@ L_Cap: mes "[Milly]"; mes "\"Wow, thanks for accepting my gift, it is so pleasing to know that you have the exact same cap as me! Friends forever!\""; getinventorylist; - if (@inventorylist_count == 100 || (checkweight("BeanieCopterCap", 1) == 0)) + if (@inventorylist_count == 100 || (checkweight("BeanieCopter", 1) == 0)) goto L_TooMany; - getitem "BeanieCopterCap", 1; + getitem "BeanieCopter", 1; set FLAGS, FLAGS | FLAG_GOT_BEANIEHAT; next; mes "She is giggling with excitement."; @@ -348,9 +348,9 @@ L_FinishedBad: L_Apologize: getinventorylist; - if (@inventorylist_count == 100 || (checkweight("BeanieCopterCap", 1) == 0)) + if (@inventorylist_count == 100 || (checkweight("BeanieCopter", 1) == 0)) goto L_TooMany; - getitem "BeanieCopterCap", 1; + getitem "BeanieCopter", 1; set FLAGS, FLAGS | FLAG_GOT_BEANIEHAT; set FLAGS, FLAGS & ~FLAG_DECLINED_BEANIEHAT; -- cgit v1.2.3-60-g2f50