add young vocation tasks

This commit is contained in:
ErikasKontenis 2020-04-11 12:15:03 +03:00
parent 332a88ae50
commit 5b2b9267bd
10 changed files with 103 additions and 3 deletions

View File

@ -1 +1 @@
next: 17644
next: 17653

View File

@ -443,4 +443,16 @@
<mission name="Paw and Fur: Hand of Cursed Fates" storageid="17630" startvalue="0" endvalue="200" description="You already hunted |STATE|/200 hand of cursed fates." />
<mission name="Paw and Fur: Juggernauts" storageid="17631" startvalue="0" endvalue="200" description="You already hunted |STATE|/200 juggernauts." />
</quest>
<quest name="Young Mage Tasks" startstorageid="17646" startstoragevalue="1">
<mission name="Proof of the trustworthy" storageid="17645" startvalue="0" endvalue="50" description="You already hunted |STATE|/50 amazons." />
<mission name="Reward of the trustworthy" storageid="17646" startvalue="2" endvalue="2" description="You have proved your trustworthy and claimed the reward." />
</quest>
<quest name="Young Paladin Tasks" startstorageid="17647" startstoragevalue="1">
<mission name="Proof of the trustworthy" storageid="17648" startvalue="0" endvalue="50" description="You already hunted |STATE|/50 orcs." />
<mission name="Reward of the trustworthy" storageid="17647" startvalue="2" endvalue="2" description="You have proved your trustworthy and claimed the reward." />
</quest>
<quest name="Young Knight Tasks" startstorageid="17650" startstoragevalue="1">
<mission name="Proof of the trustworthy" storageid="17651" startvalue="0" endvalue="50" description="You already hunted |STATE|/50 minotaurs." />
<mission name="Reward of the trustworthy" storageid="17650" startvalue="2" endvalue="2" description="You have proved your trustworthy and claimed the reward." />
</quest>
</quests>

View File

@ -42,6 +42,11 @@ local tasks = {
['rotworm'] = {taskerStorage = 17632, progressStorage = 17635, killsRequired = 150},
['carrion worm'] = {taskerStorage = 17632, progressStorage = 17635, killsRequired = 150},
['cyclops'] = {taskerStorage = 17632, progressStorage = 17636, killsRequired = 500},
-- Young Vocation Tasks
['amazon'] = {taskerStorage = 17644, progressStorage = 17645, killsRequired = 50},
['orc'] = {taskerStorage = 17649, progressStorage = 17648, killsRequired = 50},
['minotaur'] = {taskerStorage = 17652, progressStorage = 17651, killsRequired = 50},
}
function onKill(player, target)

View File

@ -106,7 +106,7 @@ Topic=3,"cyclop" -> Amount=17636, "We've successfully driven the minotaurs off t
# Speaks
"task",QuestValue(17632)>0 -> "Your current task is in progress. Follow the status of your task in the quest log. If you wish to cancel your in-progress task then don't be afraid and feel free to cancel."
Topic=4,"yes" -> "I'm pleased with your eagerness. Good luck!", SetQuestValue(17632,Amount), SetQuestValue(Amount,0)
Topic=4,"yes" -> "I'm pleased with your eagerness. Good luck!", SetQuestValue(17632,Amount), SetQuestValue(Amount,0), SetQuestValue(17607,1)
Topic=4 -> "Maybe next time."
"cancel",QuestValue(17632)>0 -> "Are you sure you want to cancel your current task?", Topic=6

View File

@ -54,4 +54,17 @@ 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."
"task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...",
"However, if you could kill 50 orcs to prove your trustworthy willingness I will reward you the bow and 200 arrows. Deal?", Topic=120
"task",QuestValue(17648)=50,QuestValue(17647)=1,paladin -> "Well done, %N. Here is your bow and arrows!", SetQuestValue(17647,2), SetQuestValue(17649,0), Type=3350, Amount=1, Create(Type), Type=3447, Amount=200, Create(Type)
"task",QuestValue(17649)>0 -> "I see you are still in progress with your task."
Topic=120,"yes" -> "Very well young paladin. Come back once you are done.", SetQuestValue(17649,Amount), SetQuestValue(Amount,0), SetQuestValue(17647,1)
Topic=120 -> "As you wish."
"task" -> "I don't have any tasks for you right now."
}

View File

@ -23,3 +23,15 @@
Topic=34,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type)
Topic=34,"yes" -> "Come back, when you have enough money."
Topic=34 -> "Hmm, but next time."
"task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...",
"However, if you could kill 50 orcs to prove your trustworthy willingness I will reward you the bow and 200 arrows. Deal?", Topic=120
"task",QuestValue(17648)=50,paladin -> "Well done, %N. Here is your bow and arrows!", SetQuestValue(QuestValue(17649),51), SetQuestValue(17649,0), Type=3350, Amount=1, Create(Type), Type=3447, Amount=200, Create(Type)
"task",QuestValue(17649)>0 -> "I see you are still in progress with your task."
Topic=120,"yes" -> "Very well young paladin. Come back once you are done.", SetQuestValue(17649,Amount), SetQuestValue(Amount,0), SetQuestValue(17647,1)
Topic=120 -> "As you wish."
"task" -> "I don't have any tasks for you right now."

