Fix is_ground_content settings for nodes

Remove line if set to the default of 'true'
This commit is contained in:
paramat 2015-06-14 04:58:54 +01:00
parent 15ef8b0995
commit e15fde1624
10 changed files with 35 additions and 47 deletions

View File

@ -7,6 +7,7 @@ function beds.register_bed(name, def)
tiles = def.tiles.bottom, tiles = def.tiles.bottom,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false,
stack_max = 1, stack_max = 1,
groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1}, groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
@ -87,6 +88,7 @@ function beds.register_bed(name, def)
tiles = def.tiles.top, tiles = def.tiles.top,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false,
groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 2}, groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 2},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
node_box = { node_box = {

View File

@ -147,7 +147,6 @@ default:nyancat_rainbow
minetest.register_node("default:stone", { minetest.register_node("default:stone", {
description = "Stone", description = "Stone",
tiles = {"default_stone.png"}, tiles = {"default_stone.png"},
is_ground_content = true,
groups = {cracky=3, stone=1}, groups = {cracky=3, stone=1},
drop = 'default:cobble', drop = 'default:cobble',
legacy_mineral = true, legacy_mineral = true,
@ -157,7 +156,7 @@ minetest.register_node("default:stone", {
minetest.register_node("default:cobble", { minetest.register_node("default:cobble", {
description = "Cobblestone", description = "Cobblestone",
tiles = {"default_cobble.png"}, tiles = {"default_cobble.png"},
is_ground_content = true, is_ground_content = false,
groups = {cracky=3, stone=2}, groups = {cracky=3, stone=2},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -165,6 +164,7 @@ minetest.register_node("default:cobble", {
minetest.register_node("default:stonebrick", { minetest.register_node("default:stonebrick", {
description = "Stone Brick", description = "Stone Brick",
tiles = {"default_stone_brick.png"}, tiles = {"default_stone_brick.png"},
is_ground_content = false,
groups = {cracky=2, stone=1}, groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -172,7 +172,7 @@ minetest.register_node("default:stonebrick", {
minetest.register_node("default:mossycobble", { minetest.register_node("default:mossycobble", {
description = "Mossy Cobblestone", description = "Mossy Cobblestone",
tiles = {"default_mossycobble.png"}, tiles = {"default_mossycobble.png"},
is_ground_content = true, is_ground_content = false,
groups = {cracky=3, stone=1}, groups = {cracky=3, stone=1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -182,7 +182,6 @@ minetest.register_node("default:mossycobble", {
minetest.register_node("default:desert_stone", { minetest.register_node("default:desert_stone", {
description = "Desert Stone", description = "Desert Stone",
tiles = {"default_desert_stone.png"}, tiles = {"default_desert_stone.png"},
is_ground_content = true,
groups = {cracky=3, stone=1}, groups = {cracky=3, stone=1},
drop = 'default:desert_cobble', drop = 'default:desert_cobble',
legacy_mineral = true, legacy_mineral = true,
@ -192,7 +191,7 @@ minetest.register_node("default:desert_stone", {
minetest.register_node("default:desert_cobble", { minetest.register_node("default:desert_cobble", {
description = "Desert Cobblestone", description = "Desert Cobblestone",
tiles = {"default_desert_cobble.png"}, tiles = {"default_desert_cobble.png"},
is_ground_content = true, is_ground_content = false,
groups = {cracky=3, stone=2}, groups = {cracky=3, stone=2},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -200,6 +199,7 @@ minetest.register_node("default:desert_cobble", {
minetest.register_node("default:desert_stonebrick", { minetest.register_node("default:desert_stonebrick", {
description = "Desert Stone Brick", description = "Desert Stone Brick",
tiles = {"default_desert_stone_brick.png"}, tiles = {"default_desert_stone_brick.png"},
is_ground_content = false,
groups = {cracky=2, stone=1}, groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -209,7 +209,6 @@ minetest.register_node("default:desert_stonebrick", {
minetest.register_node("default:sandstone", { minetest.register_node("default:sandstone", {
description = "Sandstone", description = "Sandstone",
tiles = {"default_sandstone.png"}, tiles = {"default_sandstone.png"},
is_ground_content = true,
groups = {crumbly=2,cracky=3}, groups = {crumbly=2,cracky=3},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -217,7 +216,7 @@ minetest.register_node("default:sandstone", {
minetest.register_node("default:sandstonebrick", { minetest.register_node("default:sandstonebrick", {
description = "Sandstone Brick", description = "Sandstone Brick",
tiles = {"default_sandstone_brick.png"}, tiles = {"default_sandstone_brick.png"},
is_ground_content = true, is_ground_content = false,
groups = {cracky=2}, groups = {cracky=2},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -227,7 +226,6 @@ minetest.register_node("default:sandstonebrick", {
minetest.register_node("default:obsidian", { minetest.register_node("default:obsidian", {
description = "Obsidian", description = "Obsidian",
tiles = {"default_obsidian.png"}, tiles = {"default_obsidian.png"},
is_ground_content = true,
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
groups = {cracky=1,level=2}, groups = {cracky=1,level=2},
}) })
@ -235,6 +233,7 @@ minetest.register_node("default:obsidian", {
minetest.register_node("default:obsidianbrick", { minetest.register_node("default:obsidianbrick", {
description = "Obsidian Brick", description = "Obsidian Brick",
tiles = {"default_obsidian_brick.png"}, tiles = {"default_obsidian_brick.png"},
is_ground_content = false,
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
groups = {cracky=1,level=2}, groups = {cracky=1,level=2},
}) })
@ -246,7 +245,6 @@ minetest.register_node("default:obsidianbrick", {
minetest.register_node("default:dirt", { minetest.register_node("default:dirt", {
description = "Dirt", description = "Dirt",
tiles = {"default_dirt.png"}, tiles = {"default_dirt.png"},
is_ground_content = true,
groups = {crumbly=3,soil=1}, groups = {crumbly=3,soil=1},
sounds = default.node_sound_dirt_defaults(), sounds = default.node_sound_dirt_defaults(),
}) })
@ -254,7 +252,6 @@ minetest.register_node("default:dirt", {
minetest.register_node("default:dirt_with_grass", { minetest.register_node("default:dirt_with_grass", {
description = "Dirt with Grass", description = "Dirt with Grass",
tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"}, tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
is_ground_content = true,
groups = {crumbly=3,soil=1}, groups = {crumbly=3,soil=1},
drop = 'default:dirt', drop = 'default:dirt',
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults({
@ -265,7 +262,6 @@ minetest.register_node("default:dirt_with_grass", {
minetest.register_node("default:dirt_with_grass_footsteps", { minetest.register_node("default:dirt_with_grass_footsteps", {
description = "Dirt with Grass and Footsteps", description = "Dirt with Grass and Footsteps",
tiles = {"default_grass_footsteps.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"}, tiles = {"default_grass_footsteps.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
is_ground_content = true,
groups = {crumbly=3,soil=1,not_in_creative_inventory=1}, groups = {crumbly=3,soil=1,not_in_creative_inventory=1},
drop = 'default:dirt', drop = 'default:dirt',
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults({
@ -276,7 +272,6 @@ minetest.register_node("default:dirt_with_grass_footsteps", {
minetest.register_node("default:dirt_with_snow", { minetest.register_node("default:dirt_with_snow", {
description = "Dirt with Snow", description = "Dirt with Snow",
tiles = {"default_snow.png", "default_dirt.png", "default_dirt.png^default_snow_side.png"}, tiles = {"default_snow.png", "default_dirt.png", "default_dirt.png^default_snow_side.png"},
is_ground_content = true,
groups = {crumbly=3,soil=1}, groups = {crumbly=3,soil=1},
drop = 'default:dirt', drop = 'default:dirt',
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults({
@ -289,7 +284,6 @@ minetest.register_node("default:dirt_with_snow", {
minetest.register_node("default:sand", { minetest.register_node("default:sand", {
description = "Sand", description = "Sand",
tiles = {"default_sand.png"}, tiles = {"default_sand.png"},
is_ground_content = true,
groups = {crumbly=3, falling_node=1, sand=1}, groups = {crumbly=3, falling_node=1, sand=1},
sounds = default.node_sound_sand_defaults(), sounds = default.node_sound_sand_defaults(),
}) })
@ -297,7 +291,6 @@ minetest.register_node("default:sand", {
minetest.register_node("default:desert_sand", { minetest.register_node("default:desert_sand", {
description = "Desert Sand", description = "Desert Sand",
tiles = {"default_desert_sand.png"}, tiles = {"default_desert_sand.png"},
is_ground_content = true,
groups = {crumbly=3, falling_node=1, sand=1}, groups = {crumbly=3, falling_node=1, sand=1},
sounds = default.node_sound_sand_defaults(), sounds = default.node_sound_sand_defaults(),
}) })
@ -307,7 +300,6 @@ minetest.register_node("default:desert_sand", {
minetest.register_node("default:gravel", { minetest.register_node("default:gravel", {
description = "Gravel", description = "Gravel",
tiles = {"default_gravel.png"}, tiles = {"default_gravel.png"},
is_ground_content = true,
groups = {crumbly=2, falling_node=1}, groups = {crumbly=2, falling_node=1},
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5}, footstep = {name="default_gravel_footstep", gain=0.5},
@ -320,7 +312,6 @@ minetest.register_node("default:gravel", {
minetest.register_node("default:clay", { minetest.register_node("default:clay", {
description = "Clay", description = "Clay",
tiles = {"default_clay.png"}, tiles = {"default_clay.png"},
is_ground_content = true,
groups = {crumbly=3}, groups = {crumbly=3},
drop = 'default:clay_lump 4', drop = 'default:clay_lump 4',
sounds = default.node_sound_dirt_defaults(), sounds = default.node_sound_dirt_defaults(),
@ -333,7 +324,6 @@ minetest.register_node("default:snow", {
tiles = {"default_snow.png"}, tiles = {"default_snow.png"},
inventory_image = "default_snowball.png", inventory_image = "default_snowball.png",
wield_image = "default_snowball.png", wield_image = "default_snowball.png",
is_ground_content = true,
paramtype = "light", paramtype = "light",
buildable_to = true, buildable_to = true,
drawtype = "nodebox", drawtype = "nodebox",
@ -361,7 +351,6 @@ minetest.register_node("default:snow", {
minetest.register_node("default:snowblock", { minetest.register_node("default:snowblock", {
description = "Snow Block", description = "Snow Block",
tiles = {"default_snow.png"}, tiles = {"default_snow.png"},
is_ground_content = true,
groups = {crumbly=3}, groups = {crumbly=3},
sounds = default.node_sound_dirt_defaults({ sounds = default.node_sound_dirt_defaults({
footstep = {name="default_snow_footstep", gain=0.25}, footstep = {name="default_snow_footstep", gain=0.25},
@ -398,6 +387,7 @@ minetest.register_node("default:tree", {
minetest.register_node("default:wood", { minetest.register_node("default:wood", {
description = "Wooden Planks", description = "Wooden Planks",
tiles = {"default_wood.png"}, tiles = {"default_wood.png"},
is_ground_content = false,
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
}) })
@ -412,7 +402,6 @@ minetest.register_node("default:sapling", {
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
is_ground_content = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
@ -459,7 +448,7 @@ minetest.register_node("default:apple", {
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
is_ground_content = true, is_ground_content = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2} fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
@ -491,6 +480,7 @@ minetest.register_node("default:jungletree", {
minetest.register_node("default:junglewood", { minetest.register_node("default:junglewood", {
description = "Junglewood Planks", description = "Junglewood Planks",
tiles = {"default_junglewood.png"}, tiles = {"default_junglewood.png"},
is_ground_content = false,
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
}) })
@ -558,6 +548,7 @@ minetest.register_node("default:pinetree", {
minetest.register_node("default:pinewood", { minetest.register_node("default:pinewood", {
description = "Pinewood Planks", description = "Pinewood Planks",
tiles = {"default_pinewood.png"}, tiles = {"default_pinewood.png"},
is_ground_content = false,
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
}) })
@ -600,7 +591,6 @@ minetest.register_node("default:pine_sapling", {
wield_image = "default_pine_sapling.png", wield_image = "default_pine_sapling.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
is_ground_content = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
@ -616,7 +606,6 @@ minetest.register_node("default:pine_sapling", {
minetest.register_node("default:stone_with_coal", { minetest.register_node("default:stone_with_coal", {
description = "Coal Ore", description = "Coal Ore",
tiles = {"default_stone.png^default_mineral_coal.png"}, tiles = {"default_stone.png^default_mineral_coal.png"},
is_ground_content = true,
groups = {cracky=3}, groups = {cracky=3},
drop = 'default:coal_lump', drop = 'default:coal_lump',
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
@ -625,7 +614,7 @@ minetest.register_node("default:stone_with_coal", {
minetest.register_node("default:coalblock", { minetest.register_node("default:coalblock", {
description = "Coal Block", description = "Coal Block",
tiles = {"default_coal_block.png"}, tiles = {"default_coal_block.png"},
is_ground_content = true, is_ground_content = false,
groups = {cracky=3}, groups = {cracky=3},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -635,7 +624,6 @@ minetest.register_node("default:coalblock", {
minetest.register_node("default:stone_with_iron", { minetest.register_node("default:stone_with_iron", {
description = "Iron Ore", description = "Iron Ore",
tiles = {"default_stone.png^default_mineral_iron.png"}, tiles = {"default_stone.png^default_mineral_iron.png"},
is_ground_content = true,
groups = {cracky=2}, groups = {cracky=2},
drop = 'default:iron_lump', drop = 'default:iron_lump',
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
@ -644,7 +632,7 @@ minetest.register_node("default:stone_with_iron", {
minetest.register_node("default:steelblock", { minetest.register_node("default:steelblock", {
description = "Steel Block", description = "Steel Block",
tiles = {"default_steel_block.png"}, tiles = {"default_steel_block.png"},
is_ground_content = true, is_ground_content = false,
groups = {cracky=1,level=2}, groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -654,7 +642,6 @@ minetest.register_node("default:steelblock", {
minetest.register_node("default:stone_with_copper", { minetest.register_node("default:stone_with_copper", {
description = "Copper Ore", description = "Copper Ore",
tiles = {"default_stone.png^default_mineral_copper.png"}, tiles = {"default_stone.png^default_mineral_copper.png"},
is_ground_content = true,
groups = {cracky=2}, groups = {cracky=2},
drop = 'default:copper_lump', drop = 'default:copper_lump',
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
@ -663,7 +650,7 @@ minetest.register_node("default:stone_with_copper", {
minetest.register_node("default:copperblock", { minetest.register_node("default:copperblock", {
description = "Copper Block", description = "Copper Block",
tiles = {"default_copper_block.png"}, tiles = {"default_copper_block.png"},
is_ground_content = true, is_ground_content = false,
groups = {cracky=1,level=2}, groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -671,7 +658,7 @@ minetest.register_node("default:copperblock", {
minetest.register_node("default:bronzeblock", { minetest.register_node("default:bronzeblock", {
description = "Bronze Block", description = "Bronze Block",
tiles = {"default_bronze_block.png"}, tiles = {"default_bronze_block.png"},
is_ground_content = true, is_ground_content = false,
groups = {cracky=1,level=2}, groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -682,7 +669,6 @@ minetest.register_node("default:stone_with_mese", {
description = "Mese Ore", description = "Mese Ore",
tiles = {"default_stone.png^default_mineral_mese.png"}, tiles = {"default_stone.png^default_mineral_mese.png"},
paramtype = "light", paramtype = "light",
is_ground_content = true,
groups = {cracky = 1}, groups = {cracky = 1},
drop = "default:mese_crystal", drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
@ -693,7 +679,6 @@ minetest.register_node("default:mese", {
description = "Mese Block", description = "Mese Block",
tiles = {"default_mese_block.png"}, tiles = {"default_mese_block.png"},
paramtype = "light", paramtype = "light",
is_ground_content = true,
groups = {cracky = 1, level = 2}, groups = {cracky = 1, level = 2},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
light_source = 3, light_source = 3,
@ -705,7 +690,6 @@ minetest.register_node("default:mese", {
minetest.register_node("default:stone_with_gold", { minetest.register_node("default:stone_with_gold", {
description = "Gold Ore", description = "Gold Ore",
tiles = {"default_stone.png^default_mineral_gold.png"}, tiles = {"default_stone.png^default_mineral_gold.png"},
is_ground_content = true,
groups = {cracky=2}, groups = {cracky=2},
drop = "default:gold_lump", drop = "default:gold_lump",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
@ -714,7 +698,7 @@ minetest.register_node("default:stone_with_gold", {
minetest.register_node("default:goldblock", { minetest.register_node("default:goldblock", {
description = "Gold Block", description = "Gold Block",
tiles = {"default_gold_block.png"}, tiles = {"default_gold_block.png"},
is_ground_content = true, is_ground_content = false,
groups = {cracky=1}, groups = {cracky=1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -724,7 +708,6 @@ minetest.register_node("default:goldblock", {
minetest.register_node("default:stone_with_diamond", { minetest.register_node("default:stone_with_diamond", {
description = "Diamond Ore", description = "Diamond Ore",
tiles = {"default_stone.png^default_mineral_diamond.png"}, tiles = {"default_stone.png^default_mineral_diamond.png"},
is_ground_content = true,
groups = {cracky=1}, groups = {cracky=1},
drop = "default:diamond", drop = "default:diamond",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
@ -733,7 +716,7 @@ minetest.register_node("default:stone_with_diamond", {
minetest.register_node("default:diamondblock", { minetest.register_node("default:diamondblock", {
description = "Diamond Block", description = "Diamond Block",
tiles = {"default_diamond_block.png"}, tiles = {"default_diamond_block.png"},
is_ground_content = true, is_ground_content = false,
groups = {cracky=1,level=3}, groups = {cracky=1,level=3},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -746,7 +729,6 @@ minetest.register_node("default:cactus", {
description = "Cactus", description = "Cactus",
tiles = {"default_cactus_top.png", "default_cactus_top.png", "default_cactus_side.png"}, tiles = {"default_cactus_top.png", "default_cactus_top.png", "default_cactus_side.png"},
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = true,
groups = {snappy=1,choppy=3,flammable=2}, groups = {snappy=1,choppy=3,flammable=2},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
on_place = minetest.rotate_node, on_place = minetest.rotate_node,
@ -765,7 +747,6 @@ minetest.register_node("default:papyrus", {
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
is_ground_content = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
@ -789,7 +770,6 @@ minetest.register_node("default:dry_shrub", {
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
is_ground_content = true,
buildable_to = true, buildable_to = true,
groups = {snappy=3,flammable=3,attached_node=1}, groups = {snappy=3,flammable=3,attached_node=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
@ -811,7 +791,6 @@ minetest.register_node("default:junglegrass", {
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
buildable_to = true, buildable_to = true,
is_ground_content = true,
groups = {snappy=3,flammable=2,flora=1,attached_node=1}, groups = {snappy=3,flammable=2,flora=1,attached_node=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
@ -831,7 +810,6 @@ minetest.register_node("default:grass_1", {
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
is_ground_content = true,
buildable_to = true, buildable_to = true,
groups = {snappy=3,flammable=3,flora=1,attached_node=1}, groups = {snappy=3,flammable=3,flora=1,attached_node=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
@ -860,7 +838,6 @@ for i=2,5 do
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
buildable_to = true, buildable_to = true,
is_ground_content = true,
drop = "default:grass_1", drop = "default:grass_1",
groups = {snappy=3,flammable=3,flora=1,attached_node=1,not_in_creative_inventory=1}, groups = {snappy=3,flammable=3,flora=1,attached_node=1,not_in_creative_inventory=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
@ -1585,6 +1562,7 @@ minetest.register_node("default:meselamp", {
minetest.register_node("default:cloud", { minetest.register_node("default:cloud", {
description = "Cloud", description = "Cloud",
tiles = {"default_cloud.png"}, tiles = {"default_cloud.png"},
is_ground_content = false,
sounds = default.node_sound_defaults(), sounds = default.node_sound_defaults(),
groups = {not_in_creative_inventory=1}, groups = {not_in_creative_inventory=1},
}) })

View File

@ -194,6 +194,7 @@ function doors.register_door(name, def)
tiles = {tb[2], tb[2], tb[2], tb[2], tb[1], tb[1].."^[transformfx"}, tiles = {tb[2], tb[2], tb[2], tb[2], tb[1], tb[1].."^[transformfx"},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false,
drop = name, drop = name,
drawtype = "nodebox", drawtype = "nodebox",
node_box = { node_box = {
@ -231,6 +232,7 @@ function doors.register_door(name, def)
tiles = {tt[2], tt[2], tt[2], tt[2], tt[1], tt[1].."^[transformfx"}, tiles = {tt[2], tt[2], tt[2], tt[2], tt[1], tt[1].."^[transformfx"},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false,
drop = "", drop = "",
drawtype = "nodebox", drawtype = "nodebox",
node_box = { node_box = {
@ -268,6 +270,7 @@ function doors.register_door(name, def)
tiles = {tb[2], tb[2], tb[2], tb[2], tb[1].."^[transformfx", tb[1]}, tiles = {tb[2], tb[2], tb[2], tb[2], tb[1].."^[transformfx", tb[1]},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false,
drop = name, drop = name,
drawtype = "nodebox", drawtype = "nodebox",
node_box = { node_box = {
@ -305,6 +308,7 @@ function doors.register_door(name, def)
tiles = {tt[2], tt[2], tt[2], tt[2], tt[1].."^[transformfx", tt[1]}, tiles = {tt[2], tt[2], tt[2], tt[2], tt[1].."^[transformfx", tt[1]},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false,
drop = "", drop = "",
drawtype = "nodebox", drawtype = "nodebox",
node_box = { node_box = {
@ -441,6 +445,7 @@ function doors.register_trapdoor(name, def)
def.drawtype = "nodebox" def.drawtype = "nodebox"
def.paramtype = "light" def.paramtype = "light"
def.paramtype2 = "facedir" def.paramtype2 = "facedir"
def.is_ground_content = false
local def_opened = table.copy(def) local def_opened = table.copy(def)
local def_closed = table.copy(def) local def_closed = table.copy(def)

View File

@ -230,7 +230,6 @@ farming.register_plant = function(name, def)
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true, buildable_to = true,
is_ground_content = true,
drop = drop, drop = drop,
selection_box = { selection_box = {
type = "fixed", type = "fixed",

View File

@ -20,7 +20,6 @@ minetest.register_node("farming:soil", {
description = "Soil", description = "Soil",
tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"}, tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"},
drop = "default:dirt", drop = "default:dirt",
is_ground_content = true,
groups = {crumbly=3, not_in_creative_inventory=1, soil=2, grassland = 1, field = 1}, groups = {crumbly=3, not_in_creative_inventory=1, soil=2, grassland = 1, field = 1},
sounds = default.node_sound_dirt_defaults(), sounds = default.node_sound_dirt_defaults(),
soil = { soil = {
@ -34,7 +33,6 @@ minetest.register_node("farming:soil_wet", {
description = "Wet Soil", description = "Wet Soil",
tiles = {"default_dirt.png^farming_soil_wet.png", "default_dirt.png^farming_soil_wet_side.png"}, tiles = {"default_dirt.png^farming_soil_wet.png", "default_dirt.png^farming_soil_wet_side.png"},
drop = "default:dirt", drop = "default:dirt",
is_ground_content = true,
groups = {crumbly=3, not_in_creative_inventory=1, soil=3, wet = 1, grassland = 1, field = 1}, groups = {crumbly=3, not_in_creative_inventory=1, soil=3, wet = 1, grassland = 1, field = 1},
sounds = default.node_sound_dirt_defaults(), sounds = default.node_sound_dirt_defaults(),
soil = { soil = {
@ -56,7 +54,6 @@ minetest.register_node("farming:desert_sand_soil", {
description = "Desert Sand Soil", description = "Desert Sand Soil",
drop = "default:desert_sand", drop = "default:desert_sand",
tiles = {"farming_desert_sand_soil.png", "default_desert_sand.png"}, tiles = {"farming_desert_sand_soil.png", "default_desert_sand.png"},
is_ground_content = true,
groups = {crumbly=3, not_in_creative_inventory = 1, falling_node=1, sand=1, soil = 2, desert = 1, field = 1}, groups = {crumbly=3, not_in_creative_inventory = 1, falling_node=1, sand=1, soil = 2, desert = 1, field = 1},
sounds = default.node_sound_sand_defaults(), sounds = default.node_sound_sand_defaults(),
soil = { soil = {
@ -70,7 +67,6 @@ minetest.register_node("farming:desert_sand_soil_wet", {
description = "Wet Desert Sand Soil", description = "Wet Desert Sand Soil",
drop = "default:desert_sand", drop = "default:desert_sand",
tiles = {"farming_desert_sand_soil_wet.png", "farming_desert_sand_soil_wet_side.png"}, tiles = {"farming_desert_sand_soil_wet.png", "farming_desert_sand_soil_wet_side.png"},
is_ground_content = true,
groups = {crumbly=3, falling_node=1, sand=1, not_in_creative_inventory=1, soil=3, wet = 1, desert = 1, field = 1}, groups = {crumbly=3, falling_node=1, sand=1, not_in_creative_inventory=1, soil=3, wet = 1, desert = 1, field = 1},
sounds = default.node_sound_sand_defaults(), sounds = default.node_sound_sand_defaults(),
soil = { soil = {

View File

@ -11,7 +11,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
tiles = images, tiles = images,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = true, is_ground_content = false,
groups = groups, groups = groups,
sounds = sounds, sounds = sounds,
node_box = { node_box = {
@ -87,7 +87,7 @@ function stairs.register_slab(subname, recipeitem, groups, images, description,
tiles = images, tiles = images,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = true, is_ground_content = false,
groups = groups, groups = groups,
sounds = sounds, sounds = sounds,
node_box = { node_box = {

View File

@ -215,6 +215,7 @@ end
minetest.register_node("tnt:tnt", { minetest.register_node("tnt:tnt", {
description = "TNT", description = "TNT",
tiles = {"tnt_top.png", "tnt_bottom.png", "tnt_side.png"}, tiles = {"tnt_top.png", "tnt_bottom.png", "tnt_side.png"},
is_ground_content = false,
groups = {dig_immediate=2, mesecon=2}, groups = {dig_immediate=2, mesecon=2},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
on_punch = function(pos, node, puncher) on_punch = function(pos, node, puncher)
@ -268,6 +269,7 @@ minetest.register_node("tnt:gunpowder", {
description = "Gun Powder", description = "Gun Powder",
drawtype = "raillike", drawtype = "raillike",
paramtype = "light", paramtype = "light",
is_ground_content = false,
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
tiles = {"tnt_gunpowder_straight.png", "tnt_gunpowder_curved.png", "tnt_gunpowder_t_junction.png", "tnt_gunpowder_crossing.png"}, tiles = {"tnt_gunpowder_straight.png", "tnt_gunpowder_curved.png", "tnt_gunpowder_t_junction.png", "tnt_gunpowder_crossing.png"},

View File

@ -89,6 +89,7 @@ minetest.register_node("vessels:glass_bottle", {
inventory_image = "vessels_glass_bottle_inv.png", inventory_image = "vessels_glass_bottle_inv.png",
wield_image = "vessels_glass_bottle.png", wield_image = "vessels_glass_bottle.png",
paramtype = "light", paramtype = "light",
is_ground_content = false,
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -114,6 +115,7 @@ minetest.register_node("vessels:drinking_glass", {
inventory_image = "vessels_drinking_glass_inv.png", inventory_image = "vessels_drinking_glass_inv.png",
wield_image = "vessels_drinking_glass.png", wield_image = "vessels_drinking_glass.png",
paramtype = "light", paramtype = "light",
is_ground_content = false,
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -139,6 +141,7 @@ minetest.register_node("vessels:steel_bottle", {
inventory_image = "vessels_steel_bottle_inv.png", inventory_image = "vessels_steel_bottle_inv.png",
wield_image = "vessels_steel_bottle.png", wield_image = "vessels_steel_bottle.png",
paramtype = "light", paramtype = "light",
is_ground_content = false,
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",

View File

@ -34,6 +34,7 @@ for _, row in ipairs(wool.dyes) do
minetest.register_node("wool:"..name, { minetest.register_node("wool:"..name, {
description = desc.." Wool", description = desc.." Wool",
tiles = {"wool_"..name..".png"}, tiles = {"wool_"..name..".png"},
is_ground_content = false,
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1},
sounds = default.node_sound_defaults(), sounds = default.node_sound_defaults(),
}) })

View File

@ -152,6 +152,7 @@ xpanes.register_pane("pane", {
tiles = {"xpanes_space.png"}, tiles = {"xpanes_space.png"},
drawtype = "airlike", drawtype = "airlike",
paramtype = "light", paramtype = "light",
is_ground_content = false,
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
pointable = false, pointable = false,
@ -174,6 +175,7 @@ xpanes.register_pane("bar", {
tiles = {"xpanes_space.png"}, tiles = {"xpanes_space.png"},
drawtype = "airlike", drawtype = "airlike",
paramtype = "light", paramtype = "light",
is_ground_content = false,
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
pointable = false, pointable = false,