not_in_creative_inventory

This commit is contained in:
Kotolegokot
2012-08-01 15:58:19 +06:00
parent 7568182f4a
commit 70841d8c8e
15 changed files with 25 additions and 29 deletions

View File

@ -8,7 +8,7 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on)
minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_on", {
tile_images = {texture_on},
inventory_image = minetest.inventorycube(texture_on),
groups = {cracky=2},
groups = {cracky=2,not_in_creative_inventory=1},
drop = "node mesecons_lightstone:lightstone_" .. name .. "_off 1",
light_source = LIGHT_MAX-2,
description=name.." Lightstone",