Add descriptions

This commit is contained in:
Jeija
2012-01-29 11:53:43 +01:00
parent 0dc5c85137
commit 2e14358988
10 changed files with 43 additions and 5 deletions

View File

@@ -3,6 +3,7 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on)
tile_images = {texture_off},
inventory_image = minetest.inventorycube(texture_off),
material = minetest.digprop_stonelike(0.5),
description=name.." Lightstone",
})
minetest.register_node("jeija:lightstone_" .. name .. "_on", {
tile_images = {texture_on},
@@ -10,6 +11,7 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on)
material = minetest.digprop_stonelike(0.5),
dug_item = "node jeija:lightstone_" .. name .. "_off 1",
light_source = LIGHT_MAX-2,
description=name.." Lightstone",
})
assert(loadstring('mesecon:register_on_signal_on(function(pos, node) \n \
if node.name == "jeija:lightstone_' .. name .. '_off" then \n \