summaryrefslogtreecommitdiff
path: root/world/map/npc/items/warpTowels.txt
diff options
context:
space:
mode:
authorThe Kandiman <kandiman@kandiman.(none)>2011-09-10 20:15:17 -0400
committerThe Kandiman <kandiman@kandiman.(none)>2011-09-11 16:48:18 -0400
commit1cb0e75cbd356485ebe35bb3f5af10e1454e57a5 (patch)
tree594bbf4a1bb428ef527f6ce6ec79e4eb3e478607 /world/map/npc/items/warpTowels.txt
parenta9868851cfe19c503cc72b0289889c564b41dd20 (diff)
downloadserverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.gz
serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.bz2
serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.xz
serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.zip
Tab conversion and formatting project.
npc/functions and npc/items complete.
Diffstat (limited to 'world/map/npc/items/warpTowels.txt')
-rw-r--r--world/map/npc/items/warpTowels.txt230
1 files changed, 130 insertions, 100 deletions
diff --git a/world/map/npc/items/warpTowels.txt b/world/map/npc/items/warpTowels.txt
index 1c39b98b..6438c223 100644
--- a/world/map/npc/items/warpTowels.txt
+++ b/world/map/npc/items/warpTowels.txt
@@ -1,130 +1,160 @@
-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;
+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.";
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+
L_Keep:
- getitem "WhiteWarpTowel", 1;
- end;
+ 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;
+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.";
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+
L_Keep:
- getitem "RedWarpTowel", 1;
- end; end;
+ 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;
+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.";
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+
L_Keep:
- getitem "GreenWarpTowel", 1;
- end; end;
+ 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;
+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.";
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+
L_Keep:
- getitem "BlueWarpTowel", 1;
- end; end;
+ 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;
+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.";
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+
L_Keep:
- getitem "YellowWarpTowel", 1;
- end; end;
+ 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;
+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.";
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+
L_Keep:
- getitem "PurpleWarpTowel", 1;
- end; end;
+ 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;
+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.";
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+
L_Keep:
- getitem "OrangeWarpTowel", 1;
- end; end;
+ 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;
+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.";
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+
L_Keep:
- getitem "PinkWarpTowel", 1;
- end; end;
+ 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;
+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.";
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+
L_Keep:
- getitem "TealWarpTowel", 1;
- end; end;
+ 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;
+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.";
+ message strcharinfo(0), "You must be warped by a GM to leave the bot check area.";
+
L_Keep:
- getitem "LimeWarpTowel", 1;
- end; end;
+ getitem "LimeWarpTowel", 1;
+ end; end;
}