summaryrefslogtreecommitdiff
path: root/npc/017-1/stranger.txt
blob: aede2122737db5821f3bd78b6d77eb6f04086c02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// TMW2/LoF scripts.
// Authors:
//    TMW-LoF Team
//    Jesusalva
// Description:
//    Special quest, can be done every three months, on days 18~25.
//    Months: January, April, July, October

017-1,44,37,0	script	Stranger#LoF	NPC_LOF_STRANGER,{
    hello;
    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;

}