From ff0bd76efece4738ed6ba406460859a4d1e7cd8e Mon Sep 17 00:00:00 2001 From: DS Date: Tue, 31 Oct 2017 22:50:39 +0100 Subject: Set is_ground_content to false (#386) --- mesecons_extrawires/corner.lua | 2 ++ mesecons_extrawires/crossover.lua | 4 ++++ mesecons_extrawires/tjunction.lua | 2 ++ mesecons_extrawires/vertical.lua | 3 +++ 4 files changed, 11 insertions(+) (limited to 'mesecons_extrawires') diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua index 4b90260..27cfab8 100644 --- a/mesecons_extrawires/corner.lua +++ b/mesecons_extrawires/corner.lua @@ -33,6 +33,7 @@ minetest.register_node("mesecons_extrawires:corner_on", { }, paramtype = "light", paramtype2 = "facedir", + is_ground_content = false, walkable = false, sunlight_propagates = true, selection_box = corner_selectionbox, @@ -61,6 +62,7 @@ minetest.register_node("mesecons_extrawires:corner_off", { }, paramtype = "light", paramtype2 = "facedir", + is_ground_content = false, walkable = false, sunlight_propagates = true, selection_box = corner_selectionbox, diff --git a/mesecons_extrawires/crossover.lua b/mesecons_extrawires/crossover.lua index 95aeeaa..4aefbbc 100644 --- a/mesecons_extrawires/crossover.lua +++ b/mesecons_extrawires/crossover.lua @@ -29,6 +29,7 @@ minetest.register_node("mesecons_extrawires:crossover_off", { "jeija_insulated_wire_ends_off.png" }, paramtype = "light", + is_ground_content = false, walkable = false, stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, @@ -54,6 +55,7 @@ minetest.register_node("mesecons_extrawires:crossover_01", { "jeija_insulated_wire_ends_off.png" }, paramtype = "light", + is_ground_content = false, walkable = false, stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, @@ -79,6 +81,7 @@ minetest.register_node("mesecons_extrawires:crossover_10", { "jeija_insulated_wire_ends_on.png" }, paramtype = "light", + is_ground_content = false, walkable = false, stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, @@ -104,6 +107,7 @@ minetest.register_node("mesecons_extrawires:crossover_on", { "jeija_insulated_wire_ends_on.png" }, paramtype = "light", + is_ground_content = false, walkable = false, stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua index 1bfc48a..018ee48 100644 --- a/mesecons_extrawires/tjunction.lua +++ b/mesecons_extrawires/tjunction.lua @@ -34,6 +34,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", { }, paramtype = "light", paramtype2 = "facedir", + is_ground_content = false, walkable = false, sunlight_propagates = true, selection_box = tjunction_selectionbox, @@ -62,6 +63,7 @@ minetest.register_node("mesecons_extrawires:tjunction_off", { }, paramtype = "light", paramtype2 = "facedir", + is_ground_content = false, walkable = false, sunlight_propagates = true, selection_box = tjunction_selectionbox, diff --git a/mesecons_extrawires/vertical.lua b/mesecons_extrawires/vertical.lua index 9fabee0..1cff013 100644 --- a/mesecons_extrawires/vertical.lua +++ b/mesecons_extrawires/vertical.lua @@ -81,6 +81,7 @@ mesecon.register_node("mesecons_extrawires:vertical", { drawtype = "nodebox", walkable = false, paramtype = "light", + is_ground_content = false, sunlight_propagates = true, selection_box = vertical_box, node_box = vertical_box, @@ -112,6 +113,7 @@ mesecon.register_node("mesecons_extrawires:vertical_top", { drawtype = "nodebox", walkable = false, paramtype = "light", + is_ground_content = false, sunlight_propagates = true, groups = {dig_immediate=3, not_in_creative_inventory=1}, selection_box = top_box, @@ -142,6 +144,7 @@ mesecon.register_node("mesecons_extrawires:vertical_bottom", { drawtype = "nodebox", walkable = false, paramtype = "light", + is_ground_content = false, sunlight_propagates = true, groups = {dig_immediate = 3, not_in_creative_inventory = 1}, selection_box = bottom_box, -- cgit v1.2.3