Merge branch 'master' of github.com:Jeija/minetest-mod-mesecons

This commit is contained in:
Whiskers75 - 2012-06-21 18:56:19 +01:00
commit bfc594a8d0
2 changed files with 6 additions and 6 deletions

@ -35,8 +35,8 @@ minetest.register_node("mesecons_button:button_on", {
groups = {dig_immediate=2},
drop = 'mesecons_button:button_off',
description = "Button",
after_dig_node = function(pos)
mesecon:receptor_off(pos, mesecon.button_get_rules(minetest.env:get_node(pos).param2))
after_dig_node = function(pos, oldnode)
mesecon:receptor_off(pos, mesecon.button_get_rules(oldnode.param2))
end
})

@ -10,11 +10,11 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_off", {
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5},
fixed = {-0.45, -0.5, -0.45, 0.45, -0.45, 0.45},
},
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5},
fixed = {-0.45, -0.5, -0.45, 0.45, -0.45, 0.45},
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3},
description="Wood Pressure Plate",
@ -28,11 +28,11 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_on", {
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.48, 0.5},
fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45},
},
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.48, 0.5},
fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45},
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3},
drop='"mesecons_pressureplates:pressure_plate_wood_off" 1',