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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 08-17-2006, 01:44 PM
ylosh
Sarnak
 
Join Date: Jan 2006
Posts: 39
Default

it's easier to do something like this than type in the same dialogue over and over for multiple hand ins. you also used a lot of quest::say(); instead of quest::emote(); it's a good idea to use the item hand in plugins so npcs don't eat incorrect items handed to them. some extra spaces were inserted in weird places after i pasted the text.
Code:
           sub EVENT_SAY {
             if($text=~/Hail/i) {
           	quest::say("Greetings, friend, and welcome to New Tanaan. We have worked hard to properly greet you into our midst, and hope that our efforts shall not be in vain. As a ranger of Tunare in my former life upon Norrath, I have joined my fellow Pathfinders in scribing spells from memory of our journeys upon your world. These spells are not unique to the Plane of Knowledge, for they are the same as those Norrath offers to its guardians. However, they may be convenient for you to purchase here while you are browsing our libraries and engaging in the wonders of our beautiful, peaceful city. However, do not forget the scholars whilst you are engaging in the planes. You may stumble across a piece of pure arcane manifestation that may appear mundane at first, but with my help can become a spell of great power to all of nature's wardens.");
             }
           }
           
           sub EVENT_ITEM {
             if (plugin::check_handin(\%itemcount, 29112 => 1)) {
           	quest::summonitem(quest::ChooseRandom(21627,21628));
             }
             elsif (plugin::check_handin(\%itemcount, 29131 => 1)) {
           	quest::summonitem(quest::ChooseRandom(26943,26931,26930,21626,26929));
             }
             elsif (plugin::check_handin(\%itemcount, 29132 => 1)) {
           	quest::summonitem(quest::ChooseRandom(21655,26932));
             }
             else {
           	plugin::return_items(\%itemcount);
           	return 1;
             }
             quest::emote("takes the arcane item from you. Carefully, he inspects it -- nodding to himself in recognition of the item and planning of his next step. The ranger then begins a soft, melodic chant of priestly origin. You recognize the nature of the words to be a hymn of the natural world, though you cannot decipher their meaning. The arcane object fades into existence, the runes etching themselves upon the surface become clear in their mat, neutral hues. Eventually, the ranger's chant ends and the object in his hand is complete. He then extends it to you in unconditional offering, 'Use this wisely and with great respect for the power that has originated it. The primordial arcane powers of the divine worlds are not to be disrespected.'");
           }
           
           #END of FILE Zone:poknowledge  ID:202188 -- Pathfinder_Viliken
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 04:53 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3