Tomer_Instogle.pl - Quest File
x
1
##########################################
2
# ZONE: North Qeynos (qeynos2)
3
# DATABASE: PEQ-YKESHA-beta1
4
# LAST EDIT DATE: September 30, 2007
5
# VERSION: 1.1
6
# DEVELOPER: Congdar
7
#
8
# *** NPC INFORMATION ***
9
#
10
# NAME: Tomer Instogle
11
# ID: 2030
12
# TYPE: Monk
13
# RACE: Human
14
# LEVEL: 1
15
#
16
# *** ITEMS GIVEN OR TAKEN ***
17
#
18
# Bag of Provisions ID-20456
19
#
20
# *** QUESTS INVOLVED IN ***
21
#
22
# Tomer's Rescue
23
#
24
# *** QUESTS AVAILABLE TO ***
25
#
26
# Anyone flagged by Seta_Bakindo
27
#
28
############################################
29
# items: 20459
30
31
sub EVENT_SAY {
32
# You must be flagged by Seta_Bakindo for this quest
33
if($FindTomer == 1) {
34
if($text=~/Hail/i) {
35
quest::say("Ahhhgggg.. Those mangy [dogs] put up a tough fight.. If I don't make it back to the [Clan House] soon, it'll all be over for me.");
36
}
37
if($text=~/dogs/i or $text=~/mutts/i) {
38
quest::say("It's those Darkpaws.. They've beat me pretty badly.. but they'll get theirs soon enough!");
39
}
40
if($text=~/clan house/i) {
41
quest::say("I am a new member of the Silent Fist Clan.. I need someone from my guild to help me find my way back.");
42
}
43
if($text=~/Seta sent me to find you/i) {
44
quest::say("Oh.. Thank goodness you found me.. I'm lost and weak, those [mutts] are a vicious lot.. an you carry my [backpack] for me?");
45
}
46
if($text=~/backpack/i) {
47
# This flag is set by Seta_Bakindo
48
quest::say("Thank you, friend.. Now, can you [lead me back to Master Seta] of the Silent Fist Clan? ");
49
# Bag of Provisions ID-20456
50
quest::summonitem("20459");
51
}
52
if($text=~/lead you back to master seta/i) {
53
quest::say("Lead the way, and I shall follow. When we make it back, please inform Seta that you have rescued me.");
54
# Initialize flag to Seta_Bakindo for this player
55
quest::targlobal("SetaTomer", 1, "M30", 2086, $charid, $zoneid);
56
# Have Tomer follow this player
57
quest::follow($userid);
58
}
59
}
60
# You must have the updated flag from Seta_Bakindo for this part quest
61
elsif($FindTomer == 2) {
62
if($text=~/Hail/i) {
63
quest::say("Yes, he saved my life.. I owe him much thanks. Please return my pack to me now, good friend.");
64
}
65
}
66
}
67
68
sub EVENT_ITEM {
69
# You must have the updated flag by Seta_Bakindo and have Tomer's Bag of Provisious ID-20459 to complete this quest
70
if($FindTomer == 2 && plugin::check_handin(\%itemcount, 20459 => 1)) {
71
quest::ding();
72
quest::say("Oh, you have the makings of a true hero.. The Silent Fist Clan is proud to have you as ally. May your soul guide and protect you through these chaotic times.");
73
quest::exp("100");
74
75
quest::faction(309,35); # Silent Fist Clan faction
76
quest::faction(262,5); # Guards of Qeynos
77
quest::faction(361,1); # Ashen Order faction
78
79
# We are finished with this flag set by Seta_Bakindo
80
quest::delglobal("FindTomer");
81
$FindTomer=undef;
82
# Release Tomer from following the player... he will walk back to his spawn point
83
quest::sfollow();
84
}
85
}
86
# END of FILE Zone:qeynos2 ID:2030 -- Tomer_Instogle
87
Quest Source: 28 May 2022