summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-04-18 10:22:24 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2011-04-18 10:22:24 +0200
commitb37b73ff7661d49eb4d0c7ea4b18806a620a9ae2 (patch)
tree5f4128feb83fc33e689fb295156b01c74edf6c73 /npc
parente25c0cbeef68863c0cbca8af9e605651a1eda1ba (diff)
downloadserverdata-b37b73ff7661d49eb4d0c7ea4b18806a620a9ae2.tar.gz
serverdata-b37b73ff7661d49eb4d0c7ea4b18806a620a9ae2.tar.bz2
serverdata-b37b73ff7661d49eb4d0c7ea4b18806a620a9ae2.tar.xz
serverdata-b37b73ff7661d49eb4d0c7ea4b18806a620a9ae2.zip
adding warp towels
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