summaryrefslogtreecommitdiff
path: root/mesecons_lightstone
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2012-03-22 17:52:11 -0400
committerAnthony Zhang <azhang9@gmail.com>2012-03-22 17:52:11 -0400
commit3018128b4b4ad0a1e11de133ab0fe0563d76c00d (patch)
treee687336b36fa40c519d0573ae668c2080ea05a09 /mesecons_lightstone
parent9ec076776242be7f8c143ee27b0cd3e8b961b922 (diff)
downloadmesecons-3018128b4b4ad0a1e11de133ab0fe0563d76c00d.tar
mesecons-3018128b4b4ad0a1e11de133ab0fe0563d76c00d.tar.gz
mesecons-3018128b4b4ad0a1e11de133ab0fe0563d76c00d.tar.bz2
mesecons-3018128b4b4ad0a1e11de133ab0fe0563d76c00d.tar.xz
mesecons-3018128b4b4ad0a1e11de133ab0fe0563d76c00d.zip
Update nodes for compatibility with digging time groups.
Diffstat (limited to 'mesecons_lightstone')
-rw-r--r--mesecons_lightstone/init.lua4
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",