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

Quests::Completed This is where Completed quests are.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-05-2008, 10:15 AM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default Pearls of Odus

This npc, Weligon Steelherder, is also contains text for the Barnacle Breastplate (previously complete) and Deep Six Cutlass (work in progress) quests.

Weligon_Steelherder.pl zone:erudnext
Code:
#####################################
#Quests: Odus Pearls, The Bridge, Barnacle Breastplate
#NPC: Weligon Steelherder
#Zone: erudnext
#Heavily modified by RealityIncarnate
#####################################

sub EVENT_SAY {   
  if($text=~/Hail/i) {    
    quest::say("Hail, $name! This is the Deepwater Temple. Here you shall find the wisdom and courage of Prexus, the Ocean Lord. I am glad to see you have an interest. Forgive me if I cut our conversation short, but I have many [Deepwater tasks] to complete.");  
  }  

  if($text=~/deepwater tasks/i) {    
    if($faction > 5) {
      quest::say("We, the Deepwater Knights, know of your vile ways. You had best leave while you can.");
    }
    elsif($faction < 4) {
      quest::say("We here at the Deepwater Temple must tend to the [Peacekeeper battlestaff] and the [Deepwater harpoon] as well as other duties such as [ocean protection]. There is always something we must do.");  
    }
    else {
      quest::say("There is no reason to dislike you, but we of the Deepwater Knights must see more done for our cause before we truly accept you.");
    }
  }  

  if($text=~/deepwater harpoon/i) {     
    quest::say("We do not award the Deepwater harpoon to just any paladin.  Nobility is all well and good, but you must still prove yourself.  We have heard rumors of a very distressing matter.  Perhaps it is your calling.  Are you ready to [prove allegiance to Erudin] and earn the Deepwater harpoon?");  
  }  

  if($text=~/prove allegiance to Erudin/i) { 
    quest::say("Yes, you are ready. We have heard rumors of a great bridge which will connect Antonica with Odus!! This must not happen! We must shield ourselves from the savage and evil ways of the other races. They say that a list exists. A list of three grand architects who wish to see this bridge erected. You will venture to Qeynos and find the list, then exterminate these three men. Return the list along with their heads and the Deepwater Harpoon is yours. Go!!");  
  }  

  if($text=~/peacekeeper battlestaff/i) {    
    quest::say("Every sentinel in Erudin carries a High Guard battlestaff.  The creation of these weapons is the duty of the Deepwater Temple and the Temple of Divine Light.  Our portion of the task is to send young members to [collect the Pearls of Odus].  These are imbedded into the staff and used to store mystical power.");
  } 

  if($text=~/ocean protection/i) {    
    quest::say("In the name of Prexus, we are sworn to protect all ocean creatures.  We have heard reports of a shark carrying a deadly malady.  We believe she is pregnant.  If she delivers her young to the ocean, it will endanger all other creatures.  We need to find a young paladin to [hunt the diseased shark].");  
  } 
  
  if($text=~/hunt the diseased shark/i) { 
    quest::say("Ah, yes!  Take this bag with you.  When you have collected the remains of the diseased shark and no fewer than three of her young in it, combine them in it and return it to me.  Then, you shall get your reward.");
    quest::summonitem(17938);  
  }

  if($text=~/collect the pearls of odus/i) {    
    quest::say("Then venture to the harbor of Erudin. There, you shall dive into the shark-infested water and search for the Pearls of Odus. They lie upon the grounds of our waters.  Fill the bag I have given you, combine it, and return it to me.  Good luck.");
    quest::summonitem(17939);   
  }

  if($text=~/harpoon no more/i) {
    quest::say("The Deepwater harpoon's distribution has been restricted by order of the High Council. The last one awarded was to an outsider, the brave and noble paladin, Sentry Xyrin. She hailed from the Temple of Marr.");
  }
}

sub EVENT_ITEM {  
  if (plugin::check_handin(\%itemcount, 13876 => 1)) {
    quest::say("Very good, my dear young follower of Prexus. You will learn that swimming is a strong skill among the Deepwater Knights. Keep this up and you may wield a Deepwater harpoon soon enough. For now, you shall wear this barnacle breastplate. It is strong enough to aid a young knight in his quest for perfection.");
    quest::summonitem(12194);
    quest::faction( 79, 10); 	#Deepwater Knights
    quest::faction( 145, 10); 	#High Council of Erudin
    quest::faction( 143, -15);	#Heretics
    quest::exp(100);
  }  

  if (plugin::check_handin(\%itemcount, 13879 => 1)) {
    quest::say("Fine work, Deepwater Knight. You have proven yourself an excellent addition to our ranks. These shall be used to create more Peacekeeper staffs. Oh yes, I almost forgot your reward. Here you are. Now, go, and serve Prexus.");
    quest::summonitem(quest::ChooseRandom(2104, 2106, 2108, 2111, 2112));
    quest::faction( 79, 10);
    quest::faction( 145, 10);
    quest::faction( 143, -15);
    quest::exp(100);
  }

  if (plugin::check_handin(\%itemcount, 18835 => 1) && plugin::check_handin(\%itemcount, 13838 => 1) && plugin::check_handin(\%itemcount, 13839 => 1) && plugin::check_handin(\%itemcount, 13840 => 1)) {
    quest::say("It is done!! I pray to Prexus that the knowledge of the bridge's design has departed from this world with the passing of these intelligent men. A pity they had to die. As for you, the other states may not tolerate your presence any longer, but you have proven that allegiance to Erudin is paramount among all Erudites. I am afraid the [harpoon is no more]!! I bestow upon you Deep Six, my personal cutlass!! May you wield it in the name of Erudin.");
    quest::summonitem(5377);
    quest::faction( 79, 10);
    quest::faction( 145, 10);
    quest::faction( 143, -15);
    quest::exp(100);
  }

  #do all other handins first with plugin, then let it do disciplines      
  plugin::try_tome_handins(\%itemcount, $class, 'Paladin');      
}

#END of FILE Zone:erudnext  ID:98063 -- Weligon_Steelherder
For the quest to function properly, several items must be inserted into the database.

The Pearls of Odus must be added to the ground_spawns table. They appear in three places. I'm not sure what the respawn time is on Live, but I set mine at 5 minutes.

Zone:24 ItemID:13878 Coords (x,y,z): (-460, -275, -28), (-475,-215,-28), (-485,5,-28).

The following recipe must also be added:
Full Bag of Pearls
tradeskill:75, no fail, replaces container

container: 17939
components: 4x 13878
success: 13879

Last edited by realityincarnate; 04-05-2008 at 06:16 PM.. Reason: Get rid of unintended smilies
Reply With Quote
 


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 11:41 AM.


 

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