Make lamps and pressure plates walkable

This commit is contained in:
Jeija
2012-08-05 13:37:20 +02:00
parent 80b2da6c85
commit df7edcb35c
2 changed files with 7 additions and 7 deletions

View File

@ -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)
end)