Set is_ground_content=false for a couple of nodes
This commit is contained in:
parent
74439d6f54
commit
73ecab26b9
@ -265,6 +265,7 @@ minetest.register_node(
|
||||
inventory_image = "bed_bed_inventory.png",
|
||||
tiles = {"bed_foot.png", "default_wood.png", "bed_side.png"},
|
||||
groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
@ -352,6 +353,7 @@ minetest.register_node(
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
pointable = false,
|
||||
tiles = {"bed_head.png", "default_wood.png", "bed_side.png"},
|
||||
groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
||||
|
@ -89,6 +89,7 @@ minetest.register_node(
|
||||
stack_max = 240,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
})
|
||||
|
||||
minetest.register_node(
|
||||
@ -96,6 +97,7 @@ minetest.register_node(
|
||||
{
|
||||
description = S("Reinforced Cobble"),
|
||||
tiles = {"default_reinforced_cobbles.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 1, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
@ -130,6 +132,7 @@ minetest.register_node(
|
||||
tiles = {"default_block_wrought_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
})
|
||||
|
||||
minetest.register_node(
|
||||
@ -139,6 +142,7 @@ minetest.register_node(
|
||||
tiles = {"default_block_steel.png"},
|
||||
groups = {cracky = 2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
})
|
||||
|
||||
minetest.register_node(
|
||||
@ -148,6 +152,7 @@ minetest.register_node(
|
||||
tiles = {"default_block_carbon_steel.png"},
|
||||
groups = {cracky = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
})
|
||||
|
||||
minetest.register_node(
|
||||
@ -157,6 +162,7 @@ minetest.register_node(
|
||||
tiles = {"default_block_bronze.png"},
|
||||
groups = {cracky = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
})
|
||||
|
||||
-- Soil
|
||||
@ -926,6 +932,7 @@ minetest.register_node(
|
||||
{
|
||||
description = S("Frame"),
|
||||
tiles = {"default_frame.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -936,6 +943,7 @@ minetest.register_node(
|
||||
{
|
||||
description = S("Reinforced Frame"),
|
||||
tiles = {"default_reinforced_frame.png"},
|
||||
is_ground_content = false,
|
||||
groups = {wood = 1, choppy = 1},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
|
@ -179,6 +179,7 @@ function door.register_door(name, def)
|
||||
end
|
||||
end,
|
||||
|
||||
is_ground_content = false,
|
||||
can_dig = check_player_priv,
|
||||
sounds = def.sounds,
|
||||
sunlight_propagates = def.sunlight
|
||||
@ -213,6 +214,7 @@ function door.register_door(name, def)
|
||||
end
|
||||
end,
|
||||
|
||||
is_ground_content = false,
|
||||
can_dig = check_player_priv,
|
||||
sounds = def.sounds,
|
||||
sunlight_propagates = def.sunlight,
|
||||
@ -247,6 +249,7 @@ function door.register_door(name, def)
|
||||
end
|
||||
end,
|
||||
|
||||
is_ground_content = false,
|
||||
can_dig = check_player_priv,
|
||||
sounds = def.sounds,
|
||||
sunlight_propagates = def.sunlight
|
||||
@ -281,6 +284,7 @@ function door.register_door(name, def)
|
||||
end
|
||||
end,
|
||||
|
||||
is_ground_content = false,
|
||||
can_dig = check_player_priv,
|
||||
sounds = def.sounds,
|
||||
sunlight_propagates = def.sunlight
|
||||
|
@ -66,6 +66,7 @@ minetest.register_node(
|
||||
tiles = {"lumien_block.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
is_ground_content = false,
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "wallmounted",
|
||||
@ -88,6 +89,7 @@ minetest.register_node(
|
||||
tiles = {"lumien_block.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
is_ground_content = false,
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "wallmounted",
|
||||
|
@ -97,6 +97,7 @@ if minetest.settings:get_bool("music_enable") then
|
||||
inventory_image = "music_inventory.png",
|
||||
wield_image = "music_inventory.png",
|
||||
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
|
||||
drawtype = "nodebox",
|
||||
@ -156,6 +157,7 @@ else
|
||||
inventory_image = "music_inventory.png",
|
||||
wield_image = "music_inventory.png",
|
||||
|
||||
is_ground_content = false,
|
||||
paramtype = "light",
|
||||
|
||||
drawtype = "nodebox",
|
||||
|
@ -40,6 +40,7 @@ function partialblocks.register_material(name, desc_slab, desc_stair, node, is_f
|
||||
},
|
||||
|
||||
paramtype = "light",
|
||||
is_ground_content = nodedef.is_ground_content,
|
||||
|
||||
on_rightclick = function(pos, _, _, itemstack, _)
|
||||
if minetest.get_node(pos).name == itemstack:get_name()
|
||||
@ -99,6 +100,7 @@ function partialblocks.register_material(name, desc_slab, desc_stair, node, is_f
|
||||
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = nodedef.is_ground_content,
|
||||
})
|
||||
|
||||
crafting.register_craft( -- Craft to
|
||||
|
@ -274,6 +274,7 @@ minetest.register_node(
|
||||
"tnt_bottom.png", "tnt_sides.png"},
|
||||
light_source = 5,
|
||||
drop = "tnt:tnt",
|
||||
is_ground_content = false,
|
||||
groups = {dig_immediate = 2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_timer = tnt.boom,
|
||||
|
Loading…
Reference in New Issue
Block a user