Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
Cain_Darkmoore.lua - Quest File
General Info
Quest File
-- items: 51121, 51122, 13916, 18748, 13572 function event_spawn(e) local xloc = e.self:GetX(); local yloc = e.self:GetY(); eq.set_proximity(xloc - 50, xloc + 50, yloc - 50, yloc + 50); end function event_enter(e) if(e.other:HasItem(18748) == true) then e.other:Message(15,"A deep booming voice breaks the silence of the room as you get your bearings. 'Step forward young recruit. I am Cain Darkmoore, Guild Master of the Army of Steel. Read the note in your inventory and hand it to me when you are ready to begin your training. Of course if you are to afraid, I saw an Elf handing out flutes at the bards' Guild this morning.'"); end end function event_say(e) if(e.message:findi("hail")) then e.self:Say("Hail, " .. e.other:GetName() .. " We are the Steel Warriors of Freeport. Our training disciplines have created some of the finest warriors ever to walk upon Norrath. Perhaps the bards shall sing songs of you one day. Let your first mission be the extermination of [Clan Deathfist]."); elseif(e.message:findi("clan deathfist")) then e.self:Say("The orcs of the Commonlands call themselves Clan Deathfist. They have committed many vile acts upon the residents of the Commonlands as well as persons traveling to and from Freeport. They must be destroyed. Go forth to slay them. I shall pay a bounty for every two Deathfist belts. If you are a true warrior of the bunker. perhaps you can begin with [the green and blue]."); elseif(e.message:findi("bigger problem")) then e.self:Say("The bigger problem is the Freeport Militia. Go to the Hall of Truth and speak with the Knights of Truth about that. They have already started their campaign to rid the city of the militia. The so-called Freeport Militia is not to be trusted."); elseif(e.message:findi("trades")) then 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!"); e.other:SummonItem(51121); -- Item: Tradeskill Basics : Volume I elseif(e.message:findi("second book")) then e.self:Say("Here is the second volume of the book you requested, may it serve you well!"); e.other:SummonItem(51122); -- Item: Tradeskill Basics : Volume II elseif(e.message:findi("green and blue")) then if(e.other:Class() == "Warrior") then e.self:Say("The green and blue was a test for all skilled warriors. All one needed do was return to me four orc legionnaire shoulderpads. Two from the loathsome green skinned Deathfist Clan and two from the vile blue skinned Crushbone Clan. But we have no more bunker battle blades to spare. We must prepare for war!!"); end end end function event_trade(e) local item_lib = require("items"); if(item_lib.check_turn_in(e.trade, {item1 = 13916,item2 = 13916})) then -- Deathfist Slashed Belt x 2 e.self:Say("Very fine work " .. e.other:GetName() .. ". With your help, we shall soon rid the commonlands of the orcs. Then we can move on to a [bigger problem]."); e.other:Ding(); e.other:Faction(330,-1,0); -- Freeport Militia e.other:Faction(311,1,0); -- Steel Warriors e.other:Faction(281,1,0); -- Knights of Truth e.other:AddEXP(100); e.other:GiveCash(0,0,8,0); elseif(item_lib.check_turn_in(e.trade, {item1 = 18748})) then -- A Tattered Note e.self:Say("Welcome to the Steel Warriors, young warrior. It is time to prove your mettle. Look to the outskirts of Freeport and join the fray. Show Clan Deathfist what a warrior of the bunker can do. Once you are ready to begin your training please make sure that you see Arinna Trueblade, she 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."); e.other:SummonItem(13572); -- Dirty Training Tunic e.other:Ding(); e.other:Faction(311,100,0); -- Steel Warriors e.other:Faction(262,20,0); -- Guards of Qeynos e.other:Faction(230,-15,0); -- Corrupt Qeynos Guards e.other:Faction(330,-15,0); -- Freeport Militia e.other:Faction(281,20,0); -- Knights of Truth e.other:AddEXP(100); end item_lib.return_items(e.self, e.other, e.trade); end --END of FILE Zone:freportw -- Cain_Darkmoore
Source: 17 Jan 2022
Quest Source: 28 May 2022