mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
23 lines
No EOL
483 B
Perl
23 lines
No EOL
483 B
Perl
sub EVENT_SAY {
|
|
# Prevent pets or charmed NPCs from using the default.pl
|
|
if (!$npc || $npc->GetOwnerID() || $npc->GetSwarmOwner())
|
|
{
|
|
return;
|
|
}
|
|
if ($text=~/hail/i) {
|
|
quest::say("Shh , I think I hear the kobolds.");
|
|
}
|
|
}
|
|
|
|
sub EVENT_ITEM {
|
|
|
|
# Prevent pets or charmed NPCs from using the default.pl
|
|
if (!$npc || $npc->GetOwnerID() || $npc->GetSwarmOwner())
|
|
{
|
|
# plugin::GivePetItems();
|
|
return;
|
|
}
|
|
|
|
plugin::return_items(\%itemcount);
|
|
|
|
} |