summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/items/warpTowels.txt52
-rw-r--r--npc/scripts.conf1
2 files changed, 53 insertions, 0 deletions
diff --git a/npc/items/warpTowels.txt b/npc/items/warpTowels.txt
new file mode 100644
index 00000000..11373b83
--- /dev/null
+++ b/npc/items/warpTowels.txt
@@ -0,0 +1,52 @@
+function script useRedWarpTowel {
+ warp "009-1.gat",51,40; // Hurnscald
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+function script useGreenWarpTowel {
+ warp "003-1.gat",35,25;
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+function script useDarkBlueWarpTowel {
+ warp "003-1.gat",35,25;
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+function script useYellowWarpTowel {
+ warp "001-1.gat",40,71; // Tulimshar
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+function script useLightBlueWarpTowel {
+ warp "020-1.gat",66,91; // Nivalis
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+function script usePinkWarpTowel {
+ warp "003-1.gat",35,25;
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+function script useBlackWarpTowel {
+ warp "003-1.gat",35,25;
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+function script useOrangeWarpTowel {
+ warp "003-1.gat",35,25;
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+function script usePurpleWarpTowel {
+ warp "003-1.gat",35,25;
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+function script useDarkGreenWarpTowel {
+ warp "003-1.gat",35,25;
+ getitem "WhiteWarpTowel", 1;
+ end;
+}
+
+//TODO: entry in items.xml
diff --git a/npc/scripts.conf b/npc/scripts.conf
index 42622c1b..ca73422e 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -22,6 +22,7 @@ npc: npc/items/scissors.txt
npc: npc/items/shock_sweet.txt
npc: npc/items/unreleased_item.txt
npc: npc/items/restricted_item.txt
+npc: npc/items/warpTowels.txt
import: npc/_import.txt