EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=634)
-   -   Shanis_MacDarren.pl tattered note turn in (https://www.eqemulator.org/forums/showthread.php?t=34595)

pepsiphreak79 12-10-2011 09:27 PM

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);
}

}


cavedude 12-10-2011 09:54 PM

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);
        }
}



All times are GMT -4. The time now is 02:07 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.