From b37b73ff7661d49eb4d0c7ea4b18806a620a9ae2 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Mon, 18 Apr 2011 10:22:24 +0200 Subject: adding warp towels --- npc/items/warpTowels.txt | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ npc/scripts.conf | 1 + 2 files changed, 53 insertions(+) create mode 100644 npc/items/warpTowels.txt (limited to 'npc') 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 -- cgit v1.2.3-70-g09d2