PDA

View Full Version : Dark Elf Cleric Newbie Armor Quests


gatorman
02-02-2008, 07:15 AM
This is my first submission for quests...

This is the .pl code for High Priestess Alexandria in Neriakc:


sub EVENT_SAY {

if($text=~/Hail/i) {

quest::say("Greetings child, what business do you have here? I'm sorry but I will only deal with Clerics that are willing to prove their loyalty to Innoruuk. I cannot deal with every single heathen that feels it is necessary to bid me a good day. If you are a [Cleric of Innoruuk] I might be able to aid you in your training.");

}

if(($text=~/Cleric of Innoruuk/i&&$class eq 'Cleric' && $race eq 'Dark Elf')) {

quest::say("Is that so $race $name. Well from the looks of you I wouldn't say you are much of anything yet. However, if you have the willingness and determination to serve your God then there might just be more hope for you then I would have thought. Obviously, to move forward in your training, you will need to shield yourself from your enemies and from the elements. I believe I have something that could help you if you are still [interested in proving yourself]");
}

if(($text=~/interested in proving myself/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("Well I must say that I am impressed by your eagerness to learn, however, you are not the first and will not be the last I am sure that has sworn devotion to our Lord Innoruuk. Lets just hope you don't end up in the burial grounds where many promising young ones before you have found their resting place. If you are ready to begin gathering items to fashion your very own Initiate Darkpriest Armor then I will present you with a [magical relic].");

}


if(($text=~/magical relic/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("I have a box that I have been keeping for quite some time and have been waiting to present it to someone like yourself. Someone that I had faith would be strong enough to use it's power to their benefit. This magical box can be used to refine certain metals into a magical compound that is used in crafting Initiate Darkpriest armor pieces. I have the molds necessary to craft Initiate Darkpriest [Helms], [Bracers], [Boots], [Armguards], [Greaves], [Gauntlets] and [Breastplates]. However there are some [important items] that you will need to collect before the molds will be of any use to you. One thing to keep in mind is that I suggest you craft your Breastplate last due to the difficulty of obtaining the items needed for that specific recipe.");
quest::summonitem('17245'); # Dark Blessed Box

}

if(($text=~/important items/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("There are certain items that will need to be gathered in our great city of Neriak along with many different things gathered outside in the Forest of Nektulos, where most of your training will take place. The most important component that you will need to collect while adventuring in the forest are Helms that are only worn by Priests of Rodcet Nife. These vile creatures have set up camp in the forest from what I have heard and it is your responsibility to find and execute them. These helms will be your most important component that you will gather because it is used in all [armor recipes] as the metal that you will forge your armor with.");

}

if(($text=~/armor recipes/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("Ah of course , I almost forgot that you will need to know what items to combine in the Dark Blessed Box that I presented you with. Simply tell me the armor piece that you wish to craft and I will give you the list of items that you will need to combine, along with the applicable mold. For example, should you want to craft a Helm first you would say, I want to craft a Initiate Darkpriest`s Helm. Please remember that the exact items must be combined in exact quantities in the box or the infusion will not take place. After you have combined together the items necessary to infuse your metal the correct way, you will need to take the Refined sheet of Holy Metal to the nearest forge and combine it with the correct mold to yield your armor piece.");
}


if(($text=~/Armguards/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("Excellent $name! To create the correct compound in your Dark Blessed Box that will be need to be placed into a forge with this mold to craft your Initiate Darkpriest's Armguards you will need to collect and combine the following items. 3 Helms of the Lifebringer, 1 Garter Snake Tongue, 2 Ash Drakeling Scales and 2 Grapes.");
quest::summonitem('22613'); # An Enchanted Armguard Mold
}


if(($text=~/Boots/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("I would definitely agree that you will need some decent Boots if you wish to last long in any extreme climates like Lavastorm! Combine 2 Helms of the Lifebringer, 2 Fire Beetle Legs and 2 Flasks of Water to fashion the correct Refined sheet of Holy Metal. Once you have done this place the Refined sheet of Holy Metal along with this mold in any forge to craft your Initiate Darkpriest's Boots.");
quest::summonitem('22612'); # An Enchanted Boot Mold
}


if(($text=~/Bracer/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("To fashion your own Initiate Darkpriest's Bracer you will need to collect 1 Helm of the Lifebringer, 1 Orc Scalp, 1 Snake Egg and 1 Red Wine. Combine these in your box to create the correct Refined sheet of Holy Metal that you will place in any forge along with this mold to craft your Initiate Darkpriest`s Bracer.");
quest::summonitem('22611'); # An Enchanted Bracer Mold
}


if(($text=~/Breastplate/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("So, the time has come for you to gather the items necessary for your most important piece of Armor Branaddar. You will need to combine 5 Helms of the Lifebringer, 1 Deathfist Templar Scalp, 1 Embalming Dust, 1 Matted Halfling Hide and 1 Woven Grass Amulet. Once you have prepared this final Refined sheet of Holy Metal place it in a forge along with this mold to craft your Initiate Darkpriest's Breastplate. After you have done this return to me when you are ready for your final test of loyalty.");
quest::summonitem('22616'); # An Enchanted Breastplate mold

}

if(($text=~/Gauntlets/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("To fashion your own Initiate Darkpriest's Gauntlets you will need to collect 3 Helms of the Lifebringer, 1 Halfling Blood, 1 Leatherfoot Raiders Skullcap, 1 snake scales and 1 glass shard. Combine these in your Box to create the correct Refined sheet of Holy Metal that you will place in any forge along with this mold to craft your Initiate Darkpriest's Gauntlets.");
quest::summonitem('22615'); # An Enchanted Gauntlet Mold

}


if(($text=~/Greaves/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("Take this mold $name. You will need to place this in a Forge along with the correct Refined sheet of Holy Metal to craft your Initiate Darkpriest's Greaves. The correct Refined sheet of Holy Metal for these greaves can be fashioned by combining 4 Helms of the Lifebringer, 2 Spiderling Eyes, 2 Deathfist Legionairre Scalps and 1 bottle of kalish.");
quest::summonitem('22614'); # An Enchanted Greave Mold
}

if(($text=~/Helm/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("A Helm you say $name? This should be a good test for you to see if you are able to gather the correct items and annihilate those disgusting clerics that follow that worthless God Rodcet Nife. Seek out 1 Helm of the Lifebringer, 1 Low Quality Wolf Skin, 1 Black Mamba Skin and 1 Short Ale. After you have combined these in your Dark Blessed Box take your Refined sheet of Holy Metal along with this mold to the nearest forge to craft your very own Initiate Darkpriest`s Helm.");
quest::summonitem('22610'); # An Enchanted Helm Mold
}


if(($text=~/final test/i&&$class eq 'Cleric' && $race eq 'Dark Elf'))
{
quest::say("Well, I must say that I did not expect you to progress in your training at the rate you have. I also knew there was something that separated you from our other initiates. For your final test, I will need you to collect journal pages from the Ultricle. Provide me with three journal pages to receive your reward. You have come too far to fail me now. I hope to see you soon...alive, that is.");
}

}

sub EVENT_ITEM {

if (plugin::check_handin(\%itemcount, 22617 => 1, 22618 => 1, 22619 => 1)) {

quest::say("Your prowess both in the classroom and on the battlefield has certainly amazed me. Please take this relic that is only presented to the most dedicated initiates and carry it with pride. You have made your house very proud on this day.");

quest::summonitem(22698); #Mace of the Darkpriest

}



else {

quest::say("$name, I don't need this."); #text made up

plugin::return_items(\%itemcount);

return 1;

}

}



# Quest by Blaz - Dark Elf Cleric Newbie Armor quests


The SQL inserts code will be in a different thread... since it was too large for this message...

-Blaz

gatorman
02-02-2008, 07:16 AM
Now for the SQL tradeskill_recipe inserts:

INSERT INTO `tradeskill_recipe` (VALUES 9751,"Holy Metal Bracer Material",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9752,"Initiate Darkpriest Bracer",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9753,"Holy Metal Breastplate Material",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9754,"Initiate Darkpriest Breastplate",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9755,"Holy Metal Armguard Material",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9756,"Initiate Darkpriest Armguards",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9757,"Holy Metal Boot Material",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9758,"Initiate Darkpriest Boots",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9759,"Holy Metal Gauntlet Material",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9760,"Initiate Darkpriest Gauntlets",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9761,"Holy Metal Helm Material",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9762,"Initiate Darkpriest Helm",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES 9763,"Holy Metal Greaves Material",63,0,0,1,0,"Blaz");
INSERT INTO `tradeskill_recipe` (VALUES (9764,"Initiate Darkpriest Greaves",63,0,0,1,0,"Blaz");


And the tradeskill_recipe_entries inserts:

INSERT INTO `tradeskill_recipe_entries` VALUES (124314,9752,22648,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124315,9752,22604,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124316,9752,22611,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124317,9752,17,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124322,9751,13030,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124323,9751,13088,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124324,9751,13791,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124325,9751,22601,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124326,9751,22648,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124327,9751,17245,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124328,9753,22601,0,0,5,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124329,9753,16173,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124330,9753,16990,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124331,9753,22572,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124332,9753,14550,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124333,9753,22653,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124334,9753,17245,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124351,9754,22616,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124352,9754,22653,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124353,9754,22609,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124354,9754,17,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124355,9755,22601,0,0,3,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124356,9755,16168,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124357,9755,19575,0,0,2,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124358,9755,16592,0,0,2,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124359,9755,22650,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124360,9755,17245,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124361,9756,22613,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124362,9756,22650,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124363,9756,22606,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124364,9756,17,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124367,9757,22601,0,0,2,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124368,9757,13250,0,0,2,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124369,9757,13006,0,0,2,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124370,9757,22649,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124371,9757,17245,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124380,9759,22601,0,0,3,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124381,9759,22645,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124382,9759,22652,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124383,9759,13113,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124384,9759,16903,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124385,9759,13070,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124386,9759,17245,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124389,9760,22608,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124390,9760,22615,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124391,9760,22652,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124392,9760,17,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124395,9761,22602,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124396,9761,22601,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124397,9761,13753,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124398,9761,16166,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124399,9761,13018,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124400,9761,17245,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124403,9762,22602,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124404,9762,22610,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124405,9762,22603,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124406,9762,17,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124409,9763,22601,0,0,4,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124410,9763,13253,0,0,2,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124411,9763,16172,0,0,2,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124412,9763,13016,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124413,9763,22651,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124414,9763,17245,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124417,9764,22651,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124418,9764,22607,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124419,9764,22614,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124420,9764,17,0,0,0,1);
INSERT INTO `tradeskill_recipe_entries` VALUES (124421,9758,22649,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124422,9758,22612,0,0,1,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124423,9758,22605,1,0,0,0);
INSERT INTO `tradeskill_recipe_entries` VALUES (124424,9758,17,0,0,0,1);


Hopefully that is all that is needed!

-Blaz

cavedude
02-02-2008, 08:14 AM
Thank you! Submitted. One step closer to getting all of the noob armor quests done!