diff options
author | Reid <reidyaro@gmail.com> | 2015-05-04 03:06:47 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2015-05-04 03:06:47 +0200 |
commit | 9115eeae293826fd1d4f9e7db94541794dfc20b8 (patch) | |
tree | 29655f0a09c99effa69fd925f8943212ed1fc238 /npc | |
parent | c8c53aa43f753cbcfea51e60d678276aff6e0559 (diff) | |
download | serverdata-9115eeae293826fd1d4f9e7db94541794dfc20b8.tar.gz serverdata-9115eeae293826fd1d4f9e7db94541794dfc20b8.tar.bz2 serverdata-9115eeae293826fd1d4f9e7db94541794dfc20b8.tar.xz serverdata-9115eeae293826fd1d4f9e7db94541794dfc20b8.zip |
Add warps on #20.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-2-20/_import.txt | 1 | ||||
-rw-r--r-- | npc/001-2-20/_warps.txt | 1 | ||||
-rw-r--r-- | npc/001-2-20/doors.txt | 33 |
3 files changed, 35 insertions, 0 deletions
diff --git a/npc/001-2-20/_import.txt b/npc/001-2-20/_import.txt index d4fdd96a..b888e3ea 100644 --- a/npc/001-2-20/_import.txt +++ b/npc/001-2-20/_import.txt @@ -1 +1,2 @@ npc: npc/001-2-20/_warps.txt +npc: npc/001-2-20/doors.txt diff --git a/npc/001-2-20/_warps.txt b/npc/001-2-20/_warps.txt index dba7282e..dd15df57 100644 --- a/npc/001-2-20/_warps.txt +++ b/npc/001-2-20/_warps.txt @@ -1 +1,2 @@ // 001-2-20 +001-2-20,33,35,0 warp ToArtis#001-2-20 0,0,001-1,107,50 diff --git a/npc/001-2-20/doors.txt b/npc/001-2-20/doors.txt new file mode 100644 index 00000000..91bb10d7 --- /dev/null +++ b/npc/001-2-20/doors.txt @@ -0,0 +1,33 @@ +// Evol scripts. +// Authors: +// 4144, Reid +// Description: +// Doors warp and animations in map 001-1 +// + +001-2-20,29,26,0 script #MerchantRoomWarp1 32767,0,0,{ +OnTouch: + warp "001-2-19", 41, 55; + close; + +OnUnTouch: + doevent "#Door1::OnUnTouch"; +} + +001-2-20,29,25,0 script #MerchantRoomDoor1 908,2,3,{ + close; + +OnTouch: + doorTouch; + +OnUnTouch: + doorUnTouch; + +OnTimer340: + doorTimer; + +OnInit: + setnpcsex G_MALE; + setnpcdistance 5; + end; +} |