|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quests::Completed This is where Completed quests are. |
|
|
|
04-03-2008, 09:51 PM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
Surefall Glade: Merona's Brother
Merona_Castekin.pl
Here is Merona, more to come later.
Code:
# NPC: Merona_Castekin
# Zone: Qrg
# By Andrew80k
sub EVENT_SAY {
if($text =~ /Hail/i) {
quest::say("Oh, hello! Welcome to Surefall Glade. Are you planning a trip to Qeynos? If you are, I could use some help finding my [brother].");
}
if($text =~ /brother/i) {
quest::say("My brother Ronn went to Qeynos several days ago for supplies. He was just going to Sneed's and back. But he hasn't been seen since. I can't leave the Glade because the Sabertooths could attack at any minute. Could you please find out what happened to my brother? Ask Sneed about [Ronn Castekin]");
}
}
sub EVENT_ITEM {
if(plugin::check_handin(\%itemcount,18014=>1)) {
quest::say("Oh Tunare why!?!? Those foul Bloodsabers will pay for my brother's death!! Here. You have given us valuable information about a new threat to our homes. Take this a token of our appreciation.");
quest::faction(265,10);
quest::faction(159,10);
quest::faction(279,-30);
quest::faction(135,10);
quest::exp(1000);
quest::givecash(int(rand(10)),int(rand(10)),int(rand(10)),int(rand(10)));
}
#do all other handins first with plugin, then let it do disciplines
plugin::try_tome_handins(\%itemcount, $class, 'Ranger');
plugin::return_items(\%itemcount);
}
Last edited by Angelox; 04-04-2008 at 03:34 PM..
|
|
|
|
04-03-2008, 10:26 PM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
Qeynos Catacombs: Ronn Castekin
Code:
################################
# NPC: Ronn_Castekin.pl
# Zone: Qcat
# By Andrew80k
SUB EVENT_DEATH {
quest::say("Argh!.. Mer.. o..na.. it's.. not.. your fault.. arhhh...");
}
Last edited by Angelox; 04-04-2008 at 03:35 PM..
|
|
|
|
04-03-2008, 10:37 PM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
North Qeynos: Sneed Galliway
This one probably could use some more work, but I only added the piece I needed to add.
Code:
########################################
# NPC: Sneed_Galliway.pl
# Zone: qeynos2
# by: Andrew80k
sub EVENT_SAY {
if($text=~/Hail/i){
quest::say("Hello. $name. I am Sneed Galliway, merchant and citizen. I run the only general store in all of Qeynos. serving the needs of the many adventurers who call Qeynos home. If only one of them would take the time to help me with my er... [problem]...");
}
if($text=~/problem/i){
quest::say("Shhh.. Keep it down. It seems I have a little rodent problem in my store. A mangy rat keeps digging into my crates of rations. He looks as if he is diseased. If you help me by killing this pest. I will make it worth your while. Bring me his head as proof it is done.");
}
if($text =~ /Ronn Castekin/i) {
quest::say("Ronn? I saw him a few days ago. He was with someone dressed in black I didn't recognize .. I think I saw them later that day, swimming in the north pond. They really should stay away from the aqueducts. They can be quite dangerous. Full of rats, ya know.");
}
}
sub EVENT_ITEM {
if($itemcount{13717} == 1){
quest::say("HA! Good work! I knew you were the person for the job. A regular ratslayer you are. Here is your reward as promised. Be sure you keep this between us.");
quest::givecash("6","0","0","0");
quest::faction("Not_Found","1");
quest::faction("10108","-1");
quest::faction("Not_Found","1");
quest::faction("Not_Found","1");
quest::faction("Not_Found","1");
}
}
#END of FILE Zone:qeynos2 ID:2058 -- Sneed_Galliway
Last edited by Angelox; 04-04-2008 at 03:30 PM..
|
|
|
|
04-04-2008, 07:39 AM
|
AX Classic Developer
|
|
Join Date: May 2006
Location: filler
Posts: 2,049
|
|
These are great!
Only thing I see is, even if you are working on old, un-labeled PLs already there, still start with the labeling, more or less like this;
Code:
# NPC: whatever
# Zone: Qrg
# By Andrew80k
If you feel you did too little and this was just a revision, then do this;
Code:
# NPC: whatever
# Zone: Qrg
# Revised by Andrew80k
I fixed all your Pls here with the headings (hope you don't mind), They don't need to be exactly like that, but have that inf in there.
Thanks for your help, much appreciated.
Last edited by Angelox; 04-04-2008 at 03:45 PM..
|
04-04-2008, 09:17 AM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
Submitted, thank you!
|
04-04-2008, 09:55 AM
|
Dragon
|
|
Join Date: Feb 2007
Posts: 659
|
|
Quote:
Originally Posted by Angelox
These are great!
Only thing I see is, even if you are working on old, un-labeled PLs already there, still start with the labeling, more or less like this;
Code:
# NPC: whatever
# Zone: Qrg
# By Andrew80k
If you feel you did too little and this was just a revision, then do this;
Code:
# NPC: whatever
# Zone: Qrg
# Revised by Andrew80k
I fixed all your Pls here with the headings (hope you don't mind), They don't need to be exactly like that, but have that inf in there.
Thanks for your help, much appreciated.
|
Thanks for adding that. I'll add those for any that I submit in the future.
|
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 06:29 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|