From 3018128b4b4ad0a1e11de133ab0fe0563d76c00d Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Thu, 22 Mar 2012 17:52:11 -0400 Subject: Update nodes for compatibility with digging time groups. --- mesecons_lightstone/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesecons_lightstone') 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", -- cgit v1.2.3