Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sub EVENT_SAY {
- $charid = 0;
- $corpse = 0;
- $charid = $client->CharacterID();
- my $link1 = quest::saylink("Draco",1);
- if($text=~/hail/i) {
- if(defined quest::get_data($client->CharacterID()."_Stage1Sleeper") && defined quest::get_data($client->CharacterID()."_Stage2Sleeper") && defined quest::get_data($client->CharacterID()."_Stage3Sleeper") && defined $qglobals{"Stage4Sleeper"} && defined $qglobals{"Stage5Sleeper"}) {#CHANGEME
- plugin::Whisper("So you beat them? That is amazing! I can now go ahead and upgrade your weapons from An Ancient One , be sure you remove the augs from it before you hand it to me! You might also now be looked at as a Member of the Council of [$link1]");
- quest::set_data($client->CharacterID()."_SleeperPhase1Completed", 1);#CHANGEME
- }
- if($text=~/Draco/i) {
- if(!defined quest::get_data($client->CharacterID()."_DracoFaction") && defined quest::get_data($client->CharacterID()."_SleeperPhase1Completed")) {#CHANGEME
- plugin::Whisper("Very good yes , you have been approved by the Council to purchase some of my wares.");
- $client->SetFactionLevel2($charid, 5030, -1, -1, -1, 400);
- quest::set_data($client->CharacterID()."_DracoFaction", 1);#CHANGEME
- }
- if($text=~/Draco/i) {
- if(defined quest::get_data($client->CharacterID()."_DracoFaction")) {#CHANGEME
- plugin::Whisper("I've done all I can do for you");
- }
- }
- else {
- plugin::Whisper("You need stagee 1-5 sleeper missions to activate my features.");
- }
- }
- sub EVENT_ITEM {
- if (!defined quest::get_data($client->CharacterID()."_SleeperPhase1Completed") && !defined quest::get_data($client->CharacterID()."_DracoFaction") && plugin::check_handin(\%itemcount, 100811 => 1) ) {#CHANGEME
- plugin::Whisper("Well, you must know someone important, you can now view my wares and turn in your old weapon for a new one.");
- $client->SetFactionLevel2($charid, 5030, -1, -1, -1, 400);
- quest::set_data($client->CharacterID()."_DracoFaction", 1, "F");#CHANGEME
- quest::set_data($client->CharacterID()."_Stage1Sleeper", 1, "F");#CHANGEME
- quest::set_data($client->CharacterID()."_Stage2Sleeper", 1, "F");#CHANGEME
- quest::set_data($client->CharacterID()."_Stage3Sleeper", 1, "F");#CHANGEME
- quest::set_data($client->CharacterID()."_Stage4Sleeper", 1, "F");#CHANGEME
- quest::set_data($client->CharacterID()."_Stage5Sleeper", 1, "F");#CHANGEME
- quest::set_data($client->CharacterID()."_SleeperPhase1Completed", 1);#CHANGEME
- if (defined quest::get_data($client->CharacterID()."_SleeperPhase1Completed") && plugin::check_handin(\%itemcount, 100728 => 1) ) {#CHANGEME
- plugin::Whisper("You were very brave to defeat the five solo trials , here is your new weapon!");
- plugin::Emote("reaches into her pack and pulls out a " . quest::varlink(100753) . ".");
- quest::summonitem(100753);
- quest::set_data($client->CharacterID()."_SwappedSTWarsword", 1);#CHANGEME
- if (defined quest::get_data($client->CharacterID()."_SleeperPhase1Completed") && plugin::check_handin(\%itemcount, 100729 => 1) ) {#CHANGEME
- plugin::Whisper("You were very brave to defeat the five solo trials , here is your new weapon!");
- plugin::Emote("reaches into her pack and pulls out a " . quest::varlink(100754) . ".");
- quest::summonitem(100754);
- quest::set_data($client->CharacterID()."_SwappedSTClaymore", 1);#CHANGEME
- if (defined quest::get_data($client->CharacterID()."_SleeperPhase1Completed") && plugin::check_handin(\%itemcount, 100730 => 1) ) {#CHANGEME
- plugin::Whisper("You were very brave to defeat the five solo trials , here is your new weapon!");
- plugin::Emote("reaches into her pack and pulls out a " . quest::varlink(100755) . ".");
- quest::summonitem(100755);
- quest::set_data($client->CharacterID()."_SwappedSTBow", 1);#CHANGEME
- if (defined quest::get_data($client->CharacterID()."_SleeperPhase1Completed") && plugin::check_handin(\%itemcount, 100731 => 1) ) {#CHANGEME
- plugin::Whisper("You were very brave to defeat the five solo trials , here is your new weapon!");
- plugin::Emote("reaches into her pack and pulls out a " . quest::varlink(100756) . ".");
- quest::summonitem(100756);
- quest::set_data($client->CharacterID()."_SwappedSTFists", 1);#CHANGEME
- if (defined quest::get_data($client->CharacterID()."_SleeperPhase1Completed") && plugin::check_handin(\%itemcount, 100732 => 1) ) {#CHANGEME
- plugin::Whisper("You were very brave to defeat the five solo trials , here is your new weapon!");
- plugin::Emote("reaches into her pack and pulls out a " . quest::varlink(100757) . ".");
- quest::summonitem(100757);
- quest::set_data($client->CharacterID()."_SwappedSTBoStaff", 1);#CHANGEME
- if (defined quest::get_data($client->CharacterID()."_SleeperPhase1Completed") && plugin::check_handin(\%itemcount, 100733 => 1) ) {#CHANGEME
- plugin::Whisper("You were very brave to defeat the five solo trials , here is your new weapon!");
- plugin::Emote("reaches into her pack and pulls out a " . quest::varlink(100758) . ".");
- quest::summonitem(100758);
- quest::set_data($client->CharacterID()."_SwappedSTWand", 1);#CHANGEME
- if (defined quest::get_data($client->CharacterID()."_SleeperPhase1Completed") && plugin::check_handin(\%itemcount, 100734 => 1) ) {#CHANGEME
- plugin::Whisper("You were very brave to defeat the five solo trials , here is your new weapon!");
- plugin::Emote("reaches into her pack and pulls out a " . quest::varlink(100759) . ".");
- quest::summonitem(100759);
- quest::set_data($client->CharacterID()."_SwappedSTShiv", 1);#CHANGEME else {
- plugin::return_items(\%itemcount);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement