diff options
Diffstat (limited to 'npc/012-1')
-rw-r--r-- | npc/012-1/guards.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index 26994e822..a0eb38b4a 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -496,8 +496,14 @@ OnVictory: $MOST_HEROIC$=strcharinfo(0); bg_destroy(1); bg_destroy(2); - // TODO: Auto-schedule Liberation Day - // two weeks from now, to happen on a saturday (FIXME) + // Auto-schedule Liberation Day + // two weeks from now, to happen on a saturday + .@offset = gettime(GETTIME_WEEKDAY); // How long since sunday? + .@offset += 1; // Move it to Saturday + .@offset += 14; // Add a couple weeks + .@offset += gettimeparam(GETTIME_DAYOFMONTH); // Apply offset to the all days + $NLIB_SEQDAY = .@offset; // Schedule the event + end; OnReward: |