View File

@ -44,4 +44,20 @@ druid,"snakebite","rod",QuestValue(333)<1 -> "Oh, is this your first snakebite
Topic=92,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type)
Topic=92,"yes" -> "Sorry, you don't have enough gold."
Topic=92 -> "You don't know what you're missing."
Topic=92 -> "You don't know what you're missing."
"task",QuestValue(17646)=0,druid -> Amount=17645, "Young druid, I see you wan't your second rod but those are too expensive, right. Hmm... I can't give you one for free. ...",
"However, if you could kill 50 amazons to prove your trustworthy willingness I will reward you the moonlight rod. Deal?", Topic=120
"task",QuestValue(17646)=0,sorcerer -> Amount=17645, "Young sorcerer, I see you wan't your second wand but those are too expensive, right. Hmm... I can't give you one for free. ...",
"However, if you could kill 50 amazons to prove your trustworthy willingness I will reward you the wand of dragonbreath. Deal?", Topic=120
"task",QuestValue(17645)=50,QuestValue(17646)=1,druid -> "Well done, %N. Here is your moonlight rod!", SetQuestValue(17646,2), SetQuestValue(17644,0), Type=3070, Amount=1,Create(Type)
"task",QuestValue(17645)=50,QuestValue(17646)=1,sorcerer -> "Well done, %N. Here is your wand of dragonbreath!", SetQuestValue(17646,2), SetQuestValue(17644,0), Type=3075, Amount=1,Create(Type)
"task",QuestValue(17644)>0 -> "I see you are still in progress with your task."
Topic=120,"yes" -> "Very well young mage. Come back once you are done.", SetQuestValue(17644,Amount), SetQuestValue(Amount,0), SetQuestValue(17646,1)
Topic=120 -> "As you wish."
"task" -> "I don't have any tasks for you right now."

View File

@ -45,4 +45,17 @@ 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."
"task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...",
"However, if you could kill 50 orcs to prove your trustworthy willingness I will reward you the bow and 200 arrows. Deal?", Topic=120
"task",QuestValue(17648)=50,QuestValue(17647)=1,paladin -> "Well done, %N. Here is your bow and arrows!", SetQuestValue(17647,2), SetQuestValue(17649,0), Type=3350, Amount=1, Create(Type), Type=3447, Amount=200, Create(Type)
"task",QuestValue(17649)>0 -> "I see you are still in progress with your task."
Topic=120,"yes" -> "Very well young paladin. Come back once you are done.", SetQuestValue(17649,Amount), SetQuestValue(Amount,0), SetQuestValue(17647,1)
Topic=120 -> "As you wish."
"task" -> "I don't have any tasks for you right now."
}

View File

@ -193,4 +193,20 @@ Topic=5,"no" -> "What a pity."
"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 -> *
"task",QuestValue(17650)=0,knight -> Amount=17651, "Young knight, I see you need decent weapon but those are too expensive, right. Hmm... I can't give you for free. ...",
"However, if you could kill 50 minotaurs to prove your trustworthy willingness I will reward you the weapon of your choose. Deal?", Topic=120
"task",QuestValue(17651)=50,QuestValue(17650)=1,knight -> "Well done, %N. Which type of weapon do you use the most: axe, sword or club?", Topic=121
Topic=121,"axe" -> "Very well. I have some spare barbarian axe for you!", SetQuestValue(17650,2), SetQuestValue(17652,0), Type=3317, Amount=1, Create(Type)
Topic=121,"sword" -> "Very well. I have some spare serpent sword for you!", SetQuestValue(17650,2), SetQuestValue(17652,0), Type=3297, Amount=1, Create(Type)
Topic=121,"club" -> "Very well. I have some spare clerical mace for you!", SetQuestValue(17650,2), SetQuestValue(17652,0), Type=3311, Amount=1, Create(Type)
Topic=121 -> "If you can't decide right now you can come later."
"task",QuestValue(17652)>0 -> "I see you are still in progress with your task."
Topic=120,"yes" -> "Very well young knight. Come back once you are done.", SetQuestValue(17652,Amount), SetQuestValue(Amount,0), SetQuestValue(17650,1)
Topic=120 -> "As you wish."
"task" -> "I don't have any tasks for you right now."
}

View File

@ -62,4 +62,17 @@ VANISH,! -> "Goodbye, and may the gods be with you."
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."
"task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...",
"However, if you could kill 50 orcs to prove your trustworthy willingness I will reward you the bow and 200 arrows. Deal?", Topic=120
"task",QuestValue(17648)=50,QuestValue(17647)=1,paladin -> "Well done, %N. Here is your bow and arrows!", SetQuestValue(17647,2), SetQuestValue(17649,0), Type=3350, Amount=1, Create(Type), Type=3447, Amount=200, Create(Type)
"task",QuestValue(17649)>0 -> "I see you are still in progress with your task."
Topic=120,"yes" -> "Very well young paladin. Come back once you are done.", SetQuestValue(17649,Amount), SetQuestValue(Amount,0), SetQuestValue(17647,1)
Topic=120 -> "As you wish."
"task" -> "I don't have any tasks for you right now."
}