forked from VoxeLibre/VoxeLibre
Set is_ground_content=false for some nodes
This commit is contained in:
parent
a84a0a0db6
commit
3e7ad08db0
|
@ -110,7 +110,7 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te
|
||||||
minetest.get_node_timer(pos):start(PRESSURE_PLATE_INTERVAL)
|
minetest.get_node_timer(pos):start(PRESSURE_PLATE_INTERVAL)
|
||||||
end,
|
end,
|
||||||
sounds = sounds,
|
sounds = sounds,
|
||||||
|
is_ground_content = false,
|
||||||
pressureplate_basename = basename,
|
pressureplate_basename = basename,
|
||||||
pressureplate_activated_by = activated_by,
|
pressureplate_activated_by = activated_by,
|
||||||
_mcl_blast_resistance = 2.5,
|
_mcl_blast_resistance = 2.5,
|
||||||
|
|
|
@ -249,6 +249,7 @@ Read the help entries on the other redstone components to learn how redstone com
|
||||||
walkable = false,
|
walkable = false,
|
||||||
drop = "mesecons:wire_00000000_off",
|
drop = "mesecons:wire_00000000_off",
|
||||||
sounds = mcl_sounds.node_sound_defaults(),
|
sounds = mcl_sounds.node_sound_defaults(),
|
||||||
|
is_ground_content = false,
|
||||||
mesecon_wire = true
|
mesecon_wire = true
|
||||||
},{
|
},{
|
||||||
_doc_items_create_entry = wirehelp,
|
_doc_items_create_entry = wirehelp,
|
||||||
|
|
|
@ -501,7 +501,7 @@ minetest.register_node("mcl_core:sandstonesmooth", {
|
||||||
description = "Cut Sandstone",
|
description = "Cut Sandstone",
|
||||||
_doc_items_longdesc = "Cut sandstone is a decorational building block.",
|
_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"},
|
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,
|
stack_max = 64,
|
||||||
groups = {pickaxey=1, sandstone=1, building_block=1, material_stone=1},
|
groups = {pickaxey=1, sandstone=1, building_block=1, material_stone=1},
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
@ -513,7 +513,7 @@ minetest.register_node("mcl_core:sandstonecarved", {
|
||||||
description = "Chiseled Sandstone",
|
description = "Chiseled Sandstone",
|
||||||
_doc_items_longdesc = "Chiseled sandstone is a decorational building block.",
|
_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"},
|
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,
|
stack_max = 64,
|
||||||
groups = {pickaxey=1, sandstone=1, building_block=1, material_stone=1},
|
groups = {pickaxey=1, sandstone=1, building_block=1, material_stone=1},
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
@ -526,7 +526,7 @@ minetest.register_node("mcl_core:sandstonesmooth2", {
|
||||||
_doc_items_hidden = false,
|
_doc_items_hidden = false,
|
||||||
_doc_items_longdesc = "Smooth sandstone is compressed sand and is a rather soft kind of stone.",
|
_doc_items_longdesc = "Smooth sandstone is compressed sand and is a rather soft kind of stone.",
|
||||||
tiles = {"mcl_core_sandstone_top.png"},
|
tiles = {"mcl_core_sandstone_top.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = {pickaxey=1, sandstone=1, building_block=1, material_stone=1},
|
groups = {pickaxey=1, sandstone=1, building_block=1, material_stone=1},
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
@ -564,7 +564,7 @@ minetest.register_node("mcl_core:redsandstonesmooth", {
|
||||||
description = "Cut Red Sandstone",
|
description = "Cut Red Sandstone",
|
||||||
_doc_items_longdesc = "Cut red sandstone is a decorational building block.",
|
_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"},
|
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,
|
stack_max = 64,
|
||||||
groups = {pickaxey=1, redsandstone=1, building_block=1, material_stone=1},
|
groups = {pickaxey=1, redsandstone=1, building_block=1, material_stone=1},
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
@ -576,7 +576,7 @@ minetest.register_node("mcl_core:redsandstonecarved", {
|
||||||
description = "Chiseled Red Sandstone",
|
description = "Chiseled Red Sandstone",
|
||||||
_doc_items_longdesc = "Chiseled red sandstone is a decorational building block.",
|
_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"},
|
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,
|
stack_max = 64,
|
||||||
groups = {pickaxey=1, redsandstone=1, building_block=1, material_stone=1},
|
groups = {pickaxey=1, redsandstone=1, building_block=1, material_stone=1},
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
@ -588,7 +588,7 @@ minetest.register_node("mcl_core:redsandstonesmooth2", {
|
||||||
description = "Smooth Red Sandstone",
|
description = "Smooth Red Sandstone",
|
||||||
_doc_items_longdesc = "Smooth red sandstone is a decorational building block.",
|
_doc_items_longdesc = "Smooth red sandstone is a decorational building block.",
|
||||||
tiles = {"mcl_core_red_sandstone_top.png"},
|
tiles = {"mcl_core_red_sandstone_top.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = {pickaxey=1, redsandstone=1, building_block=1, material_stone=1},
|
groups = {pickaxey=1, redsandstone=1, building_block=1, material_stone=1},
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
|
|
@ -25,6 +25,7 @@ local register_tree_trunk = function(subname, description_trunk, description_bar
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = {handy=1,axey=1, bark=1, flammable=2, building_block=1, material_wood=1},
|
groups = {handy=1,axey=1, bark=1, flammable=2, building_block=1, material_wood=1},
|
||||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||||
|
is_ground_content = false,
|
||||||
_mcl_blast_resistance = 10,
|
_mcl_blast_resistance = 10,
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue