finish barbarian and citizen outfit quests

This commit is contained in:
ErikasKontenis
2019-12-15 12:39:04 +02:00
parent 585a6e76ff
commit d404db3628
4 changed files with 81 additions and 3 deletions

View File

@@ -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 -> *
}