View Single Post
  #21  
Old 04-16-2008, 12:29 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

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);
}
Reply With Quote