summaryrefslogtreecommitdiff
path: root/mesecons_lightstone
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2017-10-31 22:50:39 +0100
committerVitaliy <silverunicorn2011@yandex.ru>2017-11-01 00:50:39 +0300
commitff0bd76efece4738ed6ba406460859a4d1e7cd8e (patch)
tree85f24d74ffac5aa767cfba6be8c931701508edbc /mesecons_lightstone
parentdb39eef2f6583c91d3d2c8823eaa1b627110980d (diff)
downloadmesecons-ff0bd76efece4738ed6ba406460859a4d1e7cd8e.tar
mesecons-ff0bd76efece4738ed6ba406460859a4d1e7cd8e.tar.gz
mesecons-ff0bd76efece4738ed6ba406460859a4d1e7cd8e.tar.bz2
mesecons-ff0bd76efece4738ed6ba406460859a4d1e7cd8e.tar.xz
mesecons-ff0bd76efece4738ed6ba406460859a4d1e7cd8e.zip
Set is_ground_content to false (#386)
Diffstat (limited to 'mesecons_lightstone')
-rw-r--r--mesecons_lightstone/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesecons_lightstone/init.lua b/mesecons_lightstone/init.lua
index 765c65a..4e56ba2 100644
--- a/mesecons_lightstone/init.lua
+++ b/mesecons_lightstone/init.lua
@@ -20,6 +20,7 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on, desc)
end
minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_off", {
tiles = {texture_off},
+ is_ground_content = false,
groups = {cracky = 2, mesecon_effector_off = 1, mesecon = 2},
description = desc,
sounds = default.node_sound_stone_defaults(),
@@ -33,6 +34,7 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on, desc)
})
minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_on", {
tiles = {texture_on},
+ is_ground_content = false,
groups = {cracky = 2, not_in_creative_inventory = 1, mesecon = 2},
drop = "mesecons_lightstone:lightstone_" .. name .. "_off",
light_source = minetest.LIGHT_MAX - 2,