diff options
author | Reid <reidyaro@gmail.com> | 2014-08-25 00:17:09 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2014-08-25 00:17:09 +0200 |
commit | 77bcaf19a4be53253735d8c8453b3ce2da48c523 (patch) | |
tree | e4f14f78fa80bed371be7cab4546923a7e5db270 | |
parent | d98ec2bc8936682131028ca81722dd7915f44aee (diff) | |
download | serverdata-77bcaf19a4be53253735d8c8453b3ce2da48c523.tar.gz serverdata-77bcaf19a4be53253735d8c8453b3ce2da48c523.tar.bz2 serverdata-77bcaf19a4be53253735d8c8453b3ce2da48c523.tar.xz serverdata-77bcaf19a4be53253735d8c8453b3ce2da48c523.zip |
Add the door NPC for the 001-2-4 to 001-2-5 warp.
-rw-r--r-- | npc/001-2-4/_import.txt | 1 | ||||
-rw-r--r-- | npc/001-2-4/_warps.txt | 1 | ||||
-rw-r--r-- | npc/001-2-4/doors.txt | 32 |
3 files changed, 33 insertions, 1 deletions
diff --git a/npc/001-2-4/_import.txt b/npc/001-2-4/_import.txt index de5ca65e..10a8e77b 100644 --- a/npc/001-2-4/_import.txt +++ b/npc/001-2-4/_import.txt @@ -1,2 +1,3 @@ map: 001-2-4.gat npc: npc/001-2-4/_warps.txt +npc: npc/001-2-4/doors.txt diff --git a/npc/001-2-4/_warps.txt b/npc/001-2-4/_warps.txt index 56781355..b2516151 100644 --- a/npc/001-2-4/_warps.txt +++ b/npc/001-2-4/_warps.txt @@ -1,5 +1,4 @@ // 001-2-4 warps 001-2-4.gat,48,41 warp To Artis 1,-1,001-1.gat,0,0 -001-2-4.gat,52,27 warp To Library Storage -1,-1,001-1.gat,0,0 001-2-4.gat,57,24 warp To Library Second Floor 2,-1,001-1.gat,0,0 diff --git a/npc/001-2-4/doors.txt b/npc/001-2-4/doors.txt new file mode 100644 index 00000000..de13b992 --- /dev/null +++ b/npc/001-2-4/doors.txt @@ -0,0 +1,32 @@ +// Evol scripts. +// Authors: +// 4144, Reid +// Description: +// Doors warp and animations in map 001-2-4 +// + +001-2-4.gat,52,26,0 script #LibraryDoor 907,1,1{ + close; + +OnTouchFirst: + setnpcdir 2; + stopnpctimer; + initnpctimer; + close; + +OnUnTouchAll: + setnpcdir 4; + initnpctimer; + startnpctimer; + close; + +OnTouchCenter: + warp "001-2-5", 32, 37; + close; + +OnTimer340: + stopnpctimer; + if (getnpcdir ("") == 2) setnpcdir 6; + if (getnpcdir ("") == 4) setnpcdir 8; + end; +} |