diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-2-19/_import.txt | 1 | ||||
-rw-r--r-- | npc/001-2-19/_warps.txt | 3 | ||||
-rw-r--r-- | npc/001-2-19/doors.txt | 60 |
3 files changed, 64 insertions, 0 deletions
diff --git a/npc/001-2-19/_import.txt b/npc/001-2-19/_import.txt index d2d65d034..2dffa72fd 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 f4b17e0bd..cfc5948ed 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 000000000..aae31e9a0 --- /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; +} |