mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-08-21 05:24:11 +02:00
Merge branch 'master' of github.com:Jeija/minetest-mod-mesecons
This commit is contained in:
commit
bfc594a8d0
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user