From d404db3628cbc68aea7abb6e8c25738db0ef3777 Mon Sep 17 00:00:00 2001 From: ErikasKontenis Date: Sun, 15 Dec 2019 12:39:04 +0200 Subject: [PATCH] finish barbarian and citizen outfit quests --- data/npc/ajax.npc | 38 +++++++++++++++++++++++++++++++++++++- data/npc/bron.npc | 4 ++++ data/npc/hanna.npc | 17 ++++++++++++++++- data/npc/lubo.npc | 25 ++++++++++++++++++++++++- 4 files changed, 81 insertions(+), 3 deletions(-) diff --git a/data/npc/ajax.npc b/data/npc/ajax.npc index f13f419..804e44b 100644 --- a/data/npc/ajax.npc +++ b/data/npc/ajax.npc @@ -40,5 +40,41 @@ Topic=5 -> "ARRRRRRRRRR!!!", Idle "Gelagos",QuestValue(17532)=5 -> "Annoying kid. Bro hates him, but talking no help. Bro needs fighting spirit!" "fighting","spirit",QuestValue(17532)=5 -> "If you want to help bro, bring him fighting spirit. Magic fighting spirit. Ask Djinn." -"present",QuestValue(17532)=12 -> "Bron gave me present. Ugly, but nice from him. Me want to give present too. You help me?" +"present",QuestValue(17532)=12 -> "Bron gave me present. Ugly, but nice from him. Me want to give present too. You help me?", Topic=6 +Topic=6,"yes" -> "Good! Me make shiny weapon. If you help me, I make one for you too. Like axe I wear. I need stuff. Listen. ...", + "Me need 100 iron ore. Then need crude iron. Then after that 50 behemoth fangs. And 50 lizard leather. You understand?", + "Help me yes or no?", Topic=7 +Topic=6 -> "Maybe later." +Topic=7,"yes" -> "Good. You get 100 iron ore first. Come back.", SetQuestValue(17532,13) +Topic=7 -> "Maybe later." + +"iron","ore",QuestValue(17532)=13 -> Type=5880, Amount=100, "You bring 100 iron ore?", Topic=8 +Topic=8,"yes",Count(Type)>=Amount -> "Good! Now bring crude iron.", Delete(Type), SetQuestValue(17532,14) +Topic=8,"yes" -> "You do not have that many." +Topic=8 -> "Maybe another time." + +"crude","iron",QuestValue(17532)=14 -> Type=5892, Amount=1, "You bring crude iron?", Topic=9 +Topic=9,"yes",Count(Type)>=Amount -> "Good! Now bring 50 behemoth fangs.", Delete(Type), SetQuestValue(17532,14) +Topic=9,"yes" -> "You do not have it." +Topic=9 -> "Maybe another time." + +"behemoth","fang",QuestValue(17532)=14 -> Type=5893, Amount=50, "You bring 50 behemoth fangs?", Topic=10 +Topic=10,"yes",Count(Type)>=Amount -> "Good! Now bring 50 lizard leather.", Delete(Type), SetQuestValue(17532,15) +Topic=10,"yes" -> "You do not have that many." +Topic=10 -> "Maybe another time." + +"lizard","leather",QuestValue(17532)=15 -> Type=5876, Amount=50, "You bring 50 lizard leather?", Topic=11 +Topic=11,"yes",Count(Type)>=Amount -> "Ah! All stuff there. I will start making axes now. Come later and ask me for axe.", Delete(Type), SetQuestValue(17532,16), SetExpiringQuestValue(17534, 7200000) +Topic=11,"yes" -> "You do not have that many." +Topic=11 -> "Maybe another time." + +"addon",ExpiringQuestValue(17534)>0 -> "Wait! I making axes now. Come later, okey?" +"axe",ExpiringQuestValue(17534)>0 -> * + +"addon",ExpiringQuestValue(17534)<0,QuestValue(17532)=16 -> "Axe is done! For you. Take. Wear like me.", SetQuestValue(17532,17), AddOutfitAddon(147,1), AddOutfitAddon(143,1) +"axe",ExpiringQuestValue(17534)<0,QuestValue(17532)=16 -> * + +"addon",QuestValue(17532)=17 -> "Nice axe. Nice axe." +"axe",QuestValue(17532)=17 -> * + } diff --git a/data/npc/bron.npc b/data/npc/bron.npc index ea1666c..9e79511 100644 --- a/data/npc/bron.npc +++ b/data/npc/bron.npc @@ -77,5 +77,9 @@ Topic=9 -> "Maybe another time." Topic=10,"yes" -> "I have kept this traditional barbarian wig safe for many years now. It is now yours! I hope you will wear it proudly, friend.", AddOutfitAddon(147,2), AddOutfitAddon(143,2), SetQuestValue(17532,12) Topic=10 -> "Okey, ask for it when you feel ready, friend." +"axe",QuestValue(17532)=17 -> "I know it is you who helped with the present for me from my brother Ajax. Thank you! Wear your axe proudly!" +"addon",QuestValue(17532)=17 -> * +"wig",QuestValue(17532)>11 -> "I hope you will wear the traditional barbarian wig proudly, friend." +"addon",QuestValue(17532)>11 -> * } diff --git a/data/npc/hanna.npc b/data/npc/hanna.npc index 83e4c00..d4b0c9d 100644 --- a/data/npc/hanna.npc +++ b/data/npc/hanna.npc @@ -2,7 +2,7 @@ # hanna.npc: Datenbank für die Juwelierin Hanna Name = "Hanna" -Outfit = (136,113-65-0-96) +Outfit = (136,113-65-0-96-2) Home = [32407,32219,7] Radius = 2 @@ -76,4 +76,19 @@ Topic=2,"yes",Count(Type)>=Amount -> "Ok. Here is your money.", Delete(Type), Cr Topic=2,"yes" -> "Sorry, you do not have one." Topic=2,"yes",Amount>1 -> "Sorry, you do not have that many." Topic=2 -> "Maybe next time." + +"addon",QuestValue(18501)=0 -> "Pretty, isn't it? My friend Amber taught me how to make it, but I could help you with one if you like. What do you say?", Topic=3 +"hat",QuestValue(18501)=0 -> * +Topic=3,"yes" -> "Okay, here we go, listen closely! I need a few things... a basic hat of course, maybe a legion helmet would do. Then about 100 chicken feathers...", + "and 50 honeycombs as glue. That's it, come back to me once you gathered it!", SetQuestValue(18501,1) +Topic=3 -> "Maybe another time." + +"addon",QuestValue(18501)=1 -> "Oh, you're back already? Did you bring a legion helmet, 100 chicken feathers and 50 honeycombs?", Topic=4 +"hat",QuestValue(18501)=1 -> * +Topic=4,"yes",Count(3374)>=1,Count(5890)>=100,Count(5902)>=50 -> "Great job! That must have taken a lot of work. Okay, you put it like this... then glue like this... here!", DeleteAmount(3374,1), DeleteAmount(5890,100), DeleteAmount(5902,50), SetQuestValue(18501,2), AddOutfitAddon(136,2), AddOutfitAddon(128,2) +Topic=4,"yes" -> "You don't have required ingredients." +Topic=4 -> "Maybe another time." + +"addon",QuestValue(18501)>1 -> "I hope you enjoy the hat!" +"hat",QuestValue(18501)>1 -> * } diff --git a/data/npc/lubo.npc b/data/npc/lubo.npc index c24c904..de1ea4b 100644 --- a/data/npc/lubo.npc +++ b/data/npc/lubo.npc @@ -2,7 +2,7 @@ # lubo.npc: Datenbank fuer Lubo, den Haendler im Abenteurer-Laden Name = "Lubo" -Outfit = (129,38-39-96-114) +Outfit = (128,115-39-96-118-3) Home = [32488,32119,7] Radius = 3 @@ -62,4 +62,27 @@ VANISH,! -> "Good bye." Topic=1,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=1,"yes" -> "Come back, when you have enough money." Topic=1 -> "Hmm, but next time." + +"addon",QuestValue(18502)=0,premium -> "Sorry, the backpack I wear is not for sale. It's handmade from rare minotaur leather.", Topic=4 +"backpack",QuestValue(18502)=0,premium -> * +"addon",QuestValue(18502)=0 -> "Sorry, the backpack I wear is not for sale." +"backpack",QuestValue(18502)=0 -> * +Topic=4,"minotaur","leather" -> "Well, if you really like this backpack, I could make one for you, but minotaur leather is hard to come by these days. Are you willing to put some work into this?", Topic=5 +Topic=5,"yes" -> "Alright then, if you bring me 100 pieces of fine minotaur leather I will see what I can do for you. You probably have to kill really many minotaurs though...", + "so good luck!", SetQuestValue(18502,1) + +"addon",QuestValue(18502)=1 -> Type=5878, Amount=100, "Ah, right, almost forgot about the backpack! Have you brought me 100 pieces of minotaur leather as requested?", Topic=6 +"backpack",QuestValue(18502)=1 -> * +Topic=6,"yes",Count(Type)>=Amount -> "Great! Alright, I need a while to finish this backpack for you. Come ask me later, okay?", Delete(Type), SetExpiringQuestValue(18503, 7200000), SetQuestValue(18502,2) +Topic=6,"yes" -> "You don't have that many!" +Topic=6 -> "Too bad." + +"addon",ExpiringQuestValue(18503)>0 -> "Uh... I didn't expect you to return that early. Sorry, but I'm not finished yet with your backpack. I'm doing the best I can, promised." +"backpack",ExpiringQuestValue(18503)>0 -> * + +"addon",ExpiringQuestValue(18503)<0,QuestValue(18502)=2 -> "Just in time! Your backpack is finished. Here you go, I hope you like it.", SetQuestValue(18502,3), AddOutfitAddon(136,1), AddOutfitAddon(128,1) +"backpack",ExpiringQuestValue(18503)<0,QuestValue(18502)=2 -> * + +"addon",QuestValue(18502)=3 -> "Oh, you also have a nice backpack just like me!" +"backpack",QuestValue(18502)=3 -> * }