From f0fdcb4e08475b8a1759774e0f43cec0cee6075a Mon Sep 17 00:00:00 2001 From: adrido Date: Sun, 19 Feb 2017 11:09:18 +0100 Subject: [PATCH] is_ground_content = false --- blocks.lua | 15 +++++++-------- health.lua | 4 ++-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/blocks.lua b/blocks.lua index 294cc3d..079c670 100644 --- a/blocks.lua +++ b/blocks.lua @@ -41,7 +41,7 @@ minetest.register_node("bobblocks:block", { paramtype2 = "color", palette = "unifieddyes_palette.png", sunlight_propagates = true, - is_ground_content = true, + is_ground_content = false, sounds = default.node_sound_glass_defaults(), light_source = LIGHT_MAX-0, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, ud_param2_colorable = 1}, @@ -60,7 +60,7 @@ minetest.register_node("bobblocks:block_off", { tiles = {"bobblocks_block.png^[opacity:"..bobblocks.opacity}, paramtype2 = "color", palette = "unifieddyes_palette.png", - is_ground_content = true, + is_ground_content = false, use_texture_alpha = true, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1}, drop = "bobblocks:block", @@ -83,7 +83,7 @@ minetest.register_node("bobblocks:pole", { paramtype2 = "color", palette = "unifieddyes_palette.png", sunlight_propagates = true, - is_ground_content = true, + is_ground_content = false, sounds = default.node_sound_glass_defaults(), light_source = LIGHT_MAX-0, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, ud_param2_colorable = 1}, @@ -104,7 +104,7 @@ minetest.register_node("bobblocks:pole_off", { paramtype2 = "color", palette = "unifieddyes_palette.png", sunlight_propagates = true, - is_ground_content = true, + is_ground_content = false, use_texture_alpha = true, sounds = default.node_sound_glass_defaults(), light_source = LIGHT_MAX-10, @@ -127,7 +127,6 @@ minetest.register_node("bobblocks:btm", { "bobblocks_btm_sides.png", "bobblocks_btm_sides.png", "bobblocks_btm.png"}, inventory_image = "bobblocks_btm.png", paramtype2 = "facedir", - material = minetest.digprop_dirtlike(1.0), legacy_facedir_simple = true, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1}, }) @@ -140,7 +139,7 @@ minetest.register_node("bobblocks:wavyblock", { paramtype2 = "color", palette = "unifieddyes_palette.png", sunlight_propagates = true, - is_ground_content = true, + is_ground_content = false, sounds = default.node_sound_glass_defaults(), light_source = LIGHT_MAX-0, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, ud_param2_colorable = 1}, @@ -160,7 +159,7 @@ minetest.register_node("bobblocks:wavyblock_off", { tiles = {"bobblocks_wavyblock.png^[opacity:"..bobblocks.opacity}, paramtype2 = "color", palette = "unifieddyes_palette.png", - is_ground_content = true, + is_ground_content = false, use_texture_alpha = true, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1}, drop = "bobblocks:wavyblock", @@ -183,7 +182,7 @@ minetest.register_node("bobblocks:wavypole", { paramtype2 = "color", palette = "unifieddyes_palette.png", sunlight_propagates = true, - is_ground_content = true, + is_ground_content = false, sounds = default.node_sound_glass_defaults(), groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, ud_param2_colorable = 1}, after_dig_node = unifieddyes.after_dig_node, diff --git a/health.lua b/health.lua index a26e552..9588f87 100644 --- a/health.lua +++ b/health.lua @@ -37,7 +37,7 @@ minetest.register_node("bobblocks:health_off", { paramtype2 = "facedir", legacy_facedir_simple = true, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, - is_ground_content = true, + is_ground_content = false, walkable = false, climbable = false, mesecons = {conductor={ @@ -53,7 +53,7 @@ minetest.register_node("bobblocks:health_on", { legacy_facedir_simple = true, light_source = LIGHT_MAX-0, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, - is_ground_content = true, + is_ground_content = false, walkable = false, climbable = false, drop = "bobblocks:health_off",