summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons/oldwires.lua4
-rw-r--r--mesecons_blinkyplant/init.lua1
-rw-r--r--mesecons_button/init.lua2
-rw-r--r--mesecons_commandblock/init.lua2
-rw-r--r--mesecons_delayer/init.lua4
-rw-r--r--mesecons_detector/init.lua4
-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
-rw-r--r--mesecons_fpga/init.lua1
-rw-r--r--mesecons_gates/init.lua1
-rw-r--r--mesecons_hydroturbine/init.lua2
-rw-r--r--mesecons_insulated/init.lua2
-rw-r--r--mesecons_lamp/init.lua2
-rw-r--r--mesecons_lightstone/init.lua2
-rw-r--r--mesecons_luacontroller/init.lua2
-rw-r--r--mesecons_microcontroller/init.lua1
-rw-r--r--mesecons_movestones/init.lua4
-rw-r--r--mesecons_noteblock/init.lua1
-rw-r--r--mesecons_pistons/init.lua6
-rw-r--r--mesecons_powerplant/init.lua1
-rw-r--r--mesecons_pressureplates/init.lua3
-rw-r--r--mesecons_random/init.lua4
-rw-r--r--mesecons_receiver/init.lua3
-rw-r--r--mesecons_solarpanel/init.lua4
-rw-r--r--mesecons_stickyblocks/init.lua1
-rw-r--r--mesecons_switch/init.lua1
-rw-r--r--mesecons_torch/init.lua2
-rw-r--r--mesecons_walllever/init.lua1
-rw-r--r--mesecons_wires/init.lua1
31 files changed, 63 insertions, 10 deletions
diff --git a/mesecons/oldwires.lua b/mesecons/oldwires.lua
index b3b09e5..43bf302 100644
--- a/mesecons/oldwires.lua
+++ b/mesecons/oldwires.lua
@@ -4,7 +4,7 @@ minetest.register_node("mesecons:mesecon_off", {
inventory_image = "jeija_mesecon_off.png",
wield_image = "jeija_mesecon_off.png",
paramtype = "light",
- is_ground_content = true,
+ is_ground_content = false,
walkable = false,
selection_box = {
type = "fixed",
@@ -22,7 +22,7 @@ minetest.register_node("mesecons:mesecon_on", {
drawtype = "raillike",
tiles = {"jeija_mesecon_on.png", "jeija_mesecon_curved_on.png", "jeija_mesecon_t_junction_on.png", "jeija_mesecon_crossing_on.png"},
paramtype = "light",
- is_ground_content = true,
+ is_ground_content = false,
walkable = false,
selection_box = {
type = "fixed",
diff --git a/mesecons_blinkyplant/init.lua b/mesecons_blinkyplant/init.lua
index 8d2aa6e..14a274f 100644
--- a/mesecons_blinkyplant/init.lua
+++ b/mesecons_blinkyplant/init.lua
@@ -24,6 +24,7 @@ mesecon.register_node("mesecons_blinkyplant:blinky_plant", {
drawtype = "plantlike",
inventory_image = "jeija_blinky_plant_off.png",
paramtype = "light",
+ is_ground_content = false,
walkable = false,
sounds = default.node_sound_leaves_defaults(),
selection_box = {
diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua
index 89f0355..104fc5b 100644
--- a/mesecons_button/init.lua
+++ b/mesecons_button/init.lua
@@ -25,6 +25,7 @@ minetest.register_node("mesecons_button:button_off", {
},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
legacy_wallmounted = true,
walkable = false,
on_rotate = mesecon.buttonlike_onrotate,
@@ -68,6 +69,7 @@ minetest.register_node("mesecons_button:button_on", {
},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
legacy_wallmounted = true,
walkable = false,
on_rotate = false,
diff --git a/mesecons_commandblock/init.lua b/mesecons_commandblock/init.lua
index e4484f5..326b8ae 100644
--- a/mesecons_commandblock/init.lua
+++ b/mesecons_commandblock/init.lua
@@ -181,6 +181,7 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
description = "Command Block",
tiles = {"jeija_commandblock_off.png"},
inventory_image = minetest.inventorycube("jeija_commandblock_off.png"),
+ is_ground_content = false,
groups = {cracky=2, mesecon_effector_off=1},
on_construct = construct,
after_place_node = after_place,
@@ -195,6 +196,7 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
minetest.register_node("mesecons_commandblock:commandblock_on", {
tiles = {"jeija_commandblock_on.png"},
+ is_ground_content = false,
groups = {cracky=2, mesecon_effector_on=1, not_in_creative_inventory=1},
light_source = 10,
drop = "mesecons_commandblock:commandblock_off",
diff --git a/mesecons_delayer/init.lua b/mesecons_delayer/init.lua
index 3ae9484..0cbfd42 100644
--- a/mesecons_delayer/init.lua
+++ b/mesecons_delayer/init.lua
@@ -87,7 +87,7 @@ minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
- is_ground_content = true,
+ is_ground_content = false,
drop = 'mesecons_delayer:delayer_off_1',
on_punch = function (pos, node)
if node.name=="mesecons_delayer:delayer_off_1" then
@@ -143,7 +143,7 @@ minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), {
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
- is_ground_content = true,
+ is_ground_content = false,
drop = 'mesecons_delayer:delayer_off_1',
on_punch = function (pos, node)
if node.name=="mesecons_delayer:delayer_on_1" then
diff --git a/mesecons_detector/init.lua b/mesecons_detector/init.lua
index a6e729b..08c2d04 100644
--- a/mesecons_detector/init.lua
+++ b/mesecons_detector/init.lua
@@ -66,6 +66,7 @@ local object_detector_digiline = {
minetest.register_node("mesecons_detector:object_detector_off", {
tiles = {"default_steel_block.png", "default_steel_block.png", "jeija_object_detector_off.png", "jeija_object_detector_off.png", "jeija_object_detector_off.png", "jeija_object_detector_off.png"},
paramtype = "light",
+ is_ground_content = false,
walkable = true,
groups = {cracky=3},
description="Player Detector",
@@ -83,6 +84,7 @@ minetest.register_node("mesecons_detector:object_detector_off", {
minetest.register_node("mesecons_detector:object_detector_on", {
tiles = {"default_steel_block.png", "default_steel_block.png", "jeija_object_detector_on.png", "jeija_object_detector_on.png", "jeija_object_detector_on.png", "jeija_object_detector_on.png"},
paramtype = "light",
+ is_ground_content = false,
walkable = true,
groups = {cracky=3,not_in_creative_inventory=1},
drop = 'mesecons_detector:object_detector_off',
@@ -227,6 +229,7 @@ minetest.register_node("mesecons_detector:node_detector_off", {
tiles = {"default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "jeija_node_detector_off.png"},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
walkable = true,
groups = {cracky=3},
description="Node Detector",
@@ -244,6 +247,7 @@ minetest.register_node("mesecons_detector:node_detector_on", {
tiles = {"default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "jeija_node_detector_on.png"},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
walkable = true,
groups = {cracky=3,not_in_creative_inventory=1},
drop = 'mesecons_detector:node_detector_off',
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,
diff --git a/mesecons_fpga/init.lua b/mesecons_fpga/init.lua
index 97de775..941b61a 100644
--- a/mesecons_fpga/init.lua
+++ b/mesecons_fpga/init.lua
@@ -69,6 +69,7 @@ plg.register_nodes({
"jeija_fpga_sides.png"
},
inventory_image = "", -- replaced later
+ is_ground_content = false,
sunlight_propagates = true,
paramtype = "light",
walkable = true,
diff --git a/mesecons_gates/init.lua b/mesecons_gates/init.lua
index 3807d6f..421a7d4 100644
--- a/mesecons_gates/init.lua
+++ b/mesecons_gates/init.lua
@@ -65,6 +65,7 @@ local function register_gate(name, inputnumber, assess, recipe, description)
inventory_image = "jeija_gate_off.png^jeija_gate_"..name..".png",
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
drawtype = "nodebox",
drop = basename.."_off",
selection_box = nodebox,
diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua
index 7175c58..395b8f6 100644
--- a/mesecons_hydroturbine/init.lua
+++ b/mesecons_hydroturbine/init.lua
@@ -13,6 +13,7 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", {
"jeija_hydro_turbine_turbine_misc_off.png"
},
inventory_image = "jeija_hydro_turbine_inv.png",
+ is_ground_content = false,
wield_scale = {x=0.75, y=0.75, z=0.75},
groups = {dig_immediate=2},
description="Water Turbine",
@@ -30,6 +31,7 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", {
minetest.register_node("mesecons_hydroturbine:hydro_turbine_on", {
drawtype = "mesh",
+ is_ground_content = false,
mesh = "jeija_hydro_turbine_on.obj",
wield_scale = {x=0.75, y=0.75, z=0.75},
tiles = {
diff --git a/mesecons_insulated/init.lua b/mesecons_insulated/init.lua
index b494540..20abc64 100644
--- a/mesecons_insulated/init.lua
+++ b/mesecons_insulated/init.lua
@@ -20,6 +20,7 @@ minetest.register_node("mesecons_insulated:insulated_on", {
},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
walkable = false,
sunlight_propagates = true,
selection_box = {
@@ -53,6 +54,7 @@ minetest.register_node("mesecons_insulated:insulated_off", {
},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
walkable = false,
sunlight_propagates = true,
selection_box = {
diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua
index a5459c3..14a3659 100644
--- a/mesecons_lamp/init.lua
+++ b/mesecons_lamp/init.lua
@@ -14,6 +14,7 @@ minetest.register_node("mesecons_lamp:lamp_on", {
tiles = {"jeija_meselamp_on.png"},
paramtype = "light",
paramtype2 = "wallmounted",
+ is_ground_content = false,
legacy_wallmounted = true,
sunlight_propagates = true,
walkable = true,
@@ -39,6 +40,7 @@ minetest.register_node("mesecons_lamp:lamp_off", {
wield_image = "jeija_meselamp.png",
paramtype = "light",
paramtype2 = "wallmounted",
+ is_ground_content = false,
sunlight_propagates = true,
walkable = true,
node_box = mesecon_lamp_box,
diff --git a/mesecons_lightstone/init.lua b/mesecons_lightstone/init.lua
index 765c65a..4e56ba2 100644
--- a/mesecons_lightstone/init.lua
+++ b/mesecons_lightstone/init.lua
@@ -20,6 +20,7 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on, desc)
end
minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_off", {
tiles = {texture_off},
+ is_ground_content = false,
groups = {cracky = 2, mesecon_effector_off = 1, mesecon = 2},
description = desc,
sounds = default.node_sound_stone_defaults(),
@@ -33,6 +34,7 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on, desc)
})
minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_on", {
tiles = {texture_on},
+ is_ground_content = false,
groups = {cracky = 2, not_in_creative_inventory = 1, mesecon = 2},
drop = "mesecons_lightstone:lightstone_" .. name .. "_off",
light_source = minetest.LIGHT_MAX - 2,
diff --git a/mesecons_luacontroller/init.lua b/mesecons_luacontroller/init.lua
index 93703d8..85d16fa 100644
--- a/mesecons_luacontroller/init.lua
+++ b/mesecons_luacontroller/init.lua
@@ -625,6 +625,7 @@ for d = 0, 1 do
},
inventory_image = top,
paramtype = "light",
+ is_ground_content = false,
groups = groups,
drop = BASENAME.."0000",
sunlight_propagates = true,
@@ -672,6 +673,7 @@ minetest.register_node(BASENAME .. "_burnt", {
inventory_image = "jeija_luacontroller_burnt_top.png",
is_burnt = true,
paramtype = "light",
+ is_ground_content = false,
groups = {dig_immediate=2, not_in_creative_inventory=1},
drop = BASENAME.."0000",
sunlight_propagates = true,
diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua
index 4f14240..46272b9 100644
--- a/mesecons_microcontroller/init.lua
+++ b/mesecons_microcontroller/init.lua
@@ -69,6 +69,7 @@ minetest.register_node(nodename, {
sunlight_propagates = true,
paramtype = "light",
+ is_ground_content = false,
walkable = true,
groups = groups,
drop = "mesecons_microcontroller:microcontroller0000 1",
diff --git a/mesecons_movestones/init.lua b/mesecons_movestones/init.lua
index 723c7fd..76fd3cd 100644
--- a/mesecons_movestones/init.lua
+++ b/mesecons_movestones/init.lua
@@ -70,6 +70,8 @@ function mesecon.register_movestone(name, def, is_sticky, is_vertical)
end
end
+ def.is_ground_content = false
+
def.mesecons = {effector = {
action_on = function(pos, node, rulename)
if rulename and not minetest.get_node_timer(pos):is_started() then
@@ -90,8 +92,6 @@ function mesecon.register_movestone(name, def, is_sticky, is_vertical)
def.on_blast = mesecon.on_blastnode
- def.on_blast = mesecon.on_blastnode
-
minetest.register_node(name, def)
end
diff --git a/mesecons_noteblock/init.lua b/mesecons_noteblock/init.lua
index 869a2a0..9fa59ea 100644
--- a/mesecons_noteblock/init.lua
+++ b/mesecons_noteblock/init.lua
@@ -1,6 +1,7 @@
minetest.register_node("mesecons_noteblock:noteblock", {
description = "Noteblock",
tiles = {"mesecons_noteblock.png"},
+ is_ground_content = false,
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2},
on_punch = function(pos, node) -- change sound when punched
node.param2 = (node.param2+1)%12
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua
index be0077d..5e2cdf9 100644
--- a/mesecons_pistons/init.lua
+++ b/mesecons_pistons/init.lua
@@ -264,6 +264,7 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
},
groups = {cracky = 3},
paramtype2 = "facedir",
+ is_ground_content = false,
after_place_node = piston_orientate,
sounds = default.node_sound_wood_defaults(),
mesecons = {effector={
@@ -289,6 +290,7 @@ minetest.register_node("mesecons_pistons:piston_normal_on", {
groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
drop = "mesecons_pistons:piston_normal_off",
after_dig_node = piston_remove_pusher,
node_box = piston_on_box,
@@ -317,6 +319,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_normal", {
groups = {not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
diggable = false,
selection_box = piston_pusher_box,
node_box = piston_pusher_box,
@@ -338,6 +341,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
},
groups = {cracky = 3},
paramtype2 = "facedir",
+ is_ground_content = false,
after_place_node = piston_orientate,
sounds = default.node_sound_wood_defaults(),
mesecons = {effector={
@@ -363,6 +367,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
drop = "mesecons_pistons:piston_sticky_off",
after_dig_node = piston_remove_pusher,
node_box = piston_on_box,
@@ -391,6 +396,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
groups = {not_in_creative_inventory = 1},
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
diggable = false,
selection_box = piston_pusher_box,
node_box = piston_pusher_box,
diff --git a/mesecons_powerplant/init.lua b/mesecons_powerplant/init.lua
index 13b9f2c..28cad25 100644
--- a/mesecons_powerplant/init.lua
+++ b/mesecons_powerplant/init.lua
@@ -7,6 +7,7 @@ minetest.register_node("mesecons_powerplant:power_plant", {
tiles = {"jeija_power_plant.png"},
inventory_image = "jeija_power_plant.png",
paramtype = "light",
+ is_ground_content = false,
walkable = false,
groups = {dig_immediate=3, mesecon = 2},
light_source = default.LIGHT_MAX-9,
diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua
index cd4529b..6337941 100644
--- a/mesecons_pressureplates/init.lua
+++ b/mesecons_pressureplates/init.lua
@@ -49,7 +49,8 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te
inventory_image = image_i,
wield_image = image_w,
paramtype = "light",
- description = description,
+ is_ground_content = false,
+ description = description,
pressureplate_basename = basename,
on_timer = pp_on_timer,
on_construct = function(pos)
diff --git a/mesecons_random/init.lua b/mesecons_random/init.lua
index 397a995..0536007 100644
--- a/mesecons_random/init.lua
+++ b/mesecons_random/init.lua
@@ -2,6 +2,7 @@
minetest.register_node("mesecons_random:removestone", {
tiles = {"jeija_removestone.png"},
+ is_ground_content = false,
inventory_image = minetest.inventorycube("jeija_removestone_inv.png"),
groups = {cracky=3},
description="Removestone",
@@ -30,7 +31,7 @@ minetest.register_craft({
minetest.register_node("mesecons_random:ghoststone", {
description="Ghoststone",
tiles = {"jeija_ghoststone.png"},
- is_ground_content = true,
+ is_ground_content = false,
inventory_image = minetest.inventorycube("jeija_ghoststone_inv.png"),
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
@@ -47,6 +48,7 @@ minetest.register_node("mesecons_random:ghoststone_active", {
pointable = false,
walkable = false,
diggable = false,
+ is_ground_content = false,
sunlight_propagates = true,
paramtype = "light",
drop = "mesecons_random:ghoststone",
diff --git a/mesecons_receiver/init.lua b/mesecons_receiver/init.lua
index a5cf7d5..edf6622 100644
--- a/mesecons_receiver/init.lua
+++ b/mesecons_receiver/init.lua
@@ -42,6 +42,7 @@ mesecon.register_node("mesecons_receiver:receiver", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
sunlight_propagates = true,
walkable = false,
on_rotate = false,
@@ -89,6 +90,7 @@ mesecon.register_node("mesecons_receiver:receiver_up", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
sunlight_propagates = true,
walkable = false,
on_rotate = false,
@@ -132,6 +134,7 @@ mesecon.register_node("mesecons_receiver:receiver_down", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
sunlight_propagates = true,
walkable = false,
on_rotate = false,
diff --git a/mesecons_solarpanel/init.lua b/mesecons_solarpanel/init.lua
index 9981d95..ccc5882 100644
--- a/mesecons_solarpanel/init.lua
+++ b/mesecons_solarpanel/init.lua
@@ -7,7 +7,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", {
paramtype = "light",
paramtype2 = "wallmounted",
walkable = false,
- is_ground_content = true,
+ is_ground_content = false,
node_box = {
type = "wallmounted",
wall_bottom = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
@@ -39,7 +39,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", {
paramtype = "light",
paramtype2 = "wallmounted",
walkable = false,
- is_ground_content = true,
+ is_ground_content = false,
node_box = {
type = "wallmounted",
wall_bottom = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
diff --git a/mesecons_stickyblocks/init.lua b/mesecons_stickyblocks/init.lua
index e124143..6177f4a 100644
--- a/mesecons_stickyblocks/init.lua
+++ b/mesecons_stickyblocks/init.lua
@@ -5,6 +5,7 @@
minetest.register_node("mesecons_stickyblocks:sticky_block_all", {
description = "All-Sides Sticky Block",
tiles = {"default_grass.png^default_footprint.png"},
+ is_ground_content = false,
groups = {dig_immediate=2},
mvps_sticky = function (pos, node)
local connected = {}
diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua
index 3d59c0a..7f42253 100644
--- a/mesecons_switch/init.lua
+++ b/mesecons_switch/init.lua
@@ -3,6 +3,7 @@
mesecon.register_node("mesecons_switch:mesecon_switch", {
paramtype2="facedir",
description="Switch",
+ is_ground_content = false,
sounds = default.node_sound_stone_defaults(),
on_rightclick = function (pos, node)
if(mesecon.flipstate(pos, node) == "on") then
diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua
index de16224..5f1d25a 100644
--- a/mesecons_torch/init.lua
+++ b/mesecons_torch/init.lua
@@ -54,6 +54,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_off", {
tiles = {"jeija_torches_off.png", "jeija_torches_off_ceiling.png", "jeija_torches_off_side.png"},
inventory_image = "jeija_torches_off.png",
paramtype = "light",
+ is_ground_content = false,
walkable = false,
paramtype2 = "wallmounted",
selection_box = torch_selectionbox,
@@ -72,6 +73,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
inventory_image = "jeija_torches_on.png",
wield_image = "jeija_torches_on.png",
paramtype = "light",
+ is_ground_content = false,
sunlight_propagates = true,
walkable = false,
paramtype2 = "wallmounted",
diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua
index e9454cd..1dc08f0 100644
--- a/mesecons_walllever/init.lua
+++ b/mesecons_walllever/init.lua
@@ -8,6 +8,7 @@ mesecon.register_node("mesecons_walllever:wall_lever", {
wield_image = "jeija_wall_lever_inv.png",
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
sunlight_propagates = true,
walkable = false,
selection_box = {
diff --git a/mesecons_wires/init.lua b/mesecons_wires/init.lua
index 60a8d76..1766a99 100644
--- a/mesecons_wires/init.lua
+++ b/mesecons_wires/init.lua
@@ -208,6 +208,7 @@ local function register_wires()
wield_image = "mesecons_wire_inv.png",
paramtype = "light",
paramtype2 = "facedir",
+ is_ground_content = false,
sunlight_propagates = true,
selection_box = selectionbox,
node_box = nodebox,