summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-16 10:31:00 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-16 10:31:00 -0300
commit04d9a973b9fbae1bb721977cd45b75b9c9dba59e (patch)
tree01e5a81a0ef624c5e701cfdbaee722b17dfb7552
parentc6702f73a08004b1d64efef43aad69c8ff060be6 (diff)
downloadserverdata-04d9a973b9fbae1bb721977cd45b75b9c9dba59e.tar.gz
serverdata-04d9a973b9fbae1bb721977cd45b75b9c9dba59e.tar.bz2
serverdata-04d9a973b9fbae1bb721977cd45b75b9c9dba59e.tar.xz
serverdata-04d9a973b9fbae1bb721977cd45b75b9c9dba59e.zip
Aurora Events should not happen prior to Liberation Day.
-rw-r--r--npc/functions/aurora.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt
index 3095b333b..8d26cdfb8 100644
--- a/npc/functions/aurora.txt
+++ b/npc/functions/aurora.txt
@@ -27,9 +27,14 @@
// AEF: BEGIN
function script FYNewEvent {
debugmes "\033[1mFY event is set to happen...";
+ // Aurora Events only begin after Liberation Day
+ if ($GAME_STORYLINE < 1)
+ return;
+ // Update the loop
$FYEVENT_CYCLE+=1;
// Overrides standard event system
$EVENT$="";
+ // Select the event
switch ($FYEVENT_CYCLE % 12) {
case 1:
$EVENT$="Kamelot";