From c8c53aa43f753cbcfea51e60d678276aff6e0559 Mon Sep 17 00:00:00 2001 From: Reid Date: Mon, 4 May 2015 03:06:35 +0200 Subject: Add warps on #19. --- npc/001-2-19/_import.txt | 1 + npc/001-2-19/_warps.txt | 3 +++ npc/001-2-19/doors.txt | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 npc/001-2-19/doors.txt diff --git a/npc/001-2-19/_import.txt b/npc/001-2-19/_import.txt index d2d65d03..2dffa72f 100644 --- a/npc/001-2-19/_import.txt +++ b/npc/001-2-19/_import.txt @@ -1 +1,2 @@ npc: npc/001-2-19/_warps.txt +npc: npc/001-2-19/doors.txt diff --git a/npc/001-2-19/_warps.txt b/npc/001-2-19/_warps.txt index f4b17e0b..cfc5948e 100644 --- a/npc/001-2-19/_warps.txt +++ b/npc/001-2-19/_warps.txt @@ -1 +1,4 @@ // 001-2-19 +001-2-19,41,31,0 warp ToArtisTop#001-2-19 0,0,001-1,104,33 +001-2-19,33,39,0 warp ToArtisMiddle#001-2-19 0,0,001-1,101,37 +001-2-19,41,56,0 warp ToMerchantRoom#001-2-19 0,0,001-2-20,29,27 diff --git a/npc/001-2-19/doors.txt b/npc/001-2-19/doors.txt new file mode 100644 index 00000000..aae31e9a --- /dev/null +++ b/npc/001-2-19/doors.txt @@ -0,0 +1,60 @@ +// Evol scripts. +// Authors: +// 4144, Reid +// Description: +// Doors warp and animations in map 001-1 +// + +001-2-19,41,25,0 script #MerchantHallWarp1 32767,0,0,{ +OnTouch: + warp "001-2-25", 29, 30; + close; + +OnUnTouch: + doevent "#Door1::OnUnTouch"; +} + +001-2-19,41,24,0 script #MerchantHallDoor1 908,2,3,{ + close; + +OnTouch: + doorTouch; + +OnUnTouch: + doorUnTouch; + +OnTimer340: + doorTimer; + +OnInit: + setnpcsex G_MALE; + setnpcdistance 5; + end; +} + +001-2-19,41,48,0 script #MerchantHallWarp2 32767,0,0,{ +OnTouch: + warp "001-1", 104, 42; + close; + +OnUnTouch: + doevent "#Door2::OnUnTouch"; +} + +001-2-19,41,46,0 script #MerchantHallDoor2 908,3,3,{ + close; + +OnTouch: + doorTouch; + +OnUnTouch: + doorUnTouch; + +OnTimer340: + doorTimer; + +OnInit: + setnpcsex G_MALE; + setnpcdistance 5; + end; +} -- cgit v1.2.3-60-g2f50