diff options
author | Anthony Zhang <azhang9@gmail.com> | 2012-03-22 17:52:11 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2012-03-22 17:52:11 -0400 |
commit | 3018128b4b4ad0a1e11de133ab0fe0563d76c00d (patch) | |
tree | e687336b36fa40c519d0573ae668c2080ea05a09 /mesecons_lightstone/init.lua | |
parent | 9ec076776242be7f8c143ee27b0cd3e8b961b922 (diff) |
Update nodes for compatibility with digging time groups.
Diffstat (limited to 'mesecons_lightstone/init.lua')
-rw-r--r-- | mesecons_lightstone/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_lightstone/init.lua b/mesecons_lightstone/init.lua index fda5e39..079c6da 100644 --- a/mesecons_lightstone/init.lua +++ b/mesecons_lightstone/init.lua @@ -2,13 +2,13 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on) minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_off", { tile_images = {texture_off}, inventory_image = minetest.inventorycube(texture_off), - material = minetest.digprop_stonelike(0.5), + groups = {crackly=2}, description=name.." Lightstone", }) minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_on", { tile_images = {texture_on}, inventory_image = minetest.inventorycube(texture_on), - material = minetest.digprop_stonelike(0.5), + groups = {crackly=2}, drop = "node mesecons_lightstone:lightstone_" .. name .. "_off 1", light_source = LIGHT_MAX-2, description=name.." Lightstone", |