summaryrefslogblamecommitdiff
path: root/npc/027-2_Caretakers_House/alacrius.txt
blob: 825c114b82933651aa4cc8aad26a049d29a84765 (plain) (tree)
1
2
3
                           
 
                                                      




































                                                                      
// Starts the reaper quest

027-2.gat,107,29,0	script	Alacrius	313,{
    // if started, go to started
    // if fail go to failed
    // if complete go to complete
    // if cooldown go to cooldown

// start quest section
    mes "hi want to fight the reaper?";
    menu   
    "Let's go",L_START,
    "No thank you",-;
    close;

L_START:
    monster "027-4.gat",40,55,"Reaper Quest",1111,1,"Reaper::OnDead";
	enablenpc "#gatecontrol";
    enablenpc "#closedgate";
    disablenpc "#opengate";
// Open doors to reaper level
    warp "027-3.gat",41,70;
    initnpctimer;
    close;

// 5 min mark for testing purposes, up it when finished.
OnTimer300000:
    mapwarp "027-3.gat", "027-2.gat",104,41;
    mapwarp "027-4.gat", "027-2.gat",104,41;
    killmonsterall "027-4.gat";
    end;
OnTimer301000:
    npctalk "You have failed the mission";
    end;

// cooldown before the quest can be restarted
OnTimer360000:
    // set quest var
    end;
}