More creative fixes

This commit is contained in:
Wuzzy 2017-01-17 01:46:38 +01:00
parent 990ffb139a
commit 5895fcb4b9
2 changed files with 3 additions and 14 deletions

View File

@ -13,11 +13,8 @@ minetest.register_node("default:barrier", {
stack_max = 64, stack_max = 64,
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false, is_ground_content = false,
groups = { not_in_creative_inventory = 1 }, groups = { not_in_creative_inventory = 1, oddly_breakable_by_hand = 5 },
on_blast = function() end, on_blast = function() end,
on_destruct = function () end,
can_dig = function() return false end,
diggable = false,
}) })
minetest.register_node("default:stone", { minetest.register_node("default:stone", {
@ -986,9 +983,6 @@ minetest.register_node("default:bedrock", {
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
is_ground_content = false, is_ground_content = false,
on_blast = function() end, on_blast = function() end,
on_destruct = function () end,
can_dig = function() return false end,
diggable = false,
drop = '', drop = '',
}) })

View File

@ -178,12 +178,10 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
description = "Command Block", description = "Command Block",
tiles = {"jeija_commandblock_off.png"}, tiles = {"jeija_commandblock_off.png"},
inventory_image = minetest.inventorycube("jeija_commandblock_off.png"), inventory_image = minetest.inventorycube("jeija_commandblock_off.png"),
groups = {mesecon_effector_off=1, not_in_creative_inventory=1}, groups = {mesecon_effector_off=1, not_in_creative_inventory=1, oddly_breakable_by_hand=5},
drop = "", drop = "",
diggable = false, diggable = false,
can_dig = function() return false end,
on_blast = function() end, on_blast = function() end,
on_destruct = function() end,
on_construct = construct, on_construct = construct,
is_ground_content = false, is_ground_content = false,
after_place_node = after_place, after_place_node = after_place,
@ -197,12 +195,9 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
minetest.register_node("mesecons_commandblock:commandblock_on", { minetest.register_node("mesecons_commandblock:commandblock_on", {
tiles = {"jeija_commandblock_on.png"}, tiles = {"jeija_commandblock_on.png"},
groups = {mesecon_effector_on=1, not_in_creative_inventory=1}, groups = {mesecon_effector_on=1, not_in_creative_inventory=1, oddly_breakable_by_hand=5},
drop = "", drop = "",
diggable = false,
can_dig = function() return false end,
on_blast = function() end, on_blast = function() end,
on_destruct = function() end,
on_construct = construct, on_construct = construct,
is_ground_content = false, is_ground_content = false,
after_place_node = after_place, after_place_node = after_place,