diff options
-rw-r--r-- | db/item_db.txt | 12 | ||||
-rw-r--r-- | npc/items/warpTowels.txt | 52 | ||||
-rw-r--r-- | npc/scripts.conf | 1 |
3 files changed, 65 insertions, 0 deletions
diff --git a/db/item_db.txt b/db/item_db.txt index 7c78ab5c..61ca3a30 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -321,6 +321,7 @@ 806, ReedBundle, Reed Bundle, 3, 20, 10, 7, , , , , , 2, , , , , {}, {}, , 807, GrassSeed, Grass Seed, 3, 20, 10, 1, , , , , , 2, , , , , {}, {}, , #ID, Name, Label, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Gender, Loc, wLV, eLV, View, {UseScript}, {EquipScript} +808, WhiteWarpTowel, White Towel, 3, 1000, 500, 20, , , , , , , , , , , {}, {} // Add new entries above here. For dyed entries, add to the bottom of the 2000s. @@ -614,6 +615,17 @@ 2237, OrangeBowlerHatBrown, Orange Bowler Hat Brown, 5, 2500, 1250, 30, , 10, , 2, 0, 2, 256, , 0, 0, {}, {} 2238, PurpleBowlerHatBrown, Purple Bowler Hat Brown, 5, 2500, 1250, 30, , 10, , 2, 0, 2, 256, , 0, 0, {}, {} 2239, DarkGreenBowlerHatBrown, Dark Green Bowler Hat Brown, 5, 2500, 1250, 30, , 10, , 2, 0, 2, 256, , 0, 0, {}, {} +2240, RedWarpTowel, Red Towel, 0, 1000, 500, 30, , , , , , 2, , , 0, , {callfunc "useRedWarpTowel";}, {} +2241, GreenWarpTowel, Green Towel, 0, 1000, 500, 30, , , , , , 2, , , 0, , {callfunc "useGreenWarpTowel";}, {} +2242, DarkBlueWarpTowel, DarkBlue Towel, 0, 1000, 500, 30, , , , , , 2, , , 0, , {callfunc "useDarkBlueWarpTowel";}, {} +2243, YellowWarpTowel, Yellow Towel, 0, 1000, 500, 30, , , , , , 2, , , 0, , {callfunc "useYellowWarpTowel";}, {} +2244, LightBlueWarpTowel, LightBlue Towel, 0, 1000, 500, 30, , , , , , 2, , , 0, , {callfunc "useLightBlueWarpTowel";}, {} +2245, PinkWarpTowel, Pink Towel, 0, 1000, 500, 30, , , , , , 2, , , 0, , {callfunc "usePinkWarpTowel";}, {} +2246, BlackWarpTowel, Black Towel, 0, 1000, 500, 30, , , , , , 2, , , 0, , {callfunc "useBlackWarpTowel";}, {} +2247, OrangeWarpTowel, Orange Towel, 0, 1000, 500, 30, , , , , , 2, , , 0, , {callfunc "useOrangeWarpTowel";}, {} +2248, PurpleWarpTowel, Purple Towel, 0, 1000, 500, 30, , , , , , 2, , , 0, , {callfunc "usePurpleWarpTowel";}, {} +2249, DarkGreenWarpTowel, DarkGreen Towel, 0, 1000, 500, 30, , , , , , 2, , , 0, , {callfunc "useDarkGreenWarpTowel";}, {} +#ID, Name, Label, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Gender, Loc, wLV, eLV, View, {UseScript}, {EquipScript} // Add dyed entries above here. For regular entries, please use the < 1000s. 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 |