Add is_ground_content=false to many many nodes

master
Wuzzy 2021-07-09 21:51:28 +02:00
parent ce9ffde921
commit 754e9baa50
14 changed files with 40 additions and 5 deletions

View File

@ -11,7 +11,7 @@ minetest.register_node(":carts:rail", {
wield_image = "default_rail.png",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = true,
is_ground_content = false,
walkable = false,
floodable = true,
selection_box = {
@ -40,7 +40,7 @@ minetest.register_node(":carts:copperrail", {
inventory_image = "carts_rail_cp.png",
wield_image = "carts_rail_cp.png",
paramtype = "light",
is_ground_content = true,
is_ground_content = false,
walkable = false,
floodable = true,
selection_box = {
@ -71,7 +71,7 @@ minetest.register_node(":carts:powerrail", {
inventory_image = "carts_rail_pwr.png",
wield_image = "carts_rail_pwr.png",
paramtype = "light",
is_ground_content = true,
is_ground_content = false,
walkable = false,
floodable = true,
selection_box = {
@ -118,7 +118,7 @@ minetest.register_node(":carts:brakerail", {
inventory_image = "carts_rail_brk.png",
wield_image = "carts_rail_brk.png",
paramtype = "light",
is_ground_content = true,
is_ground_content = false,
walkable = false,
floodable = true,
selection_box = {

View File

@ -10,6 +10,7 @@ minetest.register_node("columnia:bracket", {
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = "facedir",
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -41,6 +42,7 @@ minetest.register_node("columnia:lamp_ceiling", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
inventory_image = "columnia_lamp_inv.png",
wield_image = "columnia_lamp_inv.png",
tiles = {
@ -83,7 +85,7 @@ minetest.register_craft({
minetest.register_node("columnia:rusty_block", {
description = S("Rusty Block"),
tiles = {"columnia_rusty_block.png"},
is_ground_content = true,
is_ground_content = false,
groups = {cracky=1},
sounds = hades_sounds.node_sound_heavy_metal_defaults(),
})

View File

@ -17,6 +17,7 @@ minetest.register_node("columnia:machine", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
groups = {choppy=3, cracky=3, oddly_breakable_by_hand=2},
node_box = {
type = "fixed",

View File

@ -106,6 +106,7 @@ minetest.register_node("doors:hidden", {
pointable = false,
diggable = false,
buildable_to = false,
is_ground_content = false,
floodable = false,
drop = "",
groups = {not_in_creative_inventory = 1},

View File

@ -44,6 +44,7 @@ minetest.register_node("glowcrystals:glowcrystal_torch", {
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,
is_ground_content = false,
walkable = false,
floodable = true,
light_source = minetest.LIGHT_MAX-1,

View File

@ -34,6 +34,7 @@ minetest.register_node("gluncarp:machine", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
groups = {oddly_breakable_by_hand=2, choppy=3},
node_box = {
type = "fixed",

View File

@ -11,6 +11,7 @@ function hades_beds.register_bed(name, def)
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
stack_max = 1,
groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1},
sounds = hades_sounds.node_sound_wood_defaults(),
@ -62,6 +63,7 @@ function hades_beds.register_bed(name, def)
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 2},
sounds = hades_sounds.node_sound_wood_defaults(),
node_box = {

View File

@ -75,6 +75,7 @@ minetest.register_node(itemstring_unlocked, {
_tt_help = S("40 inventory slots"),
tiles = tiles_unlocked,
paramtype2 = "facedir",
is_ground_content = false,
groups = {choppy=2,oddly_breakable_by_hand=2, chest=1, unlocked_chest=1},
sounds = hades_sounds.node_sound_wood_defaults(),
on_construct = function(pos)
@ -108,6 +109,7 @@ minetest.register_node(itemstring_locked, {
_tt_help = S("40 inventory slots, owned by placer"),
tiles = tiles_locked,
paramtype2 = "facedir",
is_ground_content = false,
groups = {choppy=2,oddly_breakable_by_hand=2, chest=2, locked_chest=1},
is_ground_content = false,
sounds = hades_sounds.node_sound_wood_defaults(),

View File

@ -52,6 +52,7 @@ minetest.register_node("hades_flowerpots:flower_pot", {
visual_scale = 0.5,
wield_scale = {x=1.0, y=1.0, z=1.0},
paramtype = "light",
is_ground_content = false,
floodable = true,
selection_box = {
type = "fixed",
@ -113,6 +114,7 @@ minetest.register_node("hades_flowerpots:flower_pot_"..flower, {
visual_scale = 0.5,
wield_scale = {x=1.0, y=1.0, z=1.0},
paramtype = "light",
is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2},
@ -150,6 +152,7 @@ minetest.register_node("hades_flowerpots:flower_pot_"..flower, {
visual_scale = 0.5,
wield_scale = {x=1.0, y=1.0, z=1.0},
paramtype = "light",
is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2}

View File

@ -57,6 +57,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = "facedir",
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -85,6 +86,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = "facedir",
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -132,6 +134,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = "facedir",
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -191,6 +194,7 @@ local S = minetest.get_translator("hades_furniture")
use_texture_alpha = "clip",
paramtype = 'light',
paramtype2 = 'facedir',
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -241,6 +245,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = false,
paramtype = 'light',
paramtype2 = "facedir",
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -286,6 +291,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = false,
paramtype = 'light',
paramtype2 = 'facedir',
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -341,6 +347,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = 'facedir',
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -377,6 +384,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = 'facedir',
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -421,6 +429,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = 'facedir',
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -456,6 +465,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = 'facedir',
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -491,6 +501,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = "facedir",
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -525,6 +536,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = true,
paramtype = 'light',
paramtype2 ="facedir",
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -558,6 +570,7 @@ local S = minetest.get_translator("hades_furniture")
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = "facedir",
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {
@ -656,6 +669,7 @@ local S = minetest.get_translator("hades_furniture")
tiles = {"hades_furniture_plant_pot_top.png", "hades_furniture_plant_pot_bottom.png", "hades_furniture_plant_pot_sides.png"},
is_ground_content = false,
drawtype = "nodebox",
is_ground_content = false,
node_box = {
type = "fixed",
fixed = {

View File

@ -5,6 +5,7 @@ minetest.register_node("hades_lamps:lamp_wall", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "wallmounted",
is_ground_content = false,
tiles = {"hades_lamps_lamp.png"},
wield_image = "hades_lamps_lamp_inv.png",
inventory_image = "hades_lamps_lamp_inv.png",
@ -26,6 +27,7 @@ minetest.register_node("hades_lamps:lantern", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
tiles = {
"hades_lamps_lantern_top.png",
"hades_lamps_lantern_top.png", -- bottom
@ -56,6 +58,7 @@ minetest.register_node("hades_lamps:lantern_rusty", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
tiles = {
"hades_lamps_lantern_rusty_top.png",
"hades_lamps_lantern_rusty_top.png", -- bottom

View File

@ -18,6 +18,7 @@ hades_torches.register_torch = function(id, def)
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "wallmounted",
is_ground_content = false,
sunlight_propagates = true,
walkable = false,
floodable = true,
@ -65,6 +66,7 @@ hades_torches.register_torch = function(id, def)
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "wallmounted",
is_ground_content = false,
sunlight_propagates = true,
walkable = false,
floodable = true,
@ -86,6 +88,7 @@ hades_torches.register_torch = function(id, def)
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "wallmounted",
is_ground_content = false,
sunlight_propagates = true,
walkable = false,
floodable = true,

View File

@ -40,6 +40,7 @@ for p=1, #planks do
description = desc,
tiles = {tile},
groups = {choppy=3,oddly_breakable_by_hand=2,flammable=3,wood=1,colwood=colwood},
is_ground_content = false,
sounds = hades_sounds.node_sound_wood_defaults(),
})
end

View File

@ -13,6 +13,7 @@ minetest.register_node("mobs:spawner", {
description = S("Mob Spawner"),
_tt_help = S("Periodically spawns mobs around it"),
groups = {cracky = 1},
is_ground_content = false,
sounds = hades_sounds.node_sound_metal_defaults(),
on_construct = function(pos)