Delival.pl - Quest File
xxxxxxxxxx
1
# items: 4478, 4460, 12000
2
sub EVENT_SPAWN {
3
quest::say("Well thank heavens you're finally home, perhaps I should think twice before sending you out alone next time, little one. Thank you so much for bringing her back, my friend. Looks like she managed to talk you into carrying the buttons for her as well.");
4
quest::settimer("depop",300);
5
}
6
7
sub EVENT_SIGNAL {
8
if($signal==1) {
9
quest::emote("sighs and says, 'My hands are full right now hon.' Delival looks your way curiously and asks, 'I don't suppose you would want to [tuck] her in for me if I give you a blanket?'");
10
}
11
if($signal==2) {
12
quest::say("Yes, yes, goodnight now sweetheart.");
13
quest::depop();
14
}
15
}
16
17
sub EVENT_SAY {
18
if($text=~/tuck/i) {
19
quest::say("Thank you again, have been a great help. Here is her favorite blanket, just give it to her and she should be fine. G'night Shainai.");
20
quest::ding();
21
quest::summonitem(4478); # Item: Shainai's Blanket
22
}
23
}
24
25
sub EVENT_ITEM {
26
if(plugin::check_handin(\%itemcount, 4460 => 1)) {
27
quest::say("Well I wish there was more I could do to repay you. Take this old compass and what change I can spare with my most sincere thanks. Now off to bed Shainai, you have had a busy day.");
28
quest::ding();
29
quest::summonitem(12000); # Item: Compass
30
quest::exp(100);
31
quest::givecash(12,9,0,0);
32
quest::faction(1513,5); #Guardian of Shar Vahl
33
quest::signalwith(155339,1,10); # NPC: Shainai
34
}
35
plugin::return_items(\%itemcount);
36
}
37
38
sub EVENT_TIMER {
39
if ($timer eq "depop") {
40
quest::stoptimer("depop");
41
quest::depop();
42
}
43
}
44
Quest Source: 28 May 2022