From 8239cf46ae8859140bc2ad2e6f69f7f7da2b2778 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 29 Dec 2018 00:58:39 -0200 Subject: Stranger Quest is only available Jan/Apr/Jul/Oct 18~25 --- npc/017-1/stranger.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/npc/017-1/stranger.txt b/npc/017-1/stranger.txt index ac11e8c3f..aede21227 100644 --- a/npc/017-1/stranger.txt +++ b/npc/017-1/stranger.txt @@ -11,6 +11,15 @@ end; OnInit: + .distance=5; +OnClock0000: + if (gettime(GETTIME_MONTH) % 3 == 1) { + if (gettime(GETTIME_DAYOFMONTH) >= 18 && gettime(GETTIME_DAYOFMONTH) <= 25) { + enablenpc .name$; + end; + } + } + disablenpc .name$; end; } -- cgit v1.2.3-70-g09d2