Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
Elder_Scout_Kyth_Lar.pl - Quest File
General Info
Quest File
## $Shar_Vahl_Cit tracks the steps you take to gain your initiate cloak. ## Since we don't want to hand people things that they can't normally get, or ## stuff they haven't earned, we need to track which stage in the quest they ## are at. 1 = Citizen Application. 2 = Cert. of Taxability, 3 = Stamped Cert., ## 4 = Note to King Raja, 5 Note 'from' the king, 6 = Notarized Application ## and 7 = Initiate's Cloak. # items: 2873, 2878, 18554, 2897 sub EVENT_SAY { if ($text=~/hail/i) { quest::say("Well met, friend. May I be of assistance?"); } ##Non-canon, for fixmes if you lose certain items (which are needed for this quest line and others). ##No idea if Live does this now or not. If these do exist there, feel free to adjust it. if (($text=~/application/i) && ($qglobals{Shar_Vahl_Cit} == 1)) { quest::say("Luckily for you someone found it."); quest::summonitem(2873); # Item: Application for Citizenship } if (($text=~/cloak/i) && ($qglobals{Shar_Vahl_Cit} == 7)) { quest::say("Someone found this in a scorpion nest down in the pit. Try not to lose it this time."); quest::summonitem(2878); # Item: Initiate's Cloak of Shar Vahl } } sub EVENT_ITEM { if (plugin::check_handin(\%itemcount, 18554 => 1)) { #A Taruun Guild Summons ## We don't care at this point who gives you the application, cloak, etc. ## Only later, when we get into class specific quests will the person you ## come to, in order to recover lost items, matter. ## Using "all npc, this player, and all zones", since some later stuff in ## the class quest lines, linked to the cloak, are in other zones, should we ## use this to track cloak progress as well. quest::setglobal("Shar_Vahl_Cit", 1, 5, "F"); quest::summonitem(2873); #Application for Citizenship } if (plugin::check_handin(\%itemcount, 2897 => 1)) { #Notorized Application quest::say("Allow me to be the first to welcome you. Accept this cloak, young initiate. It is a symbol of your loyalty to our noble people. May it serve you as you serve us all. Present your acrylia slate to Harbin Gernawl and he will give you instruction. May the spirits of the beasts guide you and keep you safe."); quest::summonitem(2878); # Item: Initiate's Cloak of Shar Vahl quest::setglobal("Shar_Vahl_Cit", 7, 5, "F"); } plugin::try_tome_handins(\%itemcount, $class, "Rogue"); plugin::return_items(\%itemcount); } #END of FILE Zone:sharvahl ID:155253 -- Elder_Scout_Kyth_Lar
Source: 17 Jan 2022
Quest Source: 28 May 2022