Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2014, 01:30 PM
Leetsauce
Hill Giant
 
Join Date: Apr 2010
Posts: 169
Default Staff of Elemental Flux

This involves 3 npc's. 2 of which you will likely have to make. all 3 you will have to spawn.

Mithious_Scratch.pl (lfaydark):

Code:
sub EVENT_SAY {
if($text=~/hail/i) {
plugin::Whisper("Well hello there $name! It is always good to see a fellow Wizard. I see that you have visited Solusek's Temple and proved worthy of the tasks they set before you! If you wish, wise Wizard, I can perform a minor incantation on your Staff of Temperate Flux that will dramatically increase its power! All I require is 100 platinum pieces which I will remove from your pockets myself, and your staff. The components for the spell are quite expensive!");
}
if($text=~/broken/i){
plugin::Whisper("Listen, I think there is a way for us to put this right, you and I. If we work together on this I'm sure we'll both come out ahead. Go visit my, um, friend " . quest::saylink("Nathen",1) . ". He is studying in the Library in Erudin. He should have another copy of the document I need. Bring that to me and we will fix your staff and see if we can't make it a little stronger in the process!");
}
if($text=~/Nathen/i) {
plugin::Whisper("Don't mind anything he may say about me, though, that Nathen is a real jokester! You know on second thought you might not want to mention me. Nathen, um, might think it's funny to tell you no if you mention me. . .Return to me with the Instructions you will obtain from Nathen to me and we will continue on.");
}
if($text=~/powerful solvent/i) {
plugin::Whisper("I just happen to know that a certain Alchemist named Bauer recently moved into a room in Freeport. I'm sure if you speak with him he will give you what you need. Do whatever you have to do to get the solvent from him - whatever it takes $name! After you obtain the solvent, bring it, the staff I broke, and the instructions back to me.");
}
}

sub EVENT_ITEM {
if(plugin::check_handin(\%itemcount, 6342 => 1) && $client->TakeMoneyFromPP(100000, 1)) {
quest::emote("pats his pockets, looking for something. You hear him mutter as he searches. Suddenly he straightens and you hear him say 'Ah, never mind the instructions! I remember how to do it.");
$client->Message(335, "Mithious Scratch took your money and has broken your Staff of Temperate Flux");
quest::summonitem(51684);
plugin::Whisper("Oh, dear! Um, I'm really sorry, friend, but I seem to have, er, " . quest::saylink("broken",1) . " your staff. . .I just couldn't seem to find the document I was looking for but I was so sure I remembered how to do it! I don't know what to say. . .");
}
if(plugin::check_handin(\%itemcount, 51687 => 1)) {
plugin::Whisper("Oh, of course! I had the incantation right but I was using the wrong ingredients. Well this is simple enough, we just need the ingredients. Fetch me a " . quest::saylink("powerful solvent",1) . " and a Blue Diamond and return with these instructions and your, er, broken staff, and we should have everything we need to create for you a Staff of truly awesome power!");
quest::summonitem(51688);
}
if(plugin::check_handin(\%itemcount, 51684 => 1, 51685 => 1, 51688 => 1, 22503 => 1)) {
plugin::Whisper("Haha! You fool! With this staff I will be able to challenge the mighty Solusek Ro himself! I could not have obtained the original Staff on my own - the Priests of Solusek had barred me from their temple after I 'removed' that worthless priestess Leesa when she got in my way. But now you come along and deliver not only the Staff but everything I need to create a version even more powerful than the one used by Solusek's own minions! And the crowning glory is you got rid of that whiner Bauer for me as well! My thanks, pitiful fool!");
quest::summonitem(51686);
quest::attack($name);
}
plugin::return_items(\%itemcount);
}
Nathen_Starr (erudnext):
Code:
sub EVENT_SAY {
if($text=~/hail/i) {
plugin::Whisper("Well hello $name! Let me guess - Mithious sent you, right? No, no, it's not that surprising that I guessed. I had a feeling he would be sending somebody along soon enough and I recognize that look of desperation in your eyes - you're definitely mixed up with Mithious and he sent you to get the Instructions he needs. Somehow I knew he would still be able to cause some trouble, even while on the run from the Priests of Solusek. Well I know I really shouldn't help that scoundrel out but you seem like a good sort so why don't we " . quest::saylink("help each other",1) . "?");
}
if($text=~/help each other/i) {
plugin::Whisper("Well I can't just give you the document $name. It's very rare and I do not have a copy. But if you get me an Automated Quill and a piece of Parchment I can copy it for you. I used to have a very nice Automated Quill that a friendly Gnome made for me but it went missing the last time Mithious stopped by pestering me on some mad quest to gain power. In any case return to me with an Automated Quill and Parchment and I will give you a copy of this document.");
}
}

sub EVENT_ITEM {
if(plugin::check_handin(\%itemcount, 65449 => 1, 13063 => 1)) {
plugin::Whisper("Excellent! Well now let me just dash off a quick copy. . . and here you go! And now just one word of advice to you, my friend. Watch your step with Mithious. He is not to be trusted, no matter how sincere he seems. Now I must return to my studies. Good day to you!");
quest::summonitem(51687);
}
plugin::return_items(\%itemcount);
}
#Alchemist_Bauer (freportw):
Code:
sub EVENT_SAY {
if($text=~/hail/i){
plugin::Whisper("Oh no! I knew he would send someone once he found me! Isn't it enough that he took my Leesa? Why does he hound me so! Well, $name , I'll send him a message with your cold, dead, body!");
quest::attack($name);
}
}

I put this under "Custom" because I've had to change a little bit about the quest like Scratch taking the plat out of your pockets for you as opposed to you having to hand it into him directly. The rest was written with dialog used from Allakhazam, and I believe I made most dialog plugin::Whisper based instead of emote.

Feel free to correct anything or use on your server! These clicky staffs are awesome for wizards.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:12 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3