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
  #18  
Old 04-16-2008, 12:17 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Captain_Tillin.pl

qeynos

Code:
###############################################
# NPC:  Captain Tillin
# Zone:  qeynos
# Author:  Andrew80k, and others.
###############################################

sub EVENT_SAY { 
if($text=~/Hail/i){
quest::say("Hail, $name!  Spend your time wisely in the city of Qeynos.  Do not let your mind wander to thoughts of bravado or crime.  My guards can easily put to rest any outbreaks.  Good day to you, citizen!"); }
}
sub EVENT_ITEM { 
 if(plugin::check_handin(\%itemcount,13915 => 1)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,13915 => 2)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,13915 => 4)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,10070 => 2) && plugin::check_handin(\%itemcount,13915 => 3)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,6012 => 1)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,3053 => 4)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,20104 => 4)){
	quest::say("Very good!  One less gnoll the people of Qeynos need to fear.  Here is your bounty as promised.");
	quest::summonitem("10070","1");
	quest::faction("10102","-1");
	quest::faction("10108","-1");
 } elsif(plugin::check_handin(\%itemcount,18800 => 1)){
        quest::say("I heard you were on your way. I have called for the state executioner. She should be on her way now. She will deal with our friend, McNeal Jocub. Thank you for your help, citizen.");
        quest::faction("9","10");
        quest::faction("33","-10");
        quest::faction("53","-10");
        quest::faction("135","10");
        quest::faction("217","10");
        quest::givecash(int(rand(10)),int(rand(10)),int(rand(10)),int(rand(10)));
   } elsif(plugin::check_handin(\%itemcount,18912=>1)){
        quest::say("So, an assassin has been sent to Qeynos!  I shall have my guards keep an eye out for any suspicious looking visitors.  As for you... you should speak with the Surefall Glade ambassador.  Ambassador Gash is staying at the Lion's Mane Inn here in South Qeynos.  Inform him that [an assassin has been sent to kill] him.  Do not let the assassin near him!");
        quest::faction("9","10");
        quest::faction("33","-10");
        quest::faction("53","-10");
        quest::faction("135","10");
        quest::faction("217","10");
        quest::givecash(int(rand(10)),int(rand(10)),int(rand(10)),int(rand(10)));
        quest::spawn2(1303,0,0, -86.88,368.88,3.38,75.5);
} else {
  #do all other handins first with plugin, then let it do disciplines
  plugin::try_tome_handins(\%itemcount, $class, 'Warrior');
  plugin::return_items(\%itemcount);
 }
}
#END of FILE Zone:qeynos  ID:1077 -- Captain_Tillin
Reply With Quote
 

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 06:08 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3