Niola_Impholder.lua - Quest File
xxxxxxxxxx
1
-- items: 51121, 51122, 13068, 15310, 15332, 18777, 13592, 18902, 1307
2
function event_spawn(e)
3
local xloc = e.self:GetX();
4
local yloc = e.self:GetY();
5
eq.set_proximity(xloc - 50, xloc + 50, yloc - 50, yloc + 50);
6
end
7
8
function event_enter(e)
9
if(e.other:HasItem(18777)) then
10
e.other:Message(15,"As you enter what seems to be a small bedroom, a beautiful High Elf woman looks your way. 'Hello. You have come for training in the ways of the Keepers of the Art? Very good. Please read the note in your inventory and when you are ready to begin, hand it to me.'");
11
end
12
end
13
14
function event_say(e)
15
if(e.message:findi("hail")) then
16
e.self:Say("Greetings, " .. e.other:GetName() .. ". Welcome to the home of the Keepers of the Art. I am in need of spell components. Would you be willing to [fetch] some for me?");
17
elseif(e.message:findi("fetch")) then
18
e.self:Say("What I need are some bat wings for a spell I am researching. If you bring me back four bat wings, I would be willing to reward you with a scroll.");
19
elseif(e.message:findi("trades")) then
20
e.self:Say("I thought you might be one who was interested in the various different trades, but which one would suit you? Ahh, alas, it would be better to let you decide for yourself, perhaps you would even like to master them all! That would be quite a feat. Well, lets not get ahead of ourselves, here, take this book. When you have finished reading it, ask me for the [second book], and I shall give it to you. Inside them you will find the most basic recipes for each trade. These recipes are typically used as a base for more advanced crafting, for instance, if you wished to be a smith, one would need to find some ore and smelt it into something usable. Good luck!");
21
e.other:SummonItem(51121); -- Item: Tradeskill Basics : Volume I
22
elseif(e.message:findi("second book")) then
23
e.self:Say("Here is the second volume of the book you requested, may it serve you well!");
24
e.other:SummonItem(51122); -- Item: Tradeskill Basics : Volume II
25
end
26
end
27
28
function event_trade(e)
29
local item_lib = require("items");
30
31
if(item_lib.check_turn_in(e.trade, {item1 = 13068,item2 = 13068,item3 = 13068,item4 = 13068})) then
32
e.self:Say("Ah yes. These are exactly what I need. Thank you very much.");
33
e.other:SummonItem(eq.ChooseRandom(15310,15332)); -- Item(s): Spell: Flare (15310), Spell: Shield of Fire (15332)
34
e.other:Ding();
35
e.other:Faction(275,2,0); -- Faction: Keepers of the Art
36
e.other:Faction(279,1,0); -- Faction: King Tearis Thex
37
e.other:Faction(246,1,0); -- Faction: Faydarks Champions
38
e.other:Faction(239,-1,0); -- Faction: The Dead
39
e.other:AddEXP(40);
40
elseif(item_lib.check_turn_in(e.trade, {item1 = 18777})) then -- Enrollment Letter
41
e.self:Say("Welcome. I am Niola Impholder. Master Magician of the Keepers of the Art. Here is our guild tunic. Once you are ready to begin your training please make sure that you see Yuin Starchaser, he can assist you in developing your hunting and gathering skills. Return to me when you have become more experienced in our art, I will be able to further instruct you on how to progress through your early ranks, as well as in some of the various [trades] you will have available to you.");
42
e.other:SummonItem(13592); -- Faded Training Robe*
43
e.other:Ding();
44
e.other:Faction(275,100,0); -- Keepers of the Art
45
e.other:Faction(279,25,0); -- King Tearis Thex
46
e.other:Faction(246,15,0); -- Faydark's Champions
47
e.other:Faction(239,-25,0); -- The Dead
48
e.other:AddEXP(100);
49
elseif(item_lib.check_turn_in(e.trade, {item1 = 18902})) then
50
e.self:Say("She is still alive? OH, thank you for this news.");
51
e.other:SummonItem(1307); -- Item: Gossamer Robe
52
e.other:Ding();
53
e.other:AddEXP(30000);
54
end
55
item_lib.return_items(e.self, e.other, e.trade);
56
end
57
58
--END of FILE Zone:felwitheb ID:62021 -- Niola_Impholder
59
Quest Source: 28 May 2022