This quest was mostly complete but it was missing a couple of spawns and a final item to complete the quest. I added those.
I ran through the quest and was able to get my badge. The first suspect was already in firepride's so I did not have to spawn him. The second and third suspect needed to spawned.
Both of these should go in quests\qeynos
They should also both exist already.
quests\qeynos\#Donally_Stultz.pl
Code:
# #Donally Stultz in qeynos
#############
#Quest Name: Qeynos Investigator's Badge (Badge #1)
#Alla URL: http://everquest.allakhazam.com/db/quest.html?quest=1271
#Author: loglos (just made minor changes)
#NPCs Involved: an investigator, donally stultz, willie garrote, Riley shplotz
#Items Involved: Head of Donally Stultz, Investigator's Badge
#################
sub EVENT_SAY {
if($text =~ /Bloodsaber/i) {
quest::say("Of course I'm a Bloodsaber, you fool! I've just returned from the Plains of Karana where I was reveling in the glory of the Plaguebringer. Now then, since I see that this foolish investigator is with you, I suppose you want me to sign a confession document or something like that? Well, let's have it then!");
#should drop head
}
}
sub EVENT_ITEM {
if ($itemcount{2344} == 1) {
quest::emote("crumples the document into a ball, throws it to the ground and spits in your face, yelling, 'You are a fool if you really believe I would sign such a thing. Prepare to die!'");
quest::attack($name);
}
}
sub EVENT_DEATH {
quest::say("You...can not...defeat us all...");
quest::summonitem(2279);
#loglos added summonitem (head of donally stultz)
}
quests\qeynos\an_investigator.pl
Code:
#an investigator in qeynos
#############
#Quest Name: Qeynos Investigator's Badge (Badge #1)
#Alla URL: http://everquest.allakhazam.com/db/quest.html?quest=1271
#Author: loglos (just made minor changes)
#NPCs Involved: an investigator, donally stultz, willie garrote, Riley shplotz
#Items Involved: Head of Donally Stultz, Investigator's Badge
#################
sub EVENT_SAY {
if($text =~ /first suspect/i) {
quest::say("The first suspect was last seen near the shop called Fireprides.");
#quest::unique_spawn(1183,0,0,$x+10,$y+10,$z+10);
}
if($text =~ /Follow me/i) {
quest::say("Right, let's get going.'");
quest::follow($userid);
}
if($text =~ /Give me a confession document/i) {
quest::say("Here you are.'");
quest::summonitem(2344);
}
if($text =~ /second suspect/i) {
quest::say("The second suspect was sighted below the Grounds of Fate.");
quest::spawn2(1201, 0, 0, -413.66, -3.08, -25.81, 0);
#loglos added spawn Willie Garrote
#quest::unique_spawn(1201,0,0,$x+10,$y+10,$z+10);
}
if($text =~ /third suspect/i) {
quest::say("The last suspect has been known to hang around that low life known as Raz the Rat.");
quest::spawn2(1197, 0, 0, 45.92, -310.77, -16.58, 0);
#loglos added spawn Donally Stultz
#quest::unique_spawn(1197,0,0,$x+10,$y+10,$z+10);
}
}
sub EVENT_ITEM {
if ($itemcount{18289} == 1) {
quest::say("Very well, let's get to work. I assume you have read the briefing and committed it to memory.
This is how you will be tested. I shall play the part of student and you shall play the master who directs me. I promise I
won't make it easy on you either, we want only the best. We'll see how you do and then I'll decide if you are worthy to wear
the badge or not.");
quest::follow($userid);
}
if ($itemcount{2369} == 1 && $itemcount{2394} == 1 && $itemcount{2279} == 1) {
quest::say("You have done our city a great service and helped to bring several criminals to justice this
day! Wear this Investigator's Badge with pride! Speak again with Vegalys Keldrane, he may have information about [advancing
further] in rank.");
quest::summonitem(2386);
quest::sfollow();
#faction better: 'AntoniusBayle'
#faction better: 'GuardsofQeynos'
#faction worse: 'RingofScale'
#faction worse: 'KaneBayle'
#faction better: 'MerchantsofQeynos'
}
}