summaryrefslogtreecommitdiff
path: root/world/map/npc/items/warpTowels.txt
blob: 30d2913696a98c273e41baae6a97f332f8598a6e (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
function|script|useWhiteWarpTowel|{
    if (isin("botcheck.gat",25,27,51,47))
        goto L_Botcheck;
    if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
        goto L_Illia;
    warp "020-1.gat",66,91; // Nivalis
    if (rand(15))
        goto L_Keep;
    getitem "HitchhikersTowel", 1;
    end;

L_Illia:
    message strcharinfo(0), "The strong barrier of this island prevents you to teleport!";
    goto L_Keep;

L_Botcheck:
    message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";

L_Keep:
    getitem "WhiteHitchhikersTowel", 1;
    end;
}
function|script|useRedWarpTowel|{
    if (isin("botcheck.gat",25,27,51,47))
        goto L_Botcheck;
    if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
        goto L_Illia;
    warp "009-1.gat",51,40; // Hurnscald
    if (rand(15))
        goto L_Keep;
    getitem "HitchhikersTowel", 1;
    end;

L_Illia:
    message strcharinfo(0), "The strong barrier of this island prevents you to teleport!";
    goto L_Keep;

L_Botcheck:
    message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";

L_Keep:
    getitem "RedHitchhikersTowel", 1;
    end;
}
function|script|useGreenWarpTowel|{
    if (isin("botcheck.gat",25,27,51,47))
        goto L_Botcheck;
    if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
        goto L_Illia;
    warp "003-1.gat",35,25;
    if (rand(15))
        goto L_Keep;
    getitem "HitchhikersTowel", 1;
    end;

L_Illia:
    message strcharinfo(0), "The strong barrier of this island prevents you to teleport!";
    goto L_Keep;

L_Botcheck:
    message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";

L_Keep:
    getitem "GreenHitchhikersTowel", 1;
    end;
}
function|script|useBlueWarpTowel|{
    if (isin("botcheck.gat",25,27,51,47))
        goto L_Botcheck;
    if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
        goto L_Illia;
    warp "003-1.gat",35,25;
    if (rand(15))
        goto L_Keep;
    getitem "HitchhikersTowel", 1;
    end;

L_Illia:
    message strcharinfo(0), "The strong barrier of this island prevents you to teleport!";
    goto L_Keep;

L_Botcheck:
    message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";

L_Keep:
    getitem "BlueHitchhikersTowel", 1;
    end;
}
function|script|useYellowWarpTowel|{
    if (isin("botcheck.gat",25,27,51,47))
        goto L_Botcheck;
    if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
        goto L_Illia;
    warp "001-1.gat",40,71; // Tulimshar
    if (rand(15))
        goto L_Keep;
    getitem "HitchhikersTowel", 1;
    end;

L_Illia:
    message strcharinfo(0), "The strong barrier of this island prevents you to teleport!";
    goto L_Keep;

L_Botcheck:
    message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";

L_Keep:
    getitem "YellowHitchhikersTowel", 1;
    end;
}
function|script|usePurpleWarpTowel|{
    if (isin("botcheck.gat",25,27,51,47))
        goto L_Botcheck;
    if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
        goto L_Illia;
    warp "003-1.gat",35,25;
    if (rand(15))
        goto L_Keep;
    getitem "HitchhikersTowel", 1;
    end;

L_Illia:
    message strcharinfo(0), "The strong barrier of this island prevents you to teleport!";
    goto L_Keep;

L_Botcheck:
    message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";

L_Keep:
    getitem "PurpleHitchhikersTowel", 1;
    end;
}
function|script|useOrangeWarpTowel|{
    if (isin("botcheck.gat",25,27,51,47))
        goto L_Botcheck;
    if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
        goto L_Illia;
    warp "027-1.gat",70,100; // Graveyard
    if (rand(15))
        goto L_Keep;
    getitem "HitchhikersTowel", 1;
    end;

L_Illia:
    message strcharinfo(0), "The strong barrier of this island prevents you to teleport!";
    goto L_Keep;

L_Botcheck:
    message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";

L_Keep:
    getitem "OrangeHitchhikersTowel", 1;
    end;
}
function|script|usePinkWarpTowel|{
    if (isin("botcheck.gat",25,27,51,47))
        goto L_Botcheck;
    if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
        goto L_Illia;
    warp "012-3.gat",448,66; // Terranite Cave
    if (rand(15))
        goto L_Keep;
    getitem "HitchhikersTowel", 1;
    end;

L_Illia:
    message strcharinfo(0), "The strong barrier of this island prevents you to teleport!";
    goto L_Keep;

L_Botcheck:
    message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";

L_Keep:
    getitem "PinkHitchhikersTowel", 1;
    end;
}
function|script|useTealWarpTowel|{
    if (isin("botcheck.gat",25,27,51,47))
        goto L_Botcheck;
    if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
        goto L_Illia;
    warp "003-1.gat",35,25;
    if (rand(15))
        goto L_Keep;
    getitem "HitchhikersTowel", 1;
    end;

L_Illia:
    message strcharinfo(0), "The strong barrier of this island prevents you to teleport!";
    goto L_Keep;

L_Botcheck:
    message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";

L_Keep:
    getitem "TealHitchhikersTowel", 1;
    end;
}
function|script|useLimeWarpTowel|{
    if (isin("botcheck.gat",25,27,51,47))
        goto L_Botcheck;
    if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
        goto L_Illia;
    warp "003-1.gat",35,25;
    if (rand(15))
        goto L_Keep;
    getitem "HitchhikersTowel", 1;
    end;

L_Illia:
    message strcharinfo(0), "The strong barrier of this island prevents you to teleport!";
    goto L_Keep;

L_Botcheck:
    message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";

L_Keep:
    getitem "LimeHitchhikersTowel", 1;
    end;
}