Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-02-2009, 10:13 AM
Aldest
Sarnak
 
Join Date: Feb 2009
Location: Georgia
Posts: 69
Default NPC ignores me!

I'm trying to design my first quest and running into trouble. My NPC basically turns to face you when you hail her but doesn't give the quest responses. Other NPCs in the same zone work just fine. Felicia just seems to be mute or rude.

Here is my quest:
Code:
sub EVENT_SAY {
	if ($text=~/hail/i) {  
		quest::say ("Greetings young $race. If you have a [minute] I have something very important to ask you.");  
		}
		
	if ($text=~/minute/i) { 
		quest::say ("I'm glad you had the time to speak to me as I'm certain you'll find this worth your while. It is fair to say I am not exactly from these lands but I know much about them. There is a great danger coming and I'm here to avert it. I cannot do it alone. Would you be willing to help me?"); 
		}             

	if ($text=~/help you/i) { 
		quest::say ("Time is of the essence. I'm not sure how much longer we have left. To ensure this crisis does not occur I need you to seek out some items for me. Tell me, what is your profession?"); 
		}

	if ($text=~/cleric/i) {
		quest:: say ("A cleric? How fortunate. I will need a Platinum Token from a lord who sits on a throne that is not his, a Royal Fang from a king that rules in the shadow of a lord, and a Tainted Flail from clerics who serve a dark god. Bring them to me and I will reward you."); 
		}
              }

sub EVENT_ITEM
 {
  if  (plugin::check_handin(\%itemcount, 16905 => 1, 16857 => 1, 10035 => 1))
     {
    quest::emote("removes a item from his pocket.");
    quest::say("This is yours. Care for it well!");
    quest::summonitem(10051);  #gemmed crown
     }
  }
Can anyone spot something wrong with that?
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 06:40 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