summaryrefslogblamecommitdiff
path: root/world/map/npc/annuals/fathertime.txt
blob: 4d3cdf681247b1c114f25f04427b3888f2d6b7f6 (plain) (tree)
1
2
3
4
5
6

                                                  
                                           
 

        










                                              
                                                   


                 



















                                            
// Annual Timer
// One timer to check to enable all holiday events
017-9.gat,26,28,0|script|#HolidayConfig|-1,
{
    end;

OnInit:
    goto L_StartTimer;

L_StartTimer:
    setnpctimer 0;
    initnpctimer;
    end;

OnTimer20000:
    setnpctimer 0;
    cmdothernpc "#XmasConfig", "RestartQuest";
    cmdothernpc "#HalloweenConfig", "RestartQuest";
    initnpctimer;
    end;
}
017-9.gat,31,24,0|script|HolidayDebug#1|105,
{
    if(getgmlevel() < 40)
        goto L_End;

    menu
        "Xmas.", L_XmasDebug,
        "Halloween.", L_HalloweenDebug;

L_XmasDebug:
    callfunc "XmasDebug";
    goto L_End;

L_HalloweenDebug:
    callfunc "HalloweenDebug";
    goto L_End;

L_End:
    end;
}