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

Quests::Completed This is where Completed quests are.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2008, 09:07 AM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default Froglok pelt upgrade quest

This is the script for the froglok trader in the Rathe mountains who upgrades low/medium quality pelts. He only speaks to or performs the trade for frogloks.

Dar_Forager_Lumun.pl - zone: rathemtn
Code:
#############
#Quest Name: Upgraded Pelts
#Author: RealityIncarnate
#NPCs Involved: Dar Forager Lumun
#Items Involved: Low/medium/high quality wolf/bear/cat pelts
#################

sub EVENT_SAY {
 if($race=~/Froglok/) {
  if($text=~/Hail/i) {
   quest::say("Nice to meet you, $name! Please have a look at my wares, I have taken great pains to brings only the best that the mountains have to offer. Or perhaps you are here to make an [exchange]?");
  }
  
  if($text=~/exchange/i) {
   quest::say("I am always in need of more skins, so I will swap three identical unruined pelts for one of my higher quality versions.");
  }
 }
}

sub EVENT_ITEM {
 if($race=~/Froglok/) {
  if(plugin::check_handin(\%itemcount, 12084 => 3)) {
   quest::say("Hmm. . . That seems like a fair trade. Let me see what I've got in my satchel. No. Wait, yes! I do have a fine specimen here that I think you'll agree is of superior quality.");
   quest::exp(150);
   quest::summonitem(12085);
  }

  elsif(plugin::check_handin(\%itemcount, 12085 => 3)) {
   quest::say("Hmm. . . That seems like a fair trade. Let me see what I've got in my satchel. No. Wait, yes! I do have a fine specimen here that I think you'll agree is of superior quality.");
   quest::exp(150);
   quest::summonitem(12086);
  }

  elsif(plugin::check_handin(\%itemcount, 13753 => 3)) {
   quest::say("Hmm. . . That seems like a fair trade. Let me see what I've got in my satchel. No. Wait, yes! I do have a fine specimen here that I think you'll agree is of superior quality.");
   quest::exp(150);
   quest::summonitem(13754);
  }

  elsif(plugin::check_handin(\%itemcount, 13754 => 3)) {
   quest::say("Hmm. . . That seems like a fair trade. Let me see what I've got in my satchel. No. Wait, yes! I do have a fine specimen here that I think you'll agree is of superior quality.");
   quest::exp(150);
   quest::summonitem(13755);
  }

  elsif(plugin::check_handin(\%itemcount, 13750 => 3)) {
   quest::say("Hmm. . . That seems like a fair trade. Let me see what I've got in my satchel. No. Wait, yes! I do have a fine specimen here that I think you'll agree is of superior quality.");
   quest::exp(150);
   quest::summonitem(13751);
  }

  elsif(plugin::check_handin(\%itemcount, 13751 => 3)) {
   quest::say("Hmm. . . That seems like a fair trade. Let me see what I've got in my satchel. No. Wait, yes! I do have a fine specimen here that I think you'll agree is of superior quality.");
   quest::exp(150);
   quest::summonitem(13752);
  }

  else {
    quest::say("I don't need that, friend.");
    plugin::return_items(\%itemcount);
  }
 }
 
 else {
  quest::say("Hmm... There is something about $race\s I don't exactly trust...");
  plugin::return_items(\%itemcount);
 }
}

#END OF FILE zone:rathemtn
Reply With Quote
  #2  
Old 03-08-2008, 08:34 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Submitted, thank you!
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 06:43 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