summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Euchner <norrepli@gmail.com>2015-02-14 09:22:56 +0100
committerFlorian Euchner <norrepli@gmail.com>2015-02-14 09:22:56 +0100
commitb7076e635c370493133739a2db7dec584da1026a (patch)
tree69d0cd24cc4b9d42b360a0a679c16d17b3e015ba
parent8bf5b7d0e4d2988cd7b4c5370d722dcf4d215e4f (diff)
parent6d9f44455ccff5d8237c92d4d0d27cd1dc49d12e (diff)
downloadmesecons-b7076e635c370493133739a2db7dec584da1026a.tar
mesecons-b7076e635c370493133739a2db7dec584da1026a.tar.gz
mesecons-b7076e635c370493133739a2db7dec584da1026a.tar.bz2
mesecons-b7076e635c370493133739a2db7dec584da1026a.tar.xz
mesecons-b7076e635c370493133739a2db7dec584da1026a.zip
Merge pull request #222 from MT-Modder/stoppers-2
Register only locked nodes as stoppers
-rw-r--r--mesecons_mvps/init.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/mesecons_mvps/init.lua b/mesecons_mvps/init.lua
index 52e1d66..5daa50c 100644
--- a/mesecons_mvps/init.lua
+++ b/mesecons_mvps/init.lua
@@ -231,7 +231,8 @@ function mesecon.mvps_move_objects(pos, dir, nodestack)
end
end
+mesecon.register_mvps_stopper("doors:door_steel_b_1")
+mesecon.register_mvps_stopper("doors:door_steel_t_1")
+mesecon.register_mvps_stopper("doors:door_steel_b_2")
+mesecon.register_mvps_stopper("doors:door_steel_t_2")
mesecon.register_mvps_stopper("default:chest_locked")
-mesecon.register_mvps_stopper("default:chest")
-mesecon.register_mvps_stopper("default:bookshelf")
-mesecon.register_mvps_stopper("default:furnace")