Update nodes for compatibility with digging time groups.

This commit is contained in:
Anthony Zhang
2012-03-22 17:52:11 -04:00
parent 9ec0767762
commit 3018128b4b
18 changed files with 42 additions and 41 deletions

View File

@ -9,7 +9,7 @@ minetest.register_node("mesecons_button:button_off", {
selection_box = {
type = "wallmounted",
},
material = minetest.digprop_constanttime(0.3),
groups = {dig_immediate=2},
description="Button",
})
minetest.register_node("mesecons_button:button_on", {
@ -22,7 +22,7 @@ minetest.register_node("mesecons_button:button_on", {
selection_box = {
type = "wallmounted",
},
material = minetest.digprop_constanttime(0.3),
groups = {dig_immediate=2},
drop = '"mesecons_button:button_off" 1',
description="Button",
})