diff --git a/New Text Document.txt b/New Text Document.txt index 9769ac4..1c94f41 100644 --- a/New Text Document.txt +++ b/New Text Document.txt @@ -1 +1 @@ -next: 17558 \ No newline at end of file +next: 17561 \ No newline at end of file diff --git a/data/npc/cornelia.npc b/data/npc/cornelia.npc index 98fcc25..da478cd 100644 --- a/data/npc/cornelia.npc +++ b/data/npc/cornelia.npc @@ -108,4 +108,20 @@ 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 so many." Topic=2 -> "Maybe next time." + +"addon",QuestValue(17558)=5,male -> "Ah, you must be the hero Trisha talked about. I'll prepare the shoulder spikes for you. Please give me some time to finish. ", SetQuestValue(17558,6), SetExpiringQuestValue(17559, 7200000) +"armor",QuestValue(17558)=5,male -> * +"addon",QuestValue(17558)=5,female -> "Ah, you must be the hero Trisha talked about. I'll prepare the shoulder spikes for you. Please give me some time to finish.", SetQuestValue(17558,6), SetExpiringQuestValue(17559, 7200000) +"armor",QuestValue(17558)=5,female -> * + +"addon",ExpiringQuestValue(17559)>0 -> "Please give me some time to finish it." +"armor",ExpiringQuestValue(17559)>0 -> * + +"addon",ExpiringQuestValue(17559)<0,QuestValue(17558)=6,male -> "Finished! Since you are a man, I thought you probably wanted two. Men always want that little extra status symbol. ", SetQuestValue(17558,7), AddOutfitAddon(142,1), AddOutfitAddon(134,1), EffectOpp(13) +"armor",ExpiringQuestValue(17559)<0,QuestValue(17558)=6,male -> * +"addon",ExpiringQuestValue(17559)<0,QuestValue(17558)=6,female -> "Finished! Wear it proudly sister like Trisha do.", SetQuestValue(17558,7), AddOutfitAddon(142,1), AddOutfitAddon(134,1), EffectOpp(13) +"armor",ExpiringQuestValue(17559)<0,QuestValue(17558)=6,female -> * + +"addon",QuestValue(17558)=7 -> "Sorry, Trisha told me to adorn only one armor for you and you have already received one." +"armor",QuestValue(17558)=7 -> * } diff --git a/data/npc/morgan.npc b/data/npc/morgan.npc index a08d7ed..6edacbe 100644 --- a/data/npc/morgan.npc +++ b/data/npc/morgan.npc @@ -30,10 +30,16 @@ Topic=1 -> "Maybe another time." "addon" -> "I can forge the finest weapons for knights and warriors. They may wear them proudly and visible to everyone." "outfit" -> * -"weapon", -> "Would you rather be interested in a knight's sword or in a warrior's sword?", Topic=2 -"forge", -> "What would you like me to forge for you? A knight's sword or a warrior's sword?", Topic=2 +"weapon" -> "Would you rather be interested in a knight's sword or in a warrior's sword?", Topic=2 +"forge" -> "What would you like me to forge for you? A knight's sword or a warrior's sword?", Topic=2 Topic=2,"knight",QuestValue(17541)=0 -> "Great! Simply bring me 100 Iron Ore and one Crude Iron and I will happily forge it for you.", SetQuestValue(17541,1) Topic=2,"knight",QuestValue(17541)=1,Count(5880)>=100,Count(5892)>=1 -> "Alright! As a matter of fact, I have one in store. Here you go!", DeleteAmount(5880,100), DeleteAmount(5892,1), SetQuestValue(17541,2), AddOutfitAddon(139,1), AddOutfitAddon(131,1), EffectOpp(13) +Topic=2,"knight",QuestValue(17541)=1 -> "Great! Simply bring me 100 Iron Ore and one Crude Iron and I will happily forge it for you." Topic=2,"knight",QuestValue(17541)=2 -> "Sorry since you already have one sword I will not forge more for you." + +Topic=2,"warrior",QuestValue(17560)=0 -> "Great! Simply bring me 100 iron ore and one royal steel and I will happily forge it for you.", SetQuestValue(17560,1) +Topic=2,"warrior",QuestValue(17560)=1,Count(5880)>=100,Count(5887)>=1 -> "Alright! As a matter of fact, I have one in store. Here you go!", DeleteAmount(5880,100), DeleteAmount(5887,1), SetQuestValue(17560,2), AddOutfitAddon(142,2), AddOutfitAddon(134,2), EffectOpp(13) +Topic=2,"warrior",QuestValue(17560)=1 -> "Great! Simply bring me 100 iron ore and one royal steel and I will happily forge it for you." +Topic=2,"warrior",QuestValue(17560)=2 -> "Sorry since you already have one sword I will not forge more for you." Topic=2 -> "Maybe another time." } diff --git a/data/npc/sam.npc b/data/npc/sam.npc index 994c90e..3793ee9 100644 --- a/data/npc/sam.npc +++ b/data/npc/sam.npc @@ -184,13 +184,13 @@ Topic=5,"yes",Count(Type)>=Amount -> "Thank you verry much! This brings back goo Topic=5,"yes",Count(Type) "No, you don't have my old backpack. What a pity." Topic=5,"no" -> "What a pity." -"addon",ExpiringQuestValue(17544)>0 -> "Oh, Gregor sent you? I see. It will be my pleasure to adorn your helmet. Please give me some time to finish it." -"adorned","helmet",ExpiringQuestValue(17544)>0 -> * +"addon",ExpiringQuestValue(17544)>0 -> "Oh, Gregor sent you? I see. It will be my pleasure to adorn your helmet. Please give me some time to finish it." +"adorned","helmet",ExpiringQuestValue(17544)>0 -> * -"addon",ExpiringQuestValue(17544)<0,QuestValue(17542)=5 -> "Just in time, %N. Your helmet is finished, I hope you like it.", SetQuestValue(17542,6), AddOutfitAddon(139,2), AddOutfitAddon(131,2), EffectOpp(13) -"adorned","helmet",ExpiringQuestValue(17544)<0,QuestValue(17542)=5 -> * +"addon",ExpiringQuestValue(17544)<0,QuestValue(17542)=5 -> "Just in time, %N. Your helmet is finished, I hope you like it.", SetQuestValue(17542,6), AddOutfitAddon(139,2), AddOutfitAddon(131,2), EffectOpp(13) +"adorned","helmet",ExpiringQuestValue(17544)<0,QuestValue(17542)=5 -> * -"addon",QuestValue(17542)=6 -> "Sorry, Gregor told me to adorn only one helmet for you and you have already received one." -"adorned","helmet",QuestValue(17542)=6 -> * +"addon",QuestValue(17542)=6 -> "Sorry, Gregor told me to adorn only one helmet for you and you have already received one." +"adorned","helmet",QuestValue(17542)=6 -> * } diff --git a/data/npc/trisha.npc b/data/npc/trisha.npc index 299ea2c..c566b99 100644 --- a/data/npc/trisha.npc +++ b/data/npc/trisha.npc @@ -2,7 +2,7 @@ # trisha.npc: Datenbank fuer die Ritterin Trisha Name = "Trisha" -Outfit = (139,94-67-38-95) +Outfit = (142,94-67-38-95-1) Home = [32348,31748,7] Radius = 3 @@ -56,4 +56,61 @@ Topic=3,"yes",Level Amount=SpellLevel(String), "You hav Topic=3,"yes",CountMoney "Return when you have enough gold." Topic=3,"yes" -> "Here you are. Look in your spellbook for the pronunciation of this spell.", DeleteMoney, EffectOpp(13), TeachSpell(String) Topic=3 -> "Maybe next time." + +"addon",QuestValue(17558)=7 -> "You are the true hero to wear the same spiky shoulder pad like I do." +"outfit",QuestValue(17558)=7 -> * +"addon" -> "Are you talking about my spiky shoulder pad? You can't buy one of these. They have to be earned." +"outfit" -> * + +"mission",QuestValue(17558)=0 -> "I'm not sure if you are enough of a hero to earn them. You could try, though. What do you think?", Topic=5 +"task",QuestValue(17558)=0 -> * +"earn",QuestValue(17558)=0 -> * +Topic=5,"yes" -> "Okay, who knows, maybe you have a chance. A really small one though. Listen up: ...", + "First, you have to prove your guts by bringing me 100 hardened bones. ...", + "Next, if you actually managed to collect that many, please complete a small task for our guild and bring us 100 turtle shells. ...", + "It is said that excellent shields can be created from these. ...", + "Alright, um, afterwards show me that you have fighting spirit. Any true hero needs plenty of that. ...", + "The last task is the hardest. You will need to bring me a claw from a mighty dragon king. ...", + "Did you understand everything I told you and are willing to handle this task?", Topic=6 +Topic=5 -> "Maybe next time." +Topic=6,"yes" -> "Excellent! Come back to me once you have collected 100 hardened bones.", SetQuestValue(17558,1) +Topic=6 -> "Maybe next time." + +"hardened","bone",QuestValue(17558)=1 -> Type=5925, Amount=100, "How are you faring with your mission? Have you collected all 100 hardened bones?", Topic=7 +"mission",QuestValue(17558)=1 -> * +"task",QuestValue(17558)=1 -> * +Topic=7,"yes",Count(Type)>=Amount -> "I'm surprised. That's pretty good for a man. Now, bring us the 100 turtle shells.", Delete(Type), SetQuestValue(17558,2) +Topic=7,"yes" -> "You don't have that many." +Topic=7 -> "Maybe next time." + +"turtle","shell",QuestValue(17558)=2 -> Type=5899, Amount=100, "Did you get us 100 turtle shells so we can make new shields?", Topic=8 +"mission",QuestValue(17558)=2 -> * +"task",QuestValue(17558)=2 -> * +Topic=8,"yes",Count(Type)>=Amount,male -> "Well done - for a man. These shells are enough to build many strong new shields. Thank you! Now - show me fighting spirit.", Delete(Type), SetQuestValue(17558,3) +Topic=8,"yes",Count(Type)>=Amount,female -> "Well done, sister. These shells are enough to build many strong new shields. Thank you! Now - show me fighting spirit.", Delete(Type), SetQuestValue(17558,3) +Topic=8,"yes" -> "You don't have that many." +Topic=8 -> "Maybe next time." + +"fighting","spirit",QuestValue(17558)=3 -> Type=5884, Amount=1, "So, can you show me your fighting spirit?", Topic=9 +"mission",QuestValue(17558)=3 -> * +"task",QuestValue(17558)=3 -> * +Topic=9,"yes",Count(Type)>=Amount,male -> "Correct - pretty smart for a man. But the hardest task is yet to come: the claw from a lord among the dragon lords.", Delete(Type), SetQuestValue(17558,4) +Topic=9,"yes",Count(Type)>=Amount,female -> "Correct - you are smart sister. But the hardest task is yet to come: the claw from a lord among the dragon lords.", Delete(Type), SetQuestValue(17558,4) +Topic=9,"yes" -> "You don't have it." +Topic=9 -> "Maybe next time." + +"dragon","claw",QuestValue(17558)=4 -> Type=5919, Amount=1, "Have you actually managed to obtain the dragon claw I asked for?", Topic=10 +"mission",QuestValue(17558)=4 -> * +"task",QuestValue(17558)=4 -> * +Topic=10,"yes",Count(Type)>=Amount,male -> "You did it! I have seldom seen a man as courageous as you. I really have to say that you deserve to wear a spike. Go ask Cornelia to adorn your armour.", Delete(Type), SetQuestValue(17558,5) +Topic=10,"yes",Count(Type)>=Amount,female -> "You did it! I really have to say that you deserve to wear a spike. Go ask Cornelia to adorn your armour.", Delete(Type), SetQuestValue(17558,5) +Topic=10,"yes" -> "You don't have it." +Topic=10 -> "Maybe next time." + +"mission",QuestValue(17558)=5 -> "Go ask Cornelia to adorn your armour." +"task",QuestValue(17558)=5 -> * +"earn",QuestValue(17558)=5 -> * + +"mission",QuestValue(17558)=7 -> "Sorry but I don't have any tasks for you." +"task",QuestValue(17558)=7 -> * }