summaryrefslogblamecommitdiff
path: root/npc/031-1/dock.txt
blob: a976a87da6e8215da071811fe82bdab7dffc3d14 (plain) (tree)







































                                                                                                                                    
031-1,110,108,0	script	Nivalis Koga	NPC395,12,2,{
    callfunc "BoardFerry";
    end;

OnTouch:
    addtimer get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnBoard";
    end;

OnBoard:
    callfunc "BoardFerry";
    end;
}

031-1,99,109,0	script	Nivalis Dock	NPC400,2,1,{
    @npc_distance = 3;
    callfunc "PCtoNPCRange";
    if(@npc_check) end;
    callfunc "BoardFerry";
    end;
}

031-1,100,100,0	script	#NivalisDock	NPC32767,{
    end;

OnCommandArrive:
    disablenpc "Nivalis Dock";
    enablenpc "Nivalis Koga";
    areatimer 0, "031-1", 97, 108, 108, 110, get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnAreaWarp"; // warp players on dock
    end;

OnAreaWarp:
    callfunc "BoardFerry";
    end;

OnCommandWarp:
    disablenpc "Nivalis Koga";
    enablenpc "Nivalis Dock";
    end;
}