summaryrefslogtreecommitdiff
path: root/npc/029-1/dock.txt
blob: c40f36466ba021b76ee223ad9465dd89147df53d (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
029-1,46,111,0	script	Candor Dock	NPC400,1,0,{
    @npc_distance = 1;
    callfunc "PCtoNPCRange";
    if(@npc_check) end;
    callfunc "BoardCandorFerry";
    end;
}

029-1,51,118,0	script	Candor Koga	NPC395,8,7,{
    @npc_distance = 8;
    callfunc "PCtoNPCRange";
    if(@npc_check) end;
    callfunc "BoardCandorFerry";
    end;

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

OnBoard:
    callfunc "BoardCandorFerry";
    end;
}

029-1,55,110,0	script	#CandorDock	NPC32767,{
    end;
OnCommandArrive:
    disablenpc "Candor Dock";
    enablenpc "Candor Koga";
    areatimer 0, "029-1", 39, 111, 53, 113, get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnAreaWarp"; // warp players on dock
    end;

OnAreaWarp:
    callfunc "BoardCandorFerry";
    end;

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