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

@ -34,7 +34,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_on", {
type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45},
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
drop='"mesecons_pressureplates:pressure_plate_wood_off" 1',
after_dig_node = function(pos)
mesecon:receptor_off(pos, mesecon:get_rules("pressureplate"))
@ -116,7 +116,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_on", {
type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45},
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
drop='"mesecons_pressureplates:pressure_plate_stone_off" 1',
after_dig_node = function(pos)
mesecon:receptor_off(pos, mesecon:get_rules("pressureplate"))