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

@ -10,9 +10,9 @@ minetest.register_node("mesecons_switch:mesecon_switch_off", {
minetest.register_node("mesecons_switch:mesecon_switch_on", {
tile_images = {"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_on.png"},
paramtype2="facedir",
groups = {dig_immediate=2},
groups = {dig_immediate=2,not_in_creative_inventory=1},
drop='"mesecons_switch:mesecon_switch_off" 1',
description="Switch",
description="Switch",
after_dig_node = function(pos)
mesecon:receptor_off(pos)
end