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









































                                                                                                                                 
001-1,75,70,0	script	Tulimshar Koga	NPC395,9,4,{
    @npc_distance = 10;
    callfunc "PCtoNPCRange";
    if(@npc_check) end;
    callfunc "BoardFerry";
    end;

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

OnBoard:
    callfunc "BoardFerry";
    end;
}

001-1,68,72,0	script	Tulimshar Dock	NPC400,2,2,{
    @npc_distance = 3;
    callfunc "PCtoNPCRange";
    if(@npc_check) end;
    callfunc "BoardFerry";
    end;
}

001-1,70,70,0	script	#TulimsharDock	NPC32767,{
    end;
OnCommandArrive:
    disablenpc "Tulimshar Dock";
    enablenpc "Tulimshar Koga";
    areatimer 0, "001-1", 66, 71, 77, 73, get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnAreaWarp"; // warp players on dock
    end;

OnAreaWarp:
    callfunc "BoardFerry";
    end;

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