summaryrefslogtreecommitdiff
path: root/world/map/npc/008-1/dock.txt
blob: acb3a23e4fc0ab9cdd2ebfc8822abad6c7a5f29a (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// The ferry dock

008-1,147,64,0|script|Hurnscald North Koga|395,10,3
{
    set @npc_distance, 11;
    callfunc "PCtoNPCRange";
    if(@npc_check) end;
    callfunc "BoardFerry";
    end;

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

OnBoard:
    callfunc "BoardFerry";
    end;
}

008-1,139,65,0|script|Hurnscald North Dock|400,2,1
{
    set @npc_distance, 3;
    callfunc "PCtoNPCRange";
    if(@npc_check) end;
    callfunc "BoardFerry";
    end;
}

008-1,120,44,0|script|#Hurnscald NorthDock|32767
{
    end;
OnCommandArrive:
    disablenpc "Hurnscald North Dock";
    enablenpc "Hurnscald North Koga";
    areatimer 0, "008-1", 137, 64, 141, 65, get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnAreaWarp"; // warp players on dock
    end;

OnAreaWarp:
    callfunc "BoardFerry";
    end;

OnCommandWarp:
    disablenpc "Hurnscald North Koga";
    enablenpc "Hurnscald North Dock";
    end;
}

008-1,147,75,0|script|Hurnscald South Koga|395,10,3
{
    set @npc_distance, 10;
    callfunc "PCtoNPCRange";
    if(@npc_check) end;
    callfunc "BoardCandorFerry";
    end;

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

OnBoard:
    callfunc "BoardCandorFerry";
    end;
}

008-1,139,76,0|script|Hurnscald South Dock|400,2,1
{
    set @npc_distance, 3;
    callfunc "PCtoNPCRange";
    if(@npc_check) end;
    callfunc "BoardCandorFerry";
    end;
}

008-1,65,25,0|script|#Hurnscald SouthDock|32767
{
    end;
OnCommandArrive:
    disablenpc "Hurnscald South Dock";
    enablenpc "Hurnscald South Koga";
    areatimer 0, "008-1", 137, 75, 141, 76, get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnAreaWarp"; // warp players on dock
    end;

OnAreaWarp:
    callfunc "BoardCandorFerry";
    end;

OnCommandWarp:
    disablenpc "Hurnscald South Koga";
    enablenpc "Hurnscald South Dock";
    end;
}