--- deliantra/server/ext/quest_master.ext 2008/04/24 21:36:21 1.1 +++ deliantra/server/ext/quest_master.ext 2008/09/22 01:33:09 1.5 @@ -13,7 +13,7 @@ name => "Gramp Malone Earhorn", match => ['flag', 'quest_gramp_malones_earhorn'], difficulty => 'be observant', - start => 'Go to the hoves in the south west of scorn, go into the south east house from the four houses and ask the woman and/or grandpa malone about his earhorn. H', + start => 'Go to the hoves in the south west of scorn, go into the south east house from the four houses and ask the woman and/or grandpa malone about his earhorn. H', spoiler_cost => 50000, spoiler => "You will find his earhorn in the tavern \"The Barking Mule\", he left it in a workbench there.", }, @@ -21,7 +21,7 @@ name => "Gramp Malone Walkingstick", match => ['flag', 'quest_gramp_malones_walking_stick'], difficulty => 'be observant', - start => 'Go to the hoves in the south west of scorn, go into the south east house from the four houses and ask the woman and/or grandpa malone about his walking stick. H', + start => 'Go to the hoves in the south west of scorn, go into the south east house from the four houses and ask the woman and/or grandpa malone about his walking stick. H', spoiler_cost => 50000, spoiler => "The walking stick was lost in the four houses called the \"Riverside Manor\" in the south of Scorn. The House to the very south east has a table, beneath it you will find gramps walking stick." }, @@ -35,11 +35,23 @@ spoiler => "You have to find the cave where the Goblin Chief hides. You can find that cave by leaving Scorn through the eastern gate, following the road to the east until see a small footpath going to the north. Follow it and you will find a cave. After some levels of fighting you will come to the final level where you will find the Goblin Chief, which usually looks very similar to usual Goblins. Kill him and grab his head, but be careful not to burn it accidentally. Bring that head to the Hall of Quests in the king's castle in scorn, and enter the first teleporter, where you will be awardened with the rank of 'Hero of Scorn'.", }, { + name => "Wizard Yarid House", + match => ['marker', 'quest_wizard_yarid_house'], + difficulty => 'tricky', + start => "Near the mad mages tower, in the eastern part of Scorn you will find a house with a red roof. It's wizard Yarid's house, he died while experimenting in his basement. Ask his house keeper for more information and explore the dungeon.", + }, + { name => "Mike Miller House", match => ['marker', 'quest_mike_millers_house'], difficulty => 'tricky', start => "In the north west of scorn you will find the 'West Scorn Trademarket', just south from the weapons shop. The first neighbour house to the east of the trademarket, just right next to the street, is Mike Miller's house. Speak to him. H", }, + { + name => "Jeweler Quest", + match => ['flag', 'jeweler_quest_1'], + difficulty => 'tough fighting', + start => "You have to travel to Valleynoy. You find a ship to Valleynoy in Navar. Take it and search the valley of the jeweler town. Go to the welcome house and speak to the old man there." + } ); sub name2quest { @@ -52,7 +64,7 @@ return undef; } -# this is the main command interface for the IPO NPC +# this is the main command interface for the NPC cf::register_script_function "quest_master::talk" => sub { my ($who, $msg, $npc) = @_; my ($cmd, $arguments) = split /\s+/, $msg, 2; @@ -135,13 +147,13 @@ if ($who->pay_amount ($q->{spoiler_cost})) { $who->reply ($npc, "Ok, I received ".cf::cost_string_from_value ($q->{spoiler_cost}) - ." from you. This is the spoiler for the quest " - ."'$q->{name}': $q->{spoiler}" + . " from you. This is the spoiler for the quest " + . "'$q->{name}': $q->{spoiler}" ); } else { $who->reply ($npc, "I'm sorry, but you don't have enough money to pay the spoiler " - ."for the quest '$q->{name}', it would cost you " + . "for the quest '$q->{name}', it would cost you " . cf::cost_string_from_value ($q->{spoiler_cost}) . "." ); } @@ -174,9 +186,10 @@ } else { $who->reply ($npc, <