From 3badc3ff8a72a06e83babc6ac545fc532f04963a Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 2 Nov 2016 01:08:49 +0100 Subject: [PATCH] Set is_ground_content = false --- init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.lua b/init.lua index 0869012..c5a0c97 100644 --- a/init.lua +++ b/init.lua @@ -13,6 +13,7 @@ minetest.register_node("pseudonodes:pseudo_block", { tiles = { "pseudonodes_pseudo_block.png", "pseudonodes_nothing.png" }, inventory_image = minetest.inventorycube("pseudonodes_pseudo_block.png"), groups = { pseudo = 1 }, + is_ground_content = false, sunlight_propagates = true, walkable = false, sounds = { dig = { name="", gain = 0 } }, @@ -28,6 +29,7 @@ minetest.register_node("pseudonodes:replacable_pseudo_block", { tiles = { "pseudonodes_replacable_pseudo_block.png", "pseudonodes_nothing.png" }, inventory_image = minetest.inventorycube("pseudonodes_replacable_pseudo_block.png"), groups = { pseudo = 1 }, + is_ground_content = false, sunlight_propagates = true, walkable = false, sounds = { dig = { name="", gain = 0 } }, @@ -42,6 +44,7 @@ minetest.register_node("pseudonodes:replacable_block", { description = S("replacable block"), tiles = { "pseudonodes_replacable_block.png" }, groups = { pseudo = 1 }, + is_ground_content = false, walkable = true, buildable_to = true, sounds = { dig = { name="", gain = 0 } }, @@ -63,6 +66,7 @@ minetest.register_node("pseudonodes:pseudo_block_timer", { }, inventory_image = minetest.inventorycube("pseudonodes_pseudo_block_timer.png"), groups = { pseudo = 1 }, + is_ground_content = false, sunlight_propagates = true, walkable = false, sounds = { dig = { name="", gain = 0 } }, @@ -92,6 +96,7 @@ minetest.register_node("pseudonodes:replacable_pseudo_block_timer", { }, inventory_image = minetest.inventorycube("pseudonodes_replacable_pseudo_block_timer.png"), groups = { pseudo = 1 }, + is_ground_content = false, sunlight_propagates = true, walkable = false, sounds = { dig = { name="", gain = 0 } }, @@ -119,6 +124,7 @@ minetest.register_node("pseudonodes:switch_block_off", { walkable = false, sounds = { dig = { name="", gain = 0 } }, groups = { pseudo = 1 }, + is_ground_content = false, alpha = 0, stack_max = 9999, drop = "", @@ -136,6 +142,7 @@ minetest.register_node("pseudonodes:switch_block_on", { tiles = { "pseudonodes_switch_block_on.png" }, inventory_image = minetest.inventorycube("pseudonodes_switch_block_on.png"), groups = { pseudo = 1 }, + is_ground_content = false, diggable = true, walkable = true, stack_max = 9999,