mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-01 18:19:20 +02:00
Almost finish Summoner and Mage outfit quest
This commit is contained in:
parent
75a0c4261c
commit
d4ffd85068
@ -1 +1 @@
|
||||
next: 17545
|
||||
next: 17549
|
@ -156,6 +156,7 @@
|
||||
<action itemid="3059" script="misc/spellbook.lua" />
|
||||
<action fromid="5792" toid="5797" script="misc/dice.lua" />
|
||||
<action itemid="3114" script="misc/skull_candle.lua" />
|
||||
<action itemid="5957" script="misc/lottery_ticket.lua" />
|
||||
|
||||
<!-- Dolls -->
|
||||
<action itemid="5080" script="misc/dolls.lua" />
|
||||
|
12
data/actions/scripts/misc/lottery_ticket.lua
Normal file
12
data/actions/scripts/misc/lottery_ticket.lua
Normal file
@ -0,0 +1,12 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
|
||||
if math.random(100) == 1 then
|
||||
player:getPosition():sendMagicEffect(CONST_ME_SOUND_YELLOW)
|
||||
player:say("Congratulations! You won a prize!", TALKTYPE_MONSTER_SAY)
|
||||
item:transform(5958)
|
||||
else
|
||||
player:getPosition():sendMagicEffect(CONST_ME_POFF)
|
||||
player:say("Sorry, but you drew a blank.", TALKTYPE_MONSTER_SAY)
|
||||
item:remove(1)
|
||||
end
|
||||
return true
|
||||
end
|
@ -2,7 +2,7 @@
|
||||
# myra.npc: Datenbank für die Magierlehrerin Myra
|
||||
|
||||
Name = "Myra"
|
||||
Outfit = (140,115-0-19-95)
|
||||
Outfit = (138,115-0-19-94-3)
|
||||
Home = [32580,32751,6]
|
||||
Radius = 1
|
||||
|
||||
@ -137,4 +137,101 @@ Topic=3,"yes",Level<SpellLevel(String) -> Amount=SpellLevel(String), "You hav
|
||||
Topic=3,"yes",CountMoney<Price -> "You need more money."
|
||||
Topic=3,"yes" -> "Here you are. Look in your spellbook for the pronunciation of this spell.", DeleteMoney, EffectOpp(13), TeachSpell(String)
|
||||
Topic=3 -> "Then not."
|
||||
|
||||
"outfit" -> "This Tiara is an award by the academy of Edron in recognition of my service here."
|
||||
"addon" -> *
|
||||
|
||||
"task",QuestValue(17547)=0 -> "Well... maybe, if you help me a little, I could convince the academy of Edron that you are a valuable help here and deserve an award too. How about it?", Topic=4
|
||||
"mission",QuestValue(17547)=0 -> *
|
||||
"tiara",QuestValue(17547)=0 -> *
|
||||
Topic=4,"yes" -> "Okay, great! You see, I need a few magical ingredients which I've run out of. First of all, please bring me 70 bat wings. ...",
|
||||
"Then, I urgently need a lot of red cloth. I think 20 pieces should suffice. ...",
|
||||
"Oh, and also, I could use a whole load of ape fur. Please bring me 40 pieces. ...",
|
||||
"After that, um, let me think... I'd like to have some holy orchids. Or no, many holy orchids, to be safe. Like 35. ...",
|
||||
"Then, 10 spools of spider silk yarn, 60 lizard scales and 40 red dragon scales. ...",
|
||||
"I know I'm forgetting something.. wait... ah yes, 15 ounces of magic sulphur and 30 ounces of vampire dust. ...",
|
||||
"That's it already! Easy task, isn't it? I'm sure you could get all of that within a short time. ...",
|
||||
"Did you understand everything I told you and are willing to handle this task?", Topic=5
|
||||
Topic=4 -> "However."
|
||||
Topic=5,"yes" -> "Fine! Let's start with the 70 bat wings. I really feel uncomfortable out there in the jungle.", SetQuestValue(17547,1)
|
||||
Topic=5 -> "Maybe another time."
|
||||
|
||||
"bat","wing",QuestValue(17547)=1 -> Type=5894, Amount=70, "Oh, did you bring the 70 bat wings for me?", Topic=6
|
||||
"mission",QuestValue(17547)=1 -> *
|
||||
"task",QuestValue(17547)=1 -> *
|
||||
Topic=6,"yes",Count(Type)>=Amount -> "Thank you! I really needed them for my anti-wrinkle lotion. Now, please bring me 20 pieces of red cloth.", Delete(Type), SetQuestValue(17547,2)
|
||||
Topic=6,"yes" -> "You don't have that many."
|
||||
Topic=6 -> "Maybe another time."
|
||||
|
||||
"red","cloth",QuestValue(17547)=2 -> Type=5911, Amount=20, "Have you found 20 pieces of red cloth?", Topic=7
|
||||
"mission",QuestValue(17547)=2 -> *
|
||||
"task",QuestValue(17547)=2 -> *
|
||||
Topic=7,"yes",Count(Type)>=Amount -> "Great! This should be enough for my new dress. Don't forget to bring me 40 pieces of ape fur next!", Delete(Type), SetQuestValue(17547,3)
|
||||
Topic=7,"yes" -> "You don't have that many."
|
||||
Topic=7 -> "Maybe another time."
|
||||
|
||||
"ape","fur",QuestValue(17547)=3 -> Type=5883, Amount=40, "Were you able to retrieve 40 pieces of ape fur?", Topic=8
|
||||
"mission",QuestValue(17547)=3 -> *
|
||||
"task",QuestValue(17547)=3 -> *
|
||||
Topic=8,"yes",Count(Type)>=Amount -> "Nice job, %N. You see, I'm testing a new depilation cream. I guess if it works on ape fur it's good quality. Next, please bring me 35 holy orchids.", Delete(Type), SetQuestValue(17547,4)
|
||||
Topic=8,"yes" -> "You don't have that many."
|
||||
Topic=8 -> "Maybe another time."
|
||||
|
||||
"holy","orchid",QuestValue(17547)=4 -> Type=5922, Amount=35, "Did you convince the elves to give you 35 holy orchids?", Topic=9
|
||||
"mission",QuestValue(17547)=4 -> *
|
||||
"task",QuestValue(17547)=4 -> *
|
||||
Topic=9,"yes",Count(Type)>=Amount -> "Thank god! The scent of holy orchids is simply the only possible solution against the horrible stench from the tavern latrine. Now, please bring me 10 rolls of spider silk yarn!", Delete(Type), SetQuestValue(17547,5)
|
||||
Topic=9,"yes" -> "You don't have that many."
|
||||
Topic=9 -> "Maybe another time."
|
||||
|
||||
"yarn",QuestValue(17547)=5 -> Type=5886, Amount=10, "Oh, did you bring 10 spools of spider silk yarn for me?", Topic=10
|
||||
"mission",QuestValue(17547)=5 -> *
|
||||
"task",QuestValue(17547)=5 -> *
|
||||
Topic=10,"yes",Count(Type)>=Amount -> "I appreciate it. My pet doggie manages to bite through all sorts of leashes, which is why he is always gone. I'm sure this strong yarn will keep him. Now, go for the 60 lizard scales!", Delete(Type), SetQuestValue(17547,6)
|
||||
Topic=10,"yes" -> "You don't have that many."
|
||||
Topic=10 -> "Maybe another time."
|
||||
|
||||
"lizard","scale",QuestValue(17547)=6 -> Type=5881, Amount=60, "Have you found 60 lizard scales?", Topic=11
|
||||
"mission",QuestValue(17547)=6 -> *
|
||||
"task",QuestValue(17547)=6 -> *
|
||||
Topic=11,"yes",Count(Type)>=Amount -> "Good job. They will look almost like sequins on my new dress. Please go for the 40 red dragon scales now.", Delete(Type), SetQuestValue(17547,7)
|
||||
Topic=11,"yes" -> "You don't have that many."
|
||||
Topic=11 -> "Maybe another time."
|
||||
|
||||
"red","dragon","scale",QuestValue(17547)=7 -> Type=5882, Amount=40, "Were you able to get all 40 red dragon scales?", Topic=12
|
||||
"mission",QuestValue(17547)=7 -> *
|
||||
"task",QuestValue(17547)=7 -> *
|
||||
Topic=12,"yes",Count(Type)>=Amount -> "Thanks! They make a pretty decoration, don't you think? Please bring me 15 ounces of magic sulphur now!", Delete(Type), SetQuestValue(17547,8)
|
||||
Topic=12,"yes" -> "You don't have that many."
|
||||
Topic=12 -> "Maybe another time."
|
||||
|
||||
"magic","sulphur",QuestValue(17547)=8 -> Type=5904, Amount=15, "Have you collected 15 ounces of magic sulphur?", Topic=13
|
||||
"mission",QuestValue(17547)=8 -> *
|
||||
"task",QuestValue(17547)=8 -> *
|
||||
Topic=13,"yes",Count(Type)>=Amount -> "Ah, that's enough magic sulphur for my new peeling. You should try it once, your skin gets incredibly smooth. Now, the only thing I need is vampire dust. 30 ounces will suffice.", Delete(Type), SetQuestValue(17547,9)
|
||||
Topic=13,"yes" -> "You don't have that many."
|
||||
Topic=13 -> "Maybe another time."
|
||||
|
||||
"vampire","dust",QuestValue(17547)=9 -> Type=5905, Amount=30, "Have you gathered 30 ounces of vampire dust?", Topic=14
|
||||
"mission",QuestValue(17547)=9 -> *
|
||||
"task",QuestValue(17547)=9 -> *
|
||||
Topic=14,"yes",Count(Type)>=Amount -> "Ah, great. Now I can finally finish the potion which the academy of Edron asked me to. I guess, now you want your reward, don't you?", Delete(Type), SetQuestValue(17547,10), Topic=15
|
||||
Topic=14,"yes" -> "You don't have that many."
|
||||
Topic=14 -> "Maybe another time."
|
||||
|
||||
Topic=15,"yes" -> "I thought so. Go to the academy of Edron and tell Zoltan that I sent you. I will send a nomination to him. You were really a great help. Thanks again!", SetQuestValue(17547,11)
|
||||
Topic=15 -> "Ok, no reward for you then. However, thank you for yours help!"
|
||||
|
||||
"mission",QuestValue(17547)=10 -> "I guess, you want your reward, don't you?", Topic=16
|
||||
"task",QuestValue(17547)=10 -> *
|
||||
"reward",QuestValue(17547)=10 -> *
|
||||
Topic=16,"yes" -> "I thought so. Go to the academy of Edron and tell Zoltan that I sent you. I will send a nomination to him. You were really a great help. Thanks again!", SetQuestValue(17547,11)
|
||||
Topic=16 -> "Maybe another time."
|
||||
|
||||
"mission",QuestValue(17547)=11 -> "Go to the academy of Edron and tell Zoltan that I sent you."
|
||||
"task",QuestValue(17547)=11 -> *
|
||||
"reward",QuestValue(17547)=11 -> *
|
||||
|
||||
"mission",QuestValue(17547)=12 -> "Sorry, but I don't have any tasks available for you right now."
|
||||
"task",QuestValue(17547)=12 -> *
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
# sandra.npc: Datenbank für die Trankhändlerin Sandra
|
||||
|
||||
Name = "Sandra"
|
||||
Outfit = (137,115-63-95-38)
|
||||
Outfit = (140,115-95-127-76-1)
|
||||
Home = [33258,31840,7]
|
||||
Radius = 2
|
||||
|
||||
@ -48,9 +48,9 @@ VANISH,! -> "Good bye and please come back soon."
|
||||
"oil" -> Type=2874, Data=7, Amount=1, Price=20, "Do you want to buy a potion of oil for %P gold?", Topic=2
|
||||
"water" -> Type=2874, Data=1, Amount=1, Price=8, "Do you want to buy a potion of distilled water for %P gold?", Topic=2
|
||||
|
||||
"deposit" -> "I will pay you 5 gold for every empty vial. Ok?", Data=0, Topic=3
|
||||
"vial" -> *
|
||||
"flask" -> *
|
||||
"deposit",QuestValue(17545)=1 -> "I will pay you 5 gold for every empty vial. Ok?", Data=0, Topic=3
|
||||
"vial",QuestValue(17545)=1 -> *
|
||||
"flask",QuestValue(17545)=1 -> *
|
||||
|
||||
Topic=2,"yes",CountMoney>=Price -> "Here you are. There is a deposit of 5 gold on the vial.", DeleteMoney, Create(Type)
|
||||
Topic=2,"yes" -> "Come back, when you have enough money."
|
||||
@ -66,4 +66,39 @@ Topic=4,"yes" -> "Finally. You have no idea how difficult it is to keep somethin
|
||||
Topic=4 -> "How do you even know about the stuff then..."
|
||||
Topic=5,"Your","continued","existence","is","payment","enough" -> "What?? How dare you?! I am a sorcerer of the most reknown academy on the face of this world. Do you think some lousy pirates could scare me? Get lost! Now! I will have no further dealings with the likes of you!", SetQuestValue(17520,3)
|
||||
Topic=5 -> "I see no deal with you then."
|
||||
|
||||
"deposit",QuestValue(17545)=0 -> "The Edron academy has introduced a bonus system. Each time you deposit 100 vials without claiming the money for it, you will receive a lottery ticket. ...",
|
||||
"Some of these lottery tickets will grant you a special potion belt accessory, if you bring the ticket to me. ...",
|
||||
"If you join the bonus system now, I will ask you each time you are bringing back 100 or more vials to me whether you claim your deposit or rather want a lottery ticket. ...",
|
||||
"Of course, you can leave or join the bonus system at any time by just asking me for the 'bonus'. ...",
|
||||
"Would you like to join the bonus system now?", Topic=6
|
||||
"vial",QuestValue(17545)=0 -> *
|
||||
"flask",QuestValue(17545)=0 -> *
|
||||
Topic=6,"yes" -> "Great! I've signed you up for our bonus system. From now on, you will have the chance to win the potion belt addon!", SetQuestValue(17545,2)
|
||||
Topic=6,"no" -> "Alright. I removed your name from our list. If you want to join again and get the chance to win a potion belt addon, just ask me for the 'bonus'.", SetQuestValue(17545,1)
|
||||
Topic=6 -> "Maybe another time."
|
||||
|
||||
"deposit",QuestValue(17545)=2 -> "Would you like to get a lottery ticket instead of the deposit for your vials?", Topic=7
|
||||
"vial",QuestValue(17545)=2 -> *
|
||||
"flask",QuestValue(17545)=2 -> *
|
||||
Topic=7,"yes",Count(2874)>=100 -> "Ok! Here take this lottery ticket.", DeleteAmount(2874, 100), Type=5957, Amount=1, Create(Type)
|
||||
Topic=7,"yes" -> "You don't have 100 empty vials."
|
||||
Topic=7 -> "Maybe another time."
|
||||
|
||||
"bonus",QuestValue(17545)=2 -> "Would you like to leave our bonus system?", Topic=8
|
||||
Topic=8,"yes" -> "Alright. I removed your name from our list. If you want to join again and get the chance to win a potion belt addon, just ask me for the 'bonus'.", SetQuestValue(17545,1)
|
||||
Topic=8 -> "Alright. Your name is still in our bonus system list."
|
||||
|
||||
"bonus",QuestValue(17545)=1 -> "Would you like to join our bonus system?", Topic=9
|
||||
Topic=9,"yes" -> "Alright. I added your name from in to the bonus system list. Wish you best of luck on depositing vials!", SetQuestValue(17545,2)
|
||||
Topic=9 -> "Maybe another time."
|
||||
|
||||
"winning","lottery","ticket",QuestValue(17546)=0 -> Type=5958, Amount=1, "Are you here to claim a prize?", Topic=10
|
||||
"prize",QuestValue(17546)=0 -> *
|
||||
Topic=10,"yes",Count(Type)>=Amount -> "Congratulations! Here, from now on you can wear our lovely potion belt as accessory.", Delete(Type), SetQuestValue(17546,1), AddOutfitAddon(138,1), AddOutfitAddon(133,1), EffectOpp(13)
|
||||
Topic=10,"yes" -> "Where is yours winning lottery ticket then?"
|
||||
Topic=10 -> "Maybe another time."
|
||||
|
||||
"winning","lottery","ticket",QuestValue(17546)=1 -> "I am sorry, but since you already have our potion belt we have no further prizes left for you. Maybe try to gift the winning lottery ticket for someone who really want to claim the accessory."
|
||||
"prize",QuestValue(17546)=1 -> *
|
||||
}
|
||||
|
@ -81,5 +81,18 @@ Topic=2 -> "Lost your heart?"
|
||||
|
||||
"permission",QuestValue(17513)=2 -> "You already have the permission to enter the citadel."
|
||||
|
||||
"myra",QuestValue(17547)=11,male -> "Bah, I know. I received some sort of 'nomination' from our outpost in Port Hope. ...",
|
||||
"Usually it takes a little more than that for an award though. However, I honour Myra's word. ...",
|
||||
"I hereby grant you the right to wear a special sign of honour, acknowledged by the academy of Edron. Since you are a man, I guess you don't want girlish stuff. There you go.", SetQuestValue(17547,12), AddOutfitAddon(138,2), AddOutfitAddon(133,2), EffectOpp(13)
|
||||
|
||||
"myra",QuestValue(17547)=11,female -> "Bah, I know. I received some sort of 'nomination' from our outpost in Port Hope. ...",
|
||||
"Usually it takes a little more than that for an award though. However, I honour Myra's word.", SetQuestValue(17547,12), AddOutfitAddon(138,2), AddOutfitAddon(133,2), EffectOpp(13)
|
||||
|
||||
"myra" -> "She was sent to Port Hope by the academy of Edron to function as an adviser in magical matters and as a teacher for sorcerers in need of training."
|
||||
|
||||
"proof",QuestValue(17548)=0,Count(5903)>=1 -> "... I cannot believe my eyes. You retrieved this hat from Ferumbras' remains? That is incredible. If you give it to me, I will grant you the right to wear this hat as addon. What do you say?", Topic=4
|
||||
Topic=4,"yes" -> "I bow to you, %N, and hereby grant you the right to wear Ferumbras' hat as accessory. Congratulations!", DeleteAmount(5903, 1), SetQuestValue(17548,1), AddOutfitAddon(130,2), AddOutfitAddon(141,2), EffectOpp(13)
|
||||
Topic=4 -> "Maybe another time."
|
||||
"proof",QuestValue(17548)=0 -> "If you should manage to defeat Ferumbras, bring a proof of his death here and you will be rewarded."
|
||||
"proof",QuestValue(17548)=1 -> "The Ferumbras death proof will remain for eternity to you."
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user