summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMT-Modder <thomas.waits148@gmail.com>2015-02-13 23:58:36 -0500
committerMT-Modder <thomas.waits148@gmail.com>2015-02-13 23:58:36 -0500
commit6d9f44455ccff5d8237c92d4d0d27cd1dc49d12e (patch)
tree69d0cd24cc4b9d42b360a0a679c16d17b3e015ba
parent8bf5b7d0e4d2988cd7b4c5370d722dcf4d215e4f (diff)
downloadmesecons-6d9f44455ccff5d8237c92d4d0d27cd1dc49d12e.tar
mesecons-6d9f44455ccff5d8237c92d4d0d27cd1dc49d12e.tar.gz
mesecons-6d9f44455ccff5d8237c92d4d0d27cd1dc49d12e.tar.bz2
mesecons-6d9f44455ccff5d8237c92d4d0d27cd1dc49d12e.tar.xz
mesecons-6d9f44455ccff5d8237c92d4d0d27cd1dc49d12e.zip
Register only locked nodes as stoppers
This was suggested here: https://github.com/Jeija/minetest-mod-mesecons/pull/216
-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")