Set is_ground_content=false for some nodes

This commit is contained in:
Wuzzy 2018-01-31 19:36:27 +01:00
parent a84a0a0db6
commit 3e7ad08db0
4 changed files with 9 additions and 7 deletions

View File

@ -110,7 +110,7 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te
minetest.get_node_timer(pos):start(PRESSURE_PLATE_INTERVAL)
end,
sounds = sounds,
is_ground_content = false,
pressureplate_basename = basename,
pressureplate_activated_by = activated_by,
_mcl_blast_resistance = 2.5,

View File

@ -249,6 +249,7 @@ Read the help entries on the other redstone components to learn how redstone com
walkable = false,
drop = "mesecons:wire_00000000_off",
sounds = mcl_sounds.node_sound_defaults(),
is_ground_content = false,
mesecon_wire = true
},{
_doc_items_create_entry = wirehelp,

View File

@ -501,7 +501,7 @@ minetest.register_node("mcl_core:sandstonesmooth", {
description = "Cut Sandstone",
_doc_items_longdesc = "Cut sandstone is a decorational building block.",
tiles = {"mcl_core_sandstone_top.png", "mcl_core_sandstone_bottom.png", "mcl_core_sandstone_smooth.png"},
is_ground_content = true,
is_ground_content = false,
stack_max = 64,
groups = {pickaxey=1, sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -513,7 +513,7 @@ minetest.register_node("mcl_core:sandstonecarved", {
description = "Chiseled Sandstone",
_doc_items_longdesc = "Chiseled sandstone is a decorational building block.",
tiles = {"mcl_core_sandstone_top.png", "mcl_core_sandstone_bottom.png", "mcl_core_sandstone_carved.png"},
is_ground_content = true,
is_ground_content = false,
stack_max = 64,
groups = {pickaxey=1, sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -526,7 +526,7 @@ minetest.register_node("mcl_core:sandstonesmooth2", {
_doc_items_hidden = false,
_doc_items_longdesc = "Smooth sandstone is compressed sand and is a rather soft kind of stone.",
tiles = {"mcl_core_sandstone_top.png"},
is_ground_content = true,
is_ground_content = false,
stack_max = 64,
groups = {pickaxey=1, sandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -564,7 +564,7 @@ minetest.register_node("mcl_core:redsandstonesmooth", {
description = "Cut Red Sandstone",
_doc_items_longdesc = "Cut red sandstone is a decorational building block.",
tiles = {"mcl_core_red_sandstone_top.png", "mcl_core_red_sandstone_bottom.png", "mcl_core_red_sandstone_smooth.png"},
is_ground_content = true,
is_ground_content = false,
stack_max = 64,
groups = {pickaxey=1, redsandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -576,7 +576,7 @@ minetest.register_node("mcl_core:redsandstonecarved", {
description = "Chiseled Red Sandstone",
_doc_items_longdesc = "Chiseled red sandstone is a decorational building block.",
tiles = {"mcl_core_red_sandstone_top.png", "mcl_core_red_sandstone_bottom.png", "mcl_core_red_sandstone_carved.png"},
is_ground_content = true,
is_ground_content = false,
stack_max = 64,
groups = {pickaxey=1, redsandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
@ -588,7 +588,7 @@ minetest.register_node("mcl_core:redsandstonesmooth2", {
description = "Smooth Red Sandstone",
_doc_items_longdesc = "Smooth red sandstone is a decorational building block.",
tiles = {"mcl_core_red_sandstone_top.png"},
is_ground_content = true,
is_ground_content = false,
stack_max = 64,
groups = {pickaxey=1, redsandstone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),

View File

@ -25,6 +25,7 @@ local register_tree_trunk = function(subname, description_trunk, description_bar
stack_max = 64,
groups = {handy=1,axey=1, bark=1, flammable=2, building_block=1, material_wood=1},
sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = false,
_mcl_blast_resistance = 10,
_mcl_hardness = 2,
})