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

Quests::Submissions This is where you submit your quests for review

Reply
 
Thread Tools Display Modes
  #1  
Old 12-10-2011, 09:27 PM
pepsiphreak79
Sarnak
 
Join Date: Sep 2011
Posts: 70
Default Shanis_MacDarren.pl tattered note turn in

Hey this was missing as of 2068 not sure if it was revised yet


Code:
#Shanis_MacDarren.pl in halas loc 576  329.70 4.38


sub EVENT_ITEM {
   if ($item1=="36003")      # Tattered note
   {
       quest::say("I was hoping ye would see the wisdom of joining our fine guild. Now before ye take off on some fool quest and get yerself killed, take this tunic -- it's not much, but it will keep yer bones from 

freezing and give you a wee bit o' protection. There's much to be done in and around our fine city. I suggest that ye talk to Haladorf over there. Ye best get to work! Come back and see me as you gain experience 

and I'll train ye in our way. Oh, and one more thing. You might be wonderin' what that Tome of Corroded Axe be for. Hand it to me and I will grant you your first skill with throwin axes!");

     quest::faction(213, 5);   # Merchants of Halas

       quest::summonitem("58766");   # Soiled Gray Tunic
        quest::exp("300");        # Give exp for turning in quest
    }
else {
plugin::try_tome_handins(\%itemcount, $class, 'Berserker');
plugin::return_items(\%itemcount);
}

}
__________________
--Any Code by me is considered open source Beta--
Not a DEV not a Coder
Just a person....
Reply With Quote
  #2  
Old 12-10-2011, 09:54 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

I cleaned it up some, and you were missing a closing bracket. Thanks, I added it to the PEQ repo. It'll show up with the push tonight.

Code:
#Shanis_MacDarren.pl in halas loc 576  329.70 4.38


sub EVENT_ITEM {
	if(plugin::check_handin(\%itemcount, 36003 => 1))   # Tattered note
   	{
       		quest::say("I was hoping ye would see the wisdom of joining our fine guild. Now before ye take off on some fool quest and get yerself killed, take this tunic -- it's not much, but it will keep yer bones from freezing and give you a wee bit o' protection. There's much to be done in and around our fine city. I suggest that ye talk to Haladorf over there. Ye best get to work! Come back and see me as you gain experience and I'll train ye in our way. Oh, and one more thing. You might be wonderin' what that Tome of Corroded Axe be for. Hand it to me and I will grant you your first skill with throwin axes!");
     		quest::faction(213, 5);   # Merchants of Halas
       		quest::summonitem(58766); # Soiled Gray Tunic
        	quest::exp(300);        # Give exp for turning in quest
    	}
	else {
		plugin::try_tome_handins(\%itemcount, $class, 'Berserker');
		plugin::return_items(\%itemcount);
	}
}
Reply With Quote
Reply


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:35 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