summaryrefslogtreecommitdiff
path: root/world/map/npc/items/warpTowels.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-06-18 21:58:47 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-06-19 14:19:55 -0700
commitbae4b92e560c2694eaaf0e8b4d9e95e56204471b (patch)
tree4acc120f6a94cfbf9694bf344658493de5aaa67b /world/map/npc/items/warpTowels.txt
parent319f80526f8585ecadaec986e37c9bd326f4d363 (diff)
downloadserverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.gz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.bz2
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.xz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.zip
Move to a subdirectory
Diffstat (limited to 'world/map/npc/items/warpTowels.txt')
-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
new file mode 100644
index 00000000..1c39b98b
--- /dev/null
+++ b/world/map/npc/items/warpTowels.txt
@@ -0,0 +1,130 @@
+function script useWhiteWarpTowel {
+ if (isin("botcheck.gat",8,11,32,29)) goto L_Botcheck;
+ warp "020-1.gat",66,91; // Nivalis
+ if (rand(15))
+ goto L_Keep;
+ getitem "GreyWarpTowel", 1;
+ end;
+L_Botcheck:
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+L_Keep:
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+function script useRedWarpTowel {
+ if (isin("botcheck.gat",8,11,32,29)) goto L_Botcheck;
+ warp "009-1.gat",51,40; // Hurnscald
+ if (rand(15))
+ goto L_Keep;
+ getitem "GreyWarpTowel", 1;
+ end;
+L_Botcheck:
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+L_Keep:
+ getitem "RedWarpTowel", 1;
+ end; end;
+}
+function script useGreenWarpTowel {
+ if (isin("botcheck.gat",8,11,32,29)) goto L_Botcheck;
+ warp "003-1.gat",35,25;
+ if (rand(15))
+ goto L_Keep;
+ getitem "GreyWarpTowel", 1;
+ end;
+L_Botcheck:
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+L_Keep:
+ getitem "GreenWarpTowel", 1;
+ end; end;
+}
+function script useBlueWarpTowel {
+ if (isin("botcheck.gat",8,11,32,29)) goto L_Botcheck;
+ warp "003-1.gat",35,25;
+ if (rand(15))
+ goto L_Keep;
+ getitem "GreyWarpTowel", 1;
+ end;
+L_Botcheck:
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+L_Keep:
+ getitem "BlueWarpTowel", 1;
+ end; end;
+}
+function script useYellowWarpTowel {
+ if (isin("botcheck.gat",8,11,32,29)) goto L_Botcheck;
+ warp "001-1.gat",40,71; // Tulimshar
+ if (rand(15))
+ goto L_Keep;
+ getitem "GreyWarpTowel", 1;
+ end;
+L_Botcheck:
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+L_Keep:
+ getitem "YellowWarpTowel", 1;
+ end; end;
+}
+function script usePurpleWarpTowel {
+ if (isin("botcheck.gat",8,11,32,29)) goto L_Botcheck;
+ warp "003-1.gat",35,25;
+ if (rand(15))
+ goto L_Keep;
+ getitem "GreyWarpTowel", 1;
+ end;
+L_Botcheck:
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+L_Keep:
+ getitem "PurpleWarpTowel", 1;
+ end; end;
+}
+function script useOrangeWarpTowel {
+ if (isin("botcheck.gat",8,11,32,29)) goto L_Botcheck;
+ warp "027-1.gat",70,100; // Graveyard
+ if (rand(15))
+ goto L_Keep;
+ getitem "GreyWarpTowel", 1;
+ end;
+L_Botcheck:
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+L_Keep:
+ getitem "OrangeWarpTowel", 1;
+ end; end;
+}
+function script usePinkWarpTowel {
+ if (isin("botcheck.gat",8,11,32,29)) goto L_Botcheck;
+ warp "012-3.gat",448,66; // Terranite Cave
+ if (rand(15))
+ goto L_Keep;
+ getitem "GreyWarpTowel", 1;
+ end;
+L_Botcheck:
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+L_Keep:
+ getitem "PinkWarpTowel", 1;
+ end; end;
+}
+function script useTealWarpTowel {
+ if (isin("botcheck.gat",8,11,32,29)) goto L_Botcheck;
+ warp "003-1.gat",35,25;
+ if (rand(15))
+ goto L_Keep;
+ getitem "GreyWarpTowel", 1;
+ end;
+L_Botcheck:
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+L_Keep:
+ getitem "TealWarpTowel", 1;
+ end; end;
+}
+function script useLimeWarpTowel {
+ if (isin("botcheck.gat",8,11,32,29)) goto L_Botcheck;
+ warp "003-1.gat",35,25;
+ if (rand(15))
+ goto L_Keep;
+ getitem "GreyWarpTowel", 1;
+ end;
+L_Botcheck:
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+L_Keep:
+ getitem "LimeWarpTowel", 1;
+ end; end;
+}