From c908751ee720286b7812935bfcc78f2f56e9d705 Mon Sep 17 00:00:00 2001 From: ErikasKontenis Date: Thu, 12 Dec 2019 19:18:10 +0200 Subject: [PATCH] finished meriana quest till fafnars fire beginning --- data/npc/ariella.npc | 19 +++++++++++++++++++ data/npc/chondur.npc | 14 ++++++++++++++ data/npc/duncan.npc | 10 ++++++++++ data/npc/eremo.npc | 3 ++- data/npc/explorer.ndb | 14 ++++++++++++++ data/npc/karl.npc | 1 + data/npc/morgan.npc | 9 +++++++++ data/npc/raymondstriker.npc | 9 +++++++++ 8 files changed, 78 insertions(+), 1 deletion(-) diff --git a/data/npc/ariella.npc b/data/npc/ariella.npc index 0fb044c..922e93f 100644 --- a/data/npc/ariella.npc +++ b/data/npc/ariella.npc @@ -55,4 +55,23 @@ VANISH,! -> "Good bye." Topic=1,"yes",CountMoney>=Price -> "Here it is.", DeleteMoney, Create(Type) Topic=1,"yes" -> "I am sorry, but you do not have enough gold." Topic=1 -> "Maybe later." + +"mission",QuestValue(17520)=1,QuestValue(17521)=0 -> "You know, we have plenty of rum here but we lack some basic food. Especially food that easily becomes mouldy is a problem. Bring me 100 breads and you will help me a lot.", SetQuestValue(17521,1) + +"mission",QuestValue(17521)=1 -> Type=3600, Amount=100, "Are you here to bring me the 100 pieces of bread that I requested?", Topic=2 +"bread",QuestValue(17521)=1 -> * +Topic=2,"yes",Count(Type)>=Amount -> "What a joy. At least for a few days adequate supply is ensured.", Delete(Type), SetQuestValue(17521,2) +Topic=2,"yes" -> "Sorry, you do not have so many." +Topic=2 -> "Maybe another time." + +"mission",QuestValue(17521)=2 -> "The sailors always tell tales about the famous beer of Carlin. You must know, alcohol is forbidden in that city. ...", + "The beer is served in a secret whisper bar anyway. Bring me a sample of the whisper beer, NOT the usual beer but whisper beer. I hope you are listening.", SetQuestValue(17521,3) + +"mission",QuestValue(17521)=3 -> Type=6106, Amount=1, "Did you get a sample of the whisper beer from Carlin?", Topic=3 +"bread",QuestValue(17521)=1 -> * +Topic=3,"yes",Count(Type)>=Amount -> "Thank you very much. I will test this beauty in privacy.", Delete(Type), SetQuestValue(17521,4) +Topic=3,"yes" -> "Sorry, you do not have it." +Topic=3 -> "Maybe another time." + +"mission" -> "Sorry, I don't have any missions for you." } diff --git a/data/npc/chondur.npc b/data/npc/chondur.npc index 1f356f2..0f43158 100644 --- a/data/npc/chondur.npc +++ b/data/npc/chondur.npc @@ -80,4 +80,18 @@ Topic=5,"yes" -> "You don't have any dead black sheep with y Topic=5 -> "Maybe another time." "counterspell",QuestValue(17509)>4 -> "Hm. I don't think you need another one of my counterspells to cross the barrier on Goroma." + +"mission",QuestValue(17520)=1,QuestValue(17524)=0 -> "The evil cult has placed a curse on one of the captains here. I need at least five of their pirate voodoo dolls to lift that curse.", SetQuestValue(17524,1) + +"mission",QuestValue(17524)>0,QuestValue(17524)<5 -> Type=5810, Amount=1, "Did you bring one of the required pirate voodoo dolls?", Topic=6 +"doll",QuestValue(17524)>0,QuestValue(17524)<5 -> * + +"mission",QuestValue(17524)=5 -> Type=5810, Amount=1, "Did you bring the last of the required voodoo dolls?", Topic=6 +"doll",QuestValue(17524)=5, -> * +Topic=6,"yes",Count(Type)>=Amount -> "Now I can weaken that curse a bit. Thank you.", Delete(Type), SetQuestValue(17524,QuestValue(17524)+1) +Topic=6,"yes",Count(Type)>=Amount,QuestValue(17524)=5 -> "Finally I can put an end to that curse. I thank you so much.", Delete(Type), SetQuestValue(17524,QuestValue(17524)+1) +Topic=6,"yes" -> "Sorry, you do not have it." +Topic=6 -> "Maybe another time." + +"mission" -> "Sorry, I don't have any missions for you." } diff --git a/data/npc/duncan.npc b/data/npc/duncan.npc index ae9f2bd..0e0f087 100644 --- a/data/npc/duncan.npc +++ b/data/npc/duncan.npc @@ -26,4 +26,14 @@ VANISH,! -> "Bye" Topic=1,"yes",CountMoney>=Price -> "Here you go. Those would fit nicely into your house, showing that you're a fan and supporter and all that.", DeleteMoney, Create(Type) Topic=1,"yes" -> "Come back when you have enough money." Topic=1 -> "Maybe next time." + +"mission",QuestValue(17520)=1,QuestValue(17523)=0 -> "I need a new quality atlas for our captains. Only one of the best will do it. I heard the explorers society sells the best, but only to members of a certain rank. You will have to get this rank or ask a high ranking member to buy it for you.", SetQuestValue(17523,1) + +"mission",QuestValue(17523)=1 -> Type=6108, Amount=1, "Did you get an atlas of the explorers society as I requested?", Topic=2 +"atlas",QuestValue(17523)=1 -> * +Topic=2,"yes",Count(Type)>=Amount -> "Indeed, what a fine work... the book I mean. Your work was acceptable all in all.", Delete(Type), SetQuestValue(17523,2) +Topic=2,"yes" -> "Sorry, you do not have it." +Topic=2 -> "Maybe another time." + +"mission" -> "Sorry, I don't have any missions for you." } diff --git a/data/npc/eremo.npc b/data/npc/eremo.npc index f0d39e1..d9b86f7 100644 --- a/data/npc/eremo.npc +++ b/data/npc/eremo.npc @@ -122,6 +122,7 @@ Topic=5,"yes",CountMoney "Oh. You do not have enough money Topic=5,"yes",! -> "So receive the wisdom of solitude, pilgrim", DeleteMoney, EffectOpp(13), SetQuestValue(101,1), Bless(4) Topic=5,! -> "Ok. As you wish." - +"letter",QuestValue(17522)=1,Count(6113)>=1 -> "A letter from that youngster Morgan? I believed him dead since years. These news are good news indeed. Thank you very much, my friend.", DeleteAmount(6113, 1), SetQuestValue(17522,2) +"letter" -> "I am not waiting for any letters from strangers." } diff --git a/data/npc/explorer.ndb b/data/npc/explorer.ndb index eb81b5a..5ec2a47 100644 --- a/data/npc/explorer.ndb +++ b/data/npc/explorer.ndb @@ -322,3 +322,17 @@ Topic=56,"yes",CountMoney>=Price -> "Here, better don't lose it.", DeleteMoney, Topic=56,"yes" -> "Sorry, you don't have the money for this transaction." Topic=56 -> "Is there anything else I can do for you?" +###################### +"atlas" -> Amount=1, Type=6108, Price=150, "Do you want to buy an atlas for %P gold?", Topic=57 + +Topic=57,"yes",QuestValue(300)<5 -> "Oh, sorry but we sell atlas only for members with a special rank." +Topic=57,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) +Topic=57,"yes" -> "Sorry, you don't have the money for this transaction." +Topic=57 -> "Is there anything else I can do for you?" + +%1,1<%1,"atlas" -> Amount=%1, Type=6108, Price=150*%1, "Do you want to buy %A atlas for %P gold?", Topic=58 + +Topic=58,"yes",QuestValue(300)<5 -> "Oh, sorry but we sell atlas only for members with a special rank." +Topic=58,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) +Topic=58,"yes" -> "Sorry, you don't have the money for this transaction." +Topic=58 -> "Is there anything else I can do for you?" diff --git a/data/npc/karl.npc b/data/npc/karl.npc index 9152c6d..06737bb 100644 --- a/data/npc/karl.npc +++ b/data/npc/karl.npc @@ -38,6 +38,7 @@ VANISH,! -> "Please come back, but don't tell others." "hugo" -> "I think Todd mentioned a Hugo once." "news" -> "Some travelers from Edron told about a great treasure guarded by cruel demons in the dungeons there." "rumors" -> * +"whisper","beer",QuestValue(17521)=3 -> Type=6106, Amount=1, Price=80, "Do you want to buy a bottle of our finest whisper beer for %P gold?", Topic=1 "beer" -> Type=2880, Data=3, Amount=1, Price=20, "Do you want to buy a mug of beer for %P gold?", Topic=1 Topic=1,"yes",CountMoney>=Price -> "Here. Don't take it into the city though.", DeleteMoney, Create(Type) Topic=1,"yes" -> "Sorry, come back with more gold." diff --git a/data/npc/morgan.npc b/data/npc/morgan.npc index 444a337..8226246 100644 --- a/data/npc/morgan.npc +++ b/data/npc/morgan.npc @@ -17,4 +17,13 @@ VANISH,! -> "Good bye." "bye" -> "Good bye.", Idle "farewell" -> * +"mission",QuestValue(17520)=1,QuestValue(17522)=0 -> Type=6113, Amount=1, "Hm, if you are that eager to work I have an idea how you could help me out. A distant relative of mine, the old sage Eremo lives on the isle Cormaya, near Edron. ...", + "He has not heard from me since ages. He might assume that I am dead. Since I don't want him to get into trouble for receiving a letter from a pirate I ask you to deliver it personally. ...", + "Of course it's a long journey but you asked for it. You will have to prove us your worth. Are you up to that?", Topic=1 +Topic=1,"yes" -> "Alright, we will see. Here, take this letter and deliver it safely to old Eremo on Cormaya.", Create(Type), SetQuestValue(17522,1) +Topic=1 -> "Maybe another time." + +"mission",QuestValue(17522)=1 -> "Please deliver my letter to Eremo as fast as you can." +"mission",QuestValue(17522)=2 -> "Thank you for delivering my letter to Eremo. I have no more missions for you.", SetQuestValue(17522,3) +"mission" -> "Sorry, I don't have any missions for you." } diff --git a/data/npc/raymondstriker.npc b/data/npc/raymondstriker.npc index 10ce19f..4ad6a95 100644 --- a/data/npc/raymondstriker.npc +++ b/data/npc/raymondstriker.npc @@ -28,10 +28,19 @@ VANISH,! -> "Good bye." "Eleonore",QuestValue(17502)>12 -> "She is my only and true love. It hurts me deeply that the mermaid's magic let me forget her. I feel so guilty and can only hope that Eleonore can forgive my weakness." "King" -> "I doubt the king gains as much from the occupation of the isles as the Venoreans do." +#shattered "mission",QuestValue(17502)=6 -> "Don't ask about silly missions. All I can think about is this lovely mermaid.", Topic=1 "Eleonore",QuestValue(17502)=6 -> "Eleonore ... Yes, I remember her... vaguely. She is a pretty girl ... but still only a girl and now I am in love with a beautiful and passionate woman. A true mermaid even.", Topic=1 Topic=1,"mermaid" -> "The mermaid is the most beautiful creature I have ever met. She is so wonderful. It was some kind of magic as we first met. A look in her eyes and I suddenly knew there would be never again another woman in my life but her.", SetQuestValue(17502,7) "mermaid",QuestValue(17502)>6,QuestValue(17502)<12 -> "The mermaid is the most beautiful creature I have ever met. She is so wonderful. It was some kind of magic as we first met. A look in her eyes and I suddenly knew there would be never again another woman in my life but her." "mermaid",QuestValue(17502)>12 -> "I am deeply ashamed that I lacked the willpower to resist her spell. Thank you for your help in that matter. Now my head is once more free to think about our mission." "marina",QuestValue(17502)>12 -> * + +# Meriana_Quest +"mission",QuestValue(17502)>12,QuestValue(17520)=0 -> "Ask around in the settlement where you can help out. If you have proven your worth I might have some missions for you.", SetQuestValue(17520,1) +"mission",QuestValue(17520)=1 -> "Ask around in the settlement where you can help out. If you have proven your worth I might have some missions for you." +"mission",QuestValue(17520)=1,QuestValue(17521)=4,QuestValue(17522)=3,QuestValue(17523)=2,QuestValue(17524)=6 -> "Indeed, I could use some help. The evil pirates of Nargor have convinced an alchemist from Edron to supply them with a substance called Fafnar's Fire ...", + "It can burn even on water and is a threat to us all. I need you to travel to Edron and pretend to the alchemist Sandra that you are the one whom the other pirates sent to get the fire ...", + "When she asks for a payment, tell her 'Your continued existence is payment enough'. That should enrage any member of the Edron academy enough to refuse any further deals with the pirates.", SetQuestValue(17520,2) +"mission",QuestValue(17520)=2 -> "I am still waiting news from you about Fafnar's Fire from alchemist Sandra." }