summaryrefslogtreecommitdiff
path: root/world/map/npc/items/warpTowels.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/items/warpTowels.txt')
-rw-r--r--world/map/npc/items/warpTowels.txt60
1 files changed, 60 insertions, 0 deletions
diff --git a/world/map/npc/items/warpTowels.txt b/world/map/npc/items/warpTowels.txt
index 21714ce3..30d29136 100644
--- a/world/map/npc/items/warpTowels.txt
+++ b/world/map/npc/items/warpTowels.txt
@@ -1,12 +1,18 @@
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.";
@@ -17,12 +23,18 @@ L_Keep:
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.";
@@ -33,12 +45,18 @@ L_Keep:
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.";
@@ -49,12 +67,18 @@ L_Keep:
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.";
@@ -65,12 +89,18 @@ L_Keep:
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.";
@@ -81,12 +111,18 @@ L_Keep:
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.";
@@ -97,12 +133,18 @@ L_Keep:
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.";
@@ -113,12 +155,18 @@ L_Keep:
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.";
@@ -129,12 +177,18 @@ L_Keep:
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.";
@@ -145,12 +199,18 @@ L_Keep:
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.";