summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-06-28 11:34:26 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2013-06-28 11:34:26 +0200
commitd6d562b4a7bf157a36c0560be4ec14f9f463aa86 (patch)
tree24517ba00d9e9d497d47e6edf24491db38a5a5e8 /world/map/npc
parent72916aa9e8fe82de961cde179cd2e74fc3e5a08b (diff)
downloadserverdata-d6d562b4a7bf157a36c0560be4ec14f9f463aa86.tar.gz
serverdata-d6d562b4a7bf157a36c0560be4ec14f9f463aa86.tar.bz2
serverdata-d6d562b4a7bf157a36c0560be4ec14f9f463aa86.tar.xz
serverdata-d6d562b4a7bf157a36c0560be4ec14f9f463aa86.zip
Warp Towels: block them from working in Candor or the Yeti battle cave.
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/items/warpTowels.txt130
1 files changed, 130 insertions, 0 deletions
diff --git a/world/map/npc/items/warpTowels.txt b/world/map/npc/items/warpTowels.txt
index 30d29136..3ef92ee7 100644
--- a/world/map/npc/items/warpTowels.txt
+++ b/world/map/npc/items/warpTowels.txt
@@ -3,18 +3,31 @@ function|script|useWhiteWarpTowel|{
goto L_Botcheck;
if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
goto L_Illia;
+ if (isin("029-3.gat",1,1,99,99))
+ goto L_Candor;
+ if (isin("031-4.gat",1,1,90,90))
+ goto L_Cindy;
warp "020-1.gat",66,91; // Nivalis
if (rand(15))
goto L_Keep;
getitem "HitchhikersTowel", 1;
end;
+L_Candor:
+ message strcharinfo(0), "This area is protected by a force that doesn't tolerate the forgein powers of the towel.";
+ goto L_Keep;
+
+L_Cindy:
+ message strcharinfo(0), "Something is preventing your towel from working here.";
+ goto L_Keep;
+
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.";
+ goto L_Keep;
L_Keep:
getitem "WhiteHitchhikersTowel", 1;
@@ -25,18 +38,31 @@ function|script|useRedWarpTowel|{
goto L_Botcheck;
if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
goto L_Illia;
+ if (isin("029-3.gat",1,1,99,99))
+ goto L_Candor;
+ if (isin("031-4.gat",1,1,90,90))
+ goto L_Cindy;
warp "009-1.gat",51,40; // Hurnscald
if (rand(15))
goto L_Keep;
getitem "HitchhikersTowel", 1;
end;
+L_Candor:
+ message strcharinfo(0), "This area is protected by a force that doesn't tolerate the forgein powers of the towel.";
+ goto L_Keep;
+
+L_Cindy:
+ message strcharinfo(0), "Something is preventing your towel from working here.";
+ goto L_Keep;
+
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.";
+ goto L_Keep;
L_Keep:
getitem "RedHitchhikersTowel", 1;
@@ -47,18 +73,31 @@ function|script|useGreenWarpTowel|{
goto L_Botcheck;
if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
goto L_Illia;
+ if (isin("029-3.gat",1,1,99,99))
+ goto L_Candor;
+ if (isin("031-4.gat",1,1,90,90))
+ goto L_Cindy;
warp "003-1.gat",35,25;
if (rand(15))
goto L_Keep;
getitem "HitchhikersTowel", 1;
end;
+L_Candor:
+ message strcharinfo(0), "This area is protected by a force that doesn't tolerate the forgein powers of the towel.";
+ goto L_Keep;
+
+L_Cindy:
+ message strcharinfo(0), "Something is preventing your towel from working here.";
+ goto L_Keep;
+
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.";
+ goto L_Keep;
L_Keep:
getitem "GreenHitchhikersTowel", 1;
@@ -69,18 +108,31 @@ function|script|useBlueWarpTowel|{
goto L_Botcheck;
if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
goto L_Illia;
+ if (isin("029-3.gat",1,1,99,99))
+ goto L_Candor;
+ if (isin("031-4.gat",1,1,90,90))
+ goto L_Cindy;
warp "003-1.gat",35,25;
if (rand(15))
goto L_Keep;
getitem "HitchhikersTowel", 1;
end;
+L_Candor:
+ message strcharinfo(0), "This area is protected by a force that doesn't tolerate the forgein powers of the towel.";
+ goto L_Keep;
+
+L_Cindy:
+ message strcharinfo(0), "Something is preventing your towel from working here.";
+ goto L_Keep;
+
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.";
+ goto L_Keep;
L_Keep:
getitem "BlueHitchhikersTowel", 1;
@@ -91,18 +143,31 @@ function|script|useYellowWarpTowel|{
goto L_Botcheck;
if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
goto L_Illia;
+ if (isin("029-3.gat",1,1,99,99))
+ goto L_Candor;
+ if (isin("031-4.gat",1,1,90,90))
+ goto L_Cindy;
warp "001-1.gat",40,71; // Tulimshar
if (rand(15))
goto L_Keep;
getitem "HitchhikersTowel", 1;
end;
+L_Candor:
+ message strcharinfo(0), "This area is protected by a force that doesn't tolerate the forgein powers of the towel.";
+ goto L_Keep;
+
+L_Cindy:
+ message strcharinfo(0), "Something is preventing your towel from working here.";
+ goto L_Keep;
+
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.";
+ goto L_Keep;
L_Keep:
getitem "YellowHitchhikersTowel", 1;
@@ -113,18 +178,31 @@ function|script|usePurpleWarpTowel|{
goto L_Botcheck;
if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
goto L_Illia;
+ if (isin("029-3.gat",1,1,99,99))
+ goto L_Candor;
+ if (isin("031-4.gat",1,1,90,90))
+ goto L_Cindy;
warp "003-1.gat",35,25;
if (rand(15))
goto L_Keep;
getitem "HitchhikersTowel", 1;
end;
+L_Candor:
+ message strcharinfo(0), "This area is protected by a force that doesn't tolerate the forgein powers of the towel.";
+ goto L_Keep;
+
+L_Cindy:
+ message strcharinfo(0), "Something is preventing your towel from working here.";
+ goto L_Keep;
+
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.";
+ goto L_Keep;
L_Keep:
getitem "PurpleHitchhikersTowel", 1;
@@ -135,18 +213,31 @@ function|script|useOrangeWarpTowel|{
goto L_Botcheck;
if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
goto L_Illia;
+ if (isin("029-3.gat",1,1,99,99))
+ goto L_Candor;
+ if (isin("031-4.gat",1,1,90,90))
+ goto L_Cindy;
warp "027-1.gat",70,100; // Graveyard
if (rand(15))
goto L_Keep;
getitem "HitchhikersTowel", 1;
end;
+L_Candor:
+ message strcharinfo(0), "This area is protected by a force that doesn't tolerate the forgein powers of the towel.";
+ goto L_Keep;
+
+L_Cindy:
+ message strcharinfo(0), "Something is preventing your towel from working here.";
+ goto L_Keep;
+
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.";
+ goto L_Keep;
L_Keep:
getitem "OrangeHitchhikersTowel", 1;
@@ -157,18 +248,31 @@ function|script|usePinkWarpTowel|{
goto L_Botcheck;
if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
goto L_Illia;
+ if (isin("029-3.gat",1,1,99,99))
+ goto L_Candor;
+ if (isin("031-4.gat",1,1,90,90))
+ goto L_Cindy;
warp "012-3.gat",448,66; // Terranite Cave
if (rand(15))
goto L_Keep;
getitem "HitchhikersTowel", 1;
end;
+L_Candor:
+ message strcharinfo(0), "This area is protected by a force that doesn't tolerate the forgein powers of the towel.";
+ goto L_Keep;
+
+L_Cindy:
+ message strcharinfo(0), "Something is preventing your towel from working here.";
+ goto L_Keep;
+
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.";
+ goto L_Keep;
L_Keep:
getitem "PinkHitchhikersTowel", 1;
@@ -179,18 +283,31 @@ function|script|useTealWarpTowel|{
goto L_Botcheck;
if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
goto L_Illia;
+ if (isin("029-3.gat",1,1,99,99))
+ goto L_Candor;
+ if (isin("031-4.gat",1,1,90,90))
+ goto L_Cindy;
warp "003-1.gat",35,25;
if (rand(15))
goto L_Keep;
getitem "HitchhikersTowel", 1;
end;
+L_Candor:
+ message strcharinfo(0), "This area is protected by a force that doesn't tolerate the forgein powers of the towel.";
+ goto L_Keep;
+
+L_Cindy:
+ message strcharinfo(0), "Something is preventing your towel from working here.";
+ goto L_Keep;
+
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.";
+ goto L_Keep;
L_Keep:
getitem "TealHitchhikersTowel", 1;
@@ -201,18 +318,31 @@ function|script|useLimeWarpTowel|{
goto L_Botcheck;
if (isin("052-1.gat",1,1,100,80) || isin("052-2.gat",1,1,150,100))
goto L_Illia;
+ if (isin("029-3.gat",1,1,99,99))
+ goto L_Candor;
+ if (isin("031-4.gat",1,1,90,90))
+ goto L_Cindy;
warp "003-1.gat",35,25;
if (rand(15))
goto L_Keep;
getitem "HitchhikersTowel", 1;
end;
+L_Candor:
+ message strcharinfo(0), "This area is protected by a force that doesn't tolerate the forgein powers of the towel.";
+ goto L_Keep;
+
+L_Cindy:
+ message strcharinfo(0), "Something is preventing your towel from working here.";
+ goto L_Keep;
+
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.";
+ goto L_Keep;
L_Keep:
getitem "LimeHitchhikersTowel", 1;