From df7edcb35c39df211582d1801a12af99e8532679 Mon Sep 17 00:00:00 2001 From: Jeija Date: Sun, 5 Aug 2012 13:37:20 +0200 Subject: Make lamps and pressure plates walkable --- mesecons_lamp/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mesecons_lamp') diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua index 1ece13a..cad6870 100644 --- a/mesecons_lamp/init.lua +++ b/mesecons_lamp/init.lua @@ -6,7 +6,7 @@ minetest.register_node("mesecons_lamp:lamp_on", { paramtype2 = "wallmounted", legacy_wallmounted = true, sunlight_propagates = true, - walkable = false, + walkable = true, light_source = LIGHT_MAX, node_box = { type = "wallmounted", @@ -32,7 +32,7 @@ minetest.register_node("mesecons_lamp:lamp_off", { paramtype = "light", paramtype2 = "wallmounted", sunlight_propagates = true, - walkable = false, + walkable = true, node_box = { type = "wallmounted", wall_top = {-0.3125,0.375,-0.3125,0.3125,0.5,0.3125}, @@ -70,4 +70,4 @@ mesecon:register_on_signal_off(function(pos, node) minetest.env:add_node(pos, {name="mesecons_lamp:lamp_off", param2 = node.param2}) nodeupdate(pos) end -end) \ No newline at end of file +end) -- cgit v1.2.3