EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=634)
-   -   Giant Helmuts - Icewell Keep (https://www.eqemulator.org/forums/showthread.php?t=21530)

Aramid 09-16-2006 07:16 AM

Giant Helmuts - Icewell Keep
 
Here's a simple quest. Turn in 4 Giant Helms from Kael to Chamberlain Krystorf in Icewell Keep to get Increase your Faction with Coldain and Dain Frostweaver IV and decrease your Faction with Tormax.

Code:

# Increase Dain Frostweaver IV - Coldain Faction Quest
# Decrease Tormax Faction
# Chamberlain Krystorf
# Icewell Keep (ThurgadinB)
# Aramid - September 2006

sub EVENT_SAY {
 if($text=~/Hail/i){
  quest::say("Greetings and welcome to Thurgadin, $name. I am Chamberlain Krystorf and it is my duty to assist the Dain in the management of Icewell Keep and the Royal Court. One could say that Seneschal Aldikar is the Sword of the Dain while I am the Shield, protecting all of his interests and those of the kingdom.");
  }
}

sub EVENT_ITEM {
    if ($itemcount{29062} == 4) {
    quest::say("Well done, $name, the Dain is pleased with your efforts. With a few more brave allies like you, we'll soon be tearing down the halls of Kael Drakkel.");
    quest::faction(49,20);
    quest::faction(461,20);
    quest::faction(179,-10);
    quest::exp(10000);
    quest::givecash(0,0,0,20);
  }
  elsif ($itemcount{29062} == 3) {
    quest::say("For storage reasons I'm afraid I can only accept four of these at once for the bounty.");
    quest::summonitem(29062);
    quest::summonitem(29062);
    quest::summonitem(29062);
    }
  elsif ($itemcount{29062} == 2) {
    quest::say("For storage reasons I'm afraid I can only accept four of these at once for the bounty.");
    quest::summonitem(29062);
    quest::summonitem(29062);
    }
  elsif ($itemcount{29062} == 1) {
    quest::say("For storage reasons I'm afraid I can only accept four of these at once for the bounty.");
    quest::summonitem(29062);
  }
}

#END of FILE Zone:thurgadinb  ID:129028 -- Chamberlain_Krystorf

I had to add Dain Frostweaver IV faction to my DB, so if you need it, here is the code for that. I just mimicked Coldain and the next available number in my faction_list was 461.
Code:

INSERT INTO faction_list VALUES (461,'Dain Frostweaver IV',-25,25,25,50,0,-100,0,0,0,-25,0,-100,0,0,0,0,100,100,100,250,250,-150,250,1000,-250,-250,300,350,-1000,-1000,-500,-500,-250,-250,0,-1000,0,-500,150,-500,25,50,0,-500,25,0,25,25,25,0,0,25,0);


All times are GMT -4. The time now is 12:58 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.