From 68d057f1feab0f1056cc7e81ddd198b15dcd378b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 18 May 2020 06:21:53 -0300 Subject: Some specification + Fishing event description (finally) --- npc/functions/event.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc/functions/event.txt') diff --git a/npc/functions/event.txt b/npc/functions/event.txt index 8f55bfb21..902f6e21b 100644 --- a/npc/functions/event.txt +++ b/npc/functions/event.txt @@ -300,6 +300,8 @@ OnClock0000: .@dofy=true; .@confname$=".conf_"+.@m; + // NOTE: Maybe make a single .annuals array and cycle it + // Gather the ST variable from interest...? for (.@i=0;.@i < getarraysize(getd(.@confname$)); .@i++) { .@val=getd(.@confname$+"["+.@i+"]"); //debugmes "Looping, %d = %d", .@i, .@val; @@ -313,6 +315,9 @@ OnClock0000: // So they might still overlap. // A possible solution is to, eventually, record start and end date. // And only inhibit FY event if the MONDAY is within the event...? + // XXX: Now it inhibits by itself; But it should NOT begin a FYE if + // another (annual) event is scheduled for the same week. + // Namely: TMW2 Day and Thanksgiving debugmes "%d >= %d && %d <= %d", .@val, .@d-6, .@val, .@d+6; // In this case there's already an event! // .@d == .@val <= .@d+6 AND -- cgit v1.2.3-60-g2f50