|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quests::Completed This is where Completed quests are. |
04-14-2008, 10:03 AM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
Quote:
Originally Posted by AndMetal
You should be able to depop using a signal from one to the other. You can use Seilaen's Plight as an example.
|
I didn't even think about doing it that way. Thanks for the tip!
|
04-16-2008, 12:16 AM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
Finally!
Raffel_Minnmorn.pl
Code:
#######################################
# NPC: Raffel Minnmorn
# Zone: qeynos
# Quest: Nitrates and the Assassin
# Loot: Black Wood Chip (12141) 100%
# Author: Andrew80k
#######################################
sub EVENT_AGGRO {
quest::say("I shall chop you down as your people chopped down the beauty of the forests!!");
}
sub EVENT_DEATH {
quest::say("Long live the green ..");
}
sub EVENT_SPAWN {
quest::settimer("talk",60);
}
sub EVENT_TIMER {
if ($timer eq "talk") {
quest::say("Pardon me. Have you seen a man named Gash Flockwalker? He hails from Surefall Glade.");
quest::stoptimer("talk");
quest::signalwith(1104,2);
}
}
|
|
|
|
04-16-2008, 12:17 AM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
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
|
|
|
|
|
|
|
04-16-2008, 12:20 AM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
#Gash_Flockwalker.pl
I have him as 1303 in my DB. Captain_Tillin.pl has this ID in his script.
Code:
####################################
# NPC: #Gash Flockwalker.pl
# zone: qeynos
# Quest: Nitrates and the Assassin
# Author: Andrew80k
####################################
sub EVENT_SPAWN {
quest::signal(1138);
}
sub EVENT_SAY {
if($text=~/Hail/i){
quest::say("Good day to you. Your city of stone walls is quite magnificent. Still, the glory of Surefall Glade puts this city to shame.");
}
if ($text=~/an assassin has been sent to kill you/) {
quest::say("What!!? Must be an Unkempt Druid Assassin nearby!! Find him and slay him. I am sure he stands to make a FORTUNE! I believe the assassin may be carrying some sort of [black wood chip].");
quest::spawn2(1179,0,0,-100,222,2.3,127.1);
}
if ($text=~/black wood chip/i){
quest::say("That is the mark of an Unkempt Druid. Long ago there was a tree in Norrath we called the Great Tunarbos. Legend says it spawned all the woodlands of Norrath. Many centuries ago, long before the Combine Era, the Great Tunarbos was burned to the ground by unknown means. The ancient rangers kept what little of the great tree they could find. To make it short, all Unkempt Druids now carry burned wood chips to represent the great tree. They are not real. Take any black wood chips to Gerael Woodone in Surefall Glade.");
quest::spawn2(1138,39,0,-86.88,368.88,3.4,75.5);
quest::depop();
}
}
#END of FILE Zone:qeynos ID:1303 -- #Gash_Flockwalker
|
|
|
|
04-16-2008, 12:22 AM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
Tasya_Huntlan.pl
Code:
###########################################
# NPC: Tasya Huntlan
# Quest: Nitrates and the Assassin
# Author: Unknown
# Updated: Andrew80k
###########################################
sub EVENT_SAY {
if($text=~/Hail/i){
quest::say("Hail, $name! Are you just visiting Qeynos? We have plenty of rooms available or, if your throat is parched, you can always visit Earron in our pub.");
}
}
sub EVENT_SIGNAL {
if ($signal==2) {
quest::say("Yes. He is staying here at the Lion's Mane Inn, but it is against regulations to give out room numbers. I can tell you that he loves to see the sun rise over the ocean.");
}
}
#END of FILE Zone:qeynos ID:1104 -- Tasya_Huntlan
|
|
|
|
04-16-2008, 12:29 AM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
Correction to both Draze_Slashyn.pl and Linaya_Sowlin.pl
Might still need to tweak this one a bit.
Code:
####################################
# NPC: Draze Slashyn
# Info: Spawned by quest, Linaya Sowlin
# Zone: qey2hh1
# Quest: Nitrates and the Assassin
# Loot: Item id 18911 100%, random trash(rusty axe, zone random), and small cash
# Level: 5 HP: 200 Class: Warrior
# Spawn Loc: -3400,-8000,23
# Author: Andrew80k
####################################
sub EVENT_SPAWN {
quest::moveto(-7756,-3726,1);
quest::shout("Come out of that house, Linaya Sowlin!! I am waiting! It is time for you to die!");
}
sub EVENT_DEATH {
quest::say("Your act of murder will not go unnoticed by the Unkempt Druids or nature itself!!");
}
and Linaya
Code:
####################################
# NPC: Linaya Sowlin
# Loc: -7655 -3745
# Zone: qey2hh1
# Quest: Nitrates and the Assassin (Qrg)
# Author: Andrew80k
####################################
sub EVENT_SAY {
if ($text =~ /hail/i) {
quest::say("Greetings! It is always nice to meet another traveler. The roads of the Plains of Karana are heavily trodden, but sparsely patrolled. Be careful of bandits and especially of giants. I have seen a few since my [move from the Jaggedpine].");
}
if ($text =~ /note/i) {
quest::say("The note spoke of the [Unkempt Druids]. I did not get a chance to read it all, only a glimpse. Perhaps the man still has the note. Too bad. I am sure Gerael Woodone of the druids of Surefall Glade should look at it.");
}
if ($text =~ /Unkempt Druids/i) {
quest::say("The Unkempt Druids are a crazed group of druids and rangers. I learned of them when I was in the Jaggedpine. They are a secret group and aim to keep it that way. They would kill anyone who learned of their whereabouts.");
}
if ($text =~/move from the Jaggedpine/i) {
quest::say("I inherited this farmhouse from my late uncle so I left the Jaggedpine to live here. The Jaggedpine is a beautiful forest but I believe my skills as a druid may come in handy as a farmer.");
}
}
sub EVENT_ITEM {
if(plugin::check_handin(\%itemcount,13945=>1)) {
quest::say("Oh thank Tunare you showed up when you did. I was at a nearby merchant house when a fellow dropped a [note] and I picked it up and read it. It talked of the [Unkempt Druids] and before I could read on, the man swiped it from my hands. I ran for dear life, for surely he would kill me for reading the note. I think I lost him in the woods but I am not sure. Please stay with me a while to be sure.");
quest::faction(265,10);
quest::faction(159,10);
quest::faction(267,10);
quest::faction(347,-30);
quest::faction(135,10);
quest::givecash(int(rand(10)),int(rand(10)),int(rand(10)),int(rand(10)));
quest::spawn2(12181,0,0,-8000,-3400,23,102.9);
}
plugin::return_items(\%itemcount);
}
|
|
|
|
04-16-2008, 07:59 AM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
Everything above has been committed so far.
|
04-16-2008, 09:00 AM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
Quote:
Originally Posted by cavedude
Everything above has been committed so far.
|
That's the last of it. Learned a lot with this one...
|
04-16-2008, 09:42 AM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
I bet! I'll mark this as complete. I'll update CVS later on today (DB and quests) so you can try it out. Thank you very much
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 07:46 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|