Set is_ground_content to false (#386)

This commit is contained in:
DS
2017-10-31 22:50:39 +01:00
committed by Vitaliy
parent db39eef2f6
commit ff0bd76efe
31 changed files with 63 additions and 10 deletions

View File

@ -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,