Quest ID's will need to be changed to whatever Cavedude decides on.
Cadale_Brohat.pl
Code:
#zone: gunthak NPC: Cadale Brohat (29060)
#Provocating
sub EVENT_SAY {
if ($text=~/Hail/i){
quest::emote("smiles widely at you. 'Welcome. You are brave to venture to Broken Skull Rock. Don't mind the others. Everyone is a bit touchy around here. If you are interested in dyes, feel free to peruse what I have to offer. Playing with them has given me hours of entertainment! Just be careful on this rock, and watch your back. Oh, before I forget, I'm looking for someone to help me with some [tasks] that I need to get done. All my time with the dyes has kept me from some of the more important things I need to take care of.'");
}
if ($text=~ /task/i)
{
my @task_array;
push(@task_array, 500);
push(@task_array, 501);
push(@task_array, 502);
push(@task_array, 503);
push(@task_array, 504);
push(@task_array, 505);
push(@task_array, 506);
push(@task_array, 507);
quest::taskselector(@task_array);
}
}
sub EVENT_ITEM {
quest::say("I do not need this.");
plugin::return_items(\%itemcount);
}