summaryrefslogtreecommitdiff
path: root/mesecons_extrawires
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2017-10-31 22:50:39 +0100
committerVitaliy <silverunicorn2011@yandex.ru>2017-11-01 00:50:39 +0300
commitff0bd76efece4738ed6ba406460859a4d1e7cd8e (patch)
tree85f24d74ffac5aa767cfba6be8c931701508edbc /mesecons_extrawires
parentdb39eef2f6583c91d3d2c8823eaa1b627110980d (diff)
downloadmesecons-ff0bd76efece4738ed6ba406460859a4d1e7cd8e.tar
mesecons-ff0bd76efece4738ed6ba406460859a4d1e7cd8e.tar.gz
mesecons-ff0bd76efece4738ed6ba406460859a4d1e7cd8e.tar.bz2
mesecons-ff0bd76efece4738ed6ba406460859a4d1e7cd8e.tar.xz
mesecons-ff0bd76efece4738ed6ba406460859a4d1e7cd8e.zip
Set is_ground_content to false (#386)
Diffstat (limited to 'mesecons_extrawires')
-rw-r--r--mesecons_extrawires/corner.lua2
-rw-r--r--mesecons_extrawires/crossover.lua4
-rw-r--r--mesecons_extrawires/tjunction.lua2
-rw-r--r--mesecons_extrawires/vertical.lua3
4 files changed, 11 insertions, 0 deletions
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,