summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2012-02-18 11:26:33 -0500
committerAnthony Zhang <azhang9@gmail.com>2012-02-18 11:26:33 -0500
commitcbd77d8f3d7a5957102481deff0728bc496f1c54 (patch)
tree0f319750f6560a92b6c9134fc58bde7624054dcc
parent86f69d9f5243e698cd1d6a24a52c847aa3dbb488 (diff)
downloadmesecons-cbd77d8f3d7a5957102481deff0728bc496f1c54.tar
mesecons-cbd77d8f3d7a5957102481deff0728bc496f1c54.tar.gz
mesecons-cbd77d8f3d7a5957102481deff0728bc496f1c54.tar.bz2
mesecons-cbd77d8f3d7a5957102481deff0728bc496f1c54.tar.xz
mesecons-cbd77d8f3d7a5957102481deff0728bc496f1c54.zip
Fix lightstone drop.
-rw-r--r--jeija/lightstone.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/jeija/lightstone.lua b/jeija/lightstone.lua
index 454eb4a..d53d12c 100644
--- a/jeija/lightstone.lua
+++ b/jeija/lightstone.lua
@@ -3,15 +3,15 @@ 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",
+ description=name.." Lightstone",
})
minetest.register_node("jeija:lightstone_" .. name .. "_on", {
tile_images = {texture_on},
inventory_image = minetest.inventorycube(texture_on),
material = minetest.digprop_stonelike(0.5),
- drop = "jeija:lightstone_" .. name .. "_off 1",
+ drop = "node jeija:lightstone_" .. name .. "_off 1",
light_source = LIGHT_MAX-2,
- description=name.." Lightstone",
+ description=name.." Lightstone",
})
assert(loadstring('mesecon:register_on_signal_on(function(pos, node) \n \
if node.name == "jeija:lightstone_' .. name .. '_off" then \n \