summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-05-19 23:20:55 +0000
committerSaulc <lucashelaine14@gmail.com>2018-05-19 23:20:55 +0000
commit05a4fd5701aa02938765c76324ced01449290cf2 (patch)
tree63baf51d0a75c1aad94d9571f203fed9076bb453 /npc
parent573237aacdb2be2296f835be473fb4f474af719b (diff)
downloadserverdata-05a4fd5701aa02938765c76324ced01449290cf2.tar.gz
serverdata-05a4fd5701aa02938765c76324ced01449290cf2.tar.bz2
serverdata-05a4fd5701aa02938765c76324ced01449290cf2.tar.xz
serverdata-05a4fd5701aa02938765c76324ced01449290cf2.zip
add hidden trap door
Diffstat (limited to 'npc')
-rw-r--r--npc/005-2/trapdoor.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/005-2/trapdoor.txt b/npc/005-2/trapdoor.txt
new file mode 100644
index 000000000..c11021377
--- /dev/null
+++ b/npc/005-2/trapdoor.txt
@@ -0,0 +1,12 @@
+// TMW 2 script
+// Author:
+// Saulc
+
+005-2-1,24,36,0 script Trap Door NPC_HIDDEN,0,0,{
+
+OnTouch:
+ if (.@chest == 1)
+ warp "005-2-1", 28, 35;
+ else
+ close;
+}