mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
[poi] Script cleanup (#1419)
This commit is contained in:
parent
06bcb6d1ea
commit
e4bc1df9df
2 changed files with 102 additions and 102 deletions
|
|
@ -1,103 +1,103 @@
|
|||
sub EVENT_SPAWN {
|
||||
$counter=0;
|
||||
quest::spawn_condition($zonesn,1,0);
|
||||
quest::settimer(1,120);
|
||||
my $counter;
|
||||
|
||||
sub EVENT_SPAWN {
|
||||
$counter = 0;
|
||||
quest::spawn_condition($zonesn, 1, 0);
|
||||
quest::settimer(1, 120);
|
||||
}
|
||||
|
||||
sub EVENT_TIMER {
|
||||
quest::spawn_condition($zonesn,1,1);
|
||||
|
||||
quest::spawn_condition($zonesn, 1, 1);
|
||||
}
|
||||
|
||||
sub EVENT_SIGNAL {
|
||||
if($signal == 1) {
|
||||
$counter += 1;
|
||||
}
|
||||
if($counter == 8 ) {
|
||||
quest::spawn2(206077,0,0,-266,-879,3,4); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-314,-880,3,510); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-406,-783,3,130); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206077,0,0,-405,-735,3,126); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-312,-644,3,250); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-263,-642,3,254); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206079,0,0,-171,-734,3,376); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-172,-785,3,386); # NPC: a_manaetic_device
|
||||
}
|
||||
if($counter == 16 ) {
|
||||
quest::spawn2(206078,0,0,-266,-879,3,4); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-314,-880,3,510); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-406,-783,3,130); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-405,-735,3,126); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206077,0,0,-312,-644,3,250); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-263,-642,3,254); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-171,-734,3,376); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206077,0,0,-172,-785,3,386); # NPC: a_manaetic_contraption
|
||||
}
|
||||
if($counter == 24 ) {
|
||||
quest::spawn2(206077,0,0,-266,-879,3,4); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206077,0,0,-314,-880,3,510); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206079,0,0,-406,-783,3,130); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206079,0,0,-405,-735,3,126); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-312,-644,3,250); # NPC: a_manaetic_device
|
||||
quest::spawn2(206078,0,0,-263,-642,3,254); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-171,-734,3,376); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-172,-785,3,386); # NPC: a_manaetic_device
|
||||
}
|
||||
if($counter == 32 ) {
|
||||
quest::spawn2(206078,0,0,-266,-879,3,4); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-314,-880,3,510); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206079,0,0,-406,-783,3,130); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-405,-735,3,126); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-312,-644,3,250); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-263,-642,3,254); # NPC: a_manaetic_device
|
||||
quest::spawn2(206078,0,0,-171,-734,3,376); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-172,-785,3,386); # NPC: a_manaetic_gadget
|
||||
}
|
||||
if($counter == 40 ) {
|
||||
quest::spawn2(206082,0,0,-266,-879,3,4); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206083,0,0,-314,-880,3,510); # NPC: a_manaetic_device
|
||||
quest::spawn2(206082,0,0,-406,-783,3,130); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206084,0,0,-405,-735,3,126); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206082,0,0,-312,-644,3,250); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206084,0,0,-263,-642,3,254); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206082,0,0,-171,-734,3,376); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206083,0,0,-172,-785,3,386); # NPC: a_manaetic_device
|
||||
}
|
||||
if($counter == 48 ) {
|
||||
if ($signal == 1) {
|
||||
$counter += 1;
|
||||
}
|
||||
if ($counter == 8) {
|
||||
quest::spawn2(206077,0,0,-266,-879,3,4); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-314,-880,3,510); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-406,-783,3,130); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206077,0,0,-405,-735,3,126); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-312,-644,3,250); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-263,-642,3,254); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206079,0,0,-171,-734,3,376); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-172,-785,3,386); # NPC: a_manaetic_device
|
||||
}
|
||||
elsif ($counter == 16) {
|
||||
quest::spawn2(206078,0,0,-266,-879,3,4); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-314,-880,3,510); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-406,-783,3,130); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-405,-735,3,126); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206077,0,0,-312,-644,3,250); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-263,-642,3,254); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-171,-734,3,376); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206077,0,0,-172,-785,3,386); # NPC: a_manaetic_contraption
|
||||
}
|
||||
elsif($counter == 24) {
|
||||
quest::spawn2(206077,0,0,-266,-879,3,4); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206077,0,0,-314,-880,3,510); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206079,0,0,-406,-783,3,130); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206079,0,0,-405,-735,3,126); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-312,-644,3,250); # NPC: a_manaetic_device
|
||||
quest::spawn2(206078,0,0,-263,-642,3,254); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-171,-734,3,376); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-172,-785,3,386); # NPC: a_manaetic_device
|
||||
}
|
||||
elsif ($counter == 32) {
|
||||
quest::spawn2(206078,0,0,-266,-879,3,4); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-314,-880,3,510); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206079,0,0,-406,-783,3,130); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-405,-735,3,126); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-312,-644,3,250); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-263,-642,3,254); # NPC: a_manaetic_device
|
||||
quest::spawn2(206078,0,0,-171,-734,3,376); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-172,-785,3,386); # NPC: a_manaetic_gadget
|
||||
}
|
||||
elsif ($counter == 40) {
|
||||
quest::spawn2(206082,0,0,-266,-879,3,4); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206083,0,0,-314,-880,3,510); # NPC: a_manaetic_device
|
||||
quest::spawn2(206082,0,0,-406,-783,3,130); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206084,0,0,-405,-735,3,126); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206082,0,0,-312,-644,3,250); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206084,0,0,-263,-642,3,254); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206082,0,0,-171,-734,3,376); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206083,0,0,-172,-785,3,386); # NPC: a_manaetic_device
|
||||
}
|
||||
elsif ($counter == 48) {
|
||||
quest::spawn2(206080,0,0,-289,-760,2,500); # NPC: #Assistant_Kelrig
|
||||
}
|
||||
if($counter == 56 ) {
|
||||
quest::spawn2(206078,0,0,-266,-879,3,4); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-314,-880,3,510); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-406,-783,3,130); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-405,-735,3,126); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-312,-644,3,250); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-263,-642,3,254); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-171,-734,3,376); # NPC: a_manaetic_device
|
||||
quest::spawn2(206078,0,0,-172,-785,3,386); # NPC: a_manaetic_device
|
||||
}
|
||||
if($counter == 64 ) {
|
||||
quest::spawn2(206078,0,0,-266,-879,3,4); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-314,-880,3,510); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-406,-783,3,130); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-405,-735,3,126); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206077,0,0,-312,-644,3,250); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-263,-642,3,254); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-171,-734,3,376); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206077,0,0,-172,-785,3,386); # NPC: a_manaetic_contraption
|
||||
}
|
||||
if($counter == 72 ) {
|
||||
quest::spawn2(206082,0,0,-266,-879,3,4); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206083,0,0,-314,-880,3,510); # NPC: a_manaetic_device
|
||||
quest::spawn2(206082,0,0,-406,-783,3,130); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206084,0,0,-405,-735,3,126); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206082,0,0,-312,-644,3,250); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206084,0,0,-263,-642,3,254); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206082,0,0,-171,-734,3,376); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206083,0,0,-172,-785,3,386); # NPC: a_manaetic_device
|
||||
}
|
||||
if($counter == 80 ) {
|
||||
quest::signalwith(206080,1,1); # NPC: #Assistant_Kelrig
|
||||
}
|
||||
}
|
||||
elsif ($counter == 56) {
|
||||
quest::spawn2(206078,0,0,-266,-879,3,4); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-314,-880,3,510); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-406,-783,3,130); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-405,-735,3,126); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-312,-644,3,250); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-263,-642,3,254); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-171,-734,3,376); # NPC: a_manaetic_device
|
||||
quest::spawn2(206078,0,0,-172,-785,3,386); # NPC: a_manaetic_device
|
||||
}
|
||||
elsif ($counter == 64) {
|
||||
quest::spawn2(206078,0,0,-266,-879,3,4); # NPC: a_manaetic_device
|
||||
quest::spawn2(206079,0,0,-314,-880,3,510); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206078,0,0,-406,-783,3,130); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-405,-735,3,126); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206077,0,0,-312,-644,3,250); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206078,0,0,-263,-642,3,254); # NPC: a_manaetic_device
|
||||
quest::spawn2(206077,0,0,-171,-734,3,376); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206077,0,0,-172,-785,3,386); # NPC: a_manaetic_contraption
|
||||
}
|
||||
elsif ($counter == 72) {
|
||||
quest::spawn2(206082,0,0,-266,-879,3,4); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206083,0,0,-314,-880,3,510); # NPC: a_manaetic_device
|
||||
quest::spawn2(206082,0,0,-406,-783,3,130); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206084,0,0,-405,-735,3,126); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206082,0,0,-312,-644,3,250); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206084,0,0,-263,-642,3,254); # NPC: a_manaetic_gadget
|
||||
quest::spawn2(206082,0,0,-171,-734,3,376); # NPC: a_manaetic_contraption
|
||||
quest::spawn2(206083,0,0,-172,-785,3,386); # NPC: a_manaetic_device
|
||||
}
|
||||
elsif ($counter == 80) {
|
||||
quest::signalwith(206080,1,1); # NPC: #Assistant_Kelrig
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
sub EVENT_CLICKDOOR {
|
||||
if($doorid == 7) {
|
||||
if(defined $qglobals{pop_poi_dragon}) {
|
||||
if ($doorid == 7) {
|
||||
if (defined($qglobals{pop_poi_dragon})) {
|
||||
$client->Message(15,"You remember Nitram's words - 'three small turns to the right on the bottommost rivet should open the door'.");
|
||||
quest::forcedooropen(7);
|
||||
}
|
||||
}
|
||||
if($doorid == 145) {
|
||||
if(defined $qglobals{pop_time_maelin}) {
|
||||
elseif ($doorid == 145) {
|
||||
if (defined($qglobals{pop_time_maelin})) {
|
||||
quest::set_zone_flag(219);
|
||||
quest::set_zone_flag(223);
|
||||
$client->Message(15,"You have received a character flag!");
|
||||
$client->Message(15,"The ages begin to tear through your body. You wake to find yourself in another time.");
|
||||
quest::movepc(219,223,140,9,94); # Zone: potimea
|
||||
quest::movepc(219, 223, 140, 9, 94); # Zone: potimea
|
||||
}
|
||||
}
|
||||
$qglobals{pop_poi_dragon}=undef;
|
||||
$qgloabls{pop_time_maelin}=undef;
|
||||
}
|
||||
$qglobals{pop_poi_dragon} = undef;
|
||||
$qglobals{pop_time_maelin} = undef;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue