Skip to content

Commit ff0bd76

Browse files
DesournumberZero
authored andcommittedOct 31, 2017
Set is_ground_content to false (#386)
1 parent db39eef commit ff0bd76

File tree

31 files changed

+63
-10
lines changed

31 files changed

+63
-10
lines changed
 

Diff for: ‎mesecons/oldwires.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ minetest.register_node("mesecons:mesecon_off", {
44
inventory_image = "jeija_mesecon_off.png",
55
wield_image = "jeija_mesecon_off.png",
66
paramtype = "light",
7-
is_ground_content = true,
7+
is_ground_content = false,
88
walkable = false,
99
selection_box = {
1010
type = "fixed",
@@ -22,7 +22,7 @@ minetest.register_node("mesecons:mesecon_on", {
2222
drawtype = "raillike",
2323
tiles = {"jeija_mesecon_on.png", "jeija_mesecon_curved_on.png", "jeija_mesecon_t_junction_on.png", "jeija_mesecon_crossing_on.png"},
2424
paramtype = "light",
25-
is_ground_content = true,
25+
is_ground_content = false,
2626
walkable = false,
2727
selection_box = {
2828
type = "fixed",

Diff for: ‎mesecons_blinkyplant/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ mesecon.register_node("mesecons_blinkyplant:blinky_plant", {
2424
drawtype = "plantlike",
2525
inventory_image = "jeija_blinky_plant_off.png",
2626
paramtype = "light",
27+
is_ground_content = false,
2728
walkable = false,
2829
sounds = default.node_sound_leaves_defaults(),
2930
selection_box = {

Diff for: ‎mesecons_button/init.lua

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ minetest.register_node("mesecons_button:button_off", {
2525
},
2626
paramtype = "light",
2727
paramtype2 = "facedir",
28+
is_ground_content = false,
2829
legacy_wallmounted = true,
2930
walkable = false,
3031
on_rotate = mesecon.buttonlike_onrotate,
@@ -68,6 +69,7 @@ minetest.register_node("mesecons_button:button_on", {
6869
},
6970
paramtype = "light",
7071
paramtype2 = "facedir",
72+
is_ground_content = false,
7173
legacy_wallmounted = true,
7274
walkable = false,
7375
on_rotate = false,

Diff for: ‎mesecons_commandblock/init.lua

+2
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
181181
description = "Command Block",
182182
tiles = {"jeija_commandblock_off.png"},
183183
inventory_image = minetest.inventorycube("jeija_commandblock_off.png"),
184+
is_ground_content = false,
184185
groups = {cracky=2, mesecon_effector_off=1},
185186
on_construct = construct,
186187
after_place_node = after_place,
@@ -195,6 +196,7 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
195196

196197
minetest.register_node("mesecons_commandblock:commandblock_on", {
197198
tiles = {"jeija_commandblock_on.png"},
199+
is_ground_content = false,
198200
groups = {cracky=2, mesecon_effector_on=1, not_in_creative_inventory=1},
199201
light_source = 10,
200202
drop = "mesecons_commandblock:commandblock_off",

Diff for: ‎mesecons_delayer/init.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
8787
paramtype = "light",
8888
paramtype2 = "facedir",
8989
sunlight_propagates = true,
90-
is_ground_content = true,
90+
is_ground_content = false,
9191
drop = 'mesecons_delayer:delayer_off_1',
9292
on_punch = function (pos, node)
9393
if node.name=="mesecons_delayer:delayer_off_1" then
@@ -143,7 +143,7 @@ minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), {
143143
paramtype = "light",
144144
paramtype2 = "facedir",
145145
sunlight_propagates = true,
146-
is_ground_content = true,
146+
is_ground_content = false,
147147
drop = 'mesecons_delayer:delayer_off_1',
148148
on_punch = function (pos, node)
149149
if node.name=="mesecons_delayer:delayer_on_1" then

Diff for: ‎mesecons_detector/init.lua

+4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ local object_detector_digiline = {
6666
minetest.register_node("mesecons_detector:object_detector_off", {
6767
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"},
6868
paramtype = "light",
69+
is_ground_content = false,
6970
walkable = true,
7071
groups = {cracky=3},
7172
description="Player Detector",
@@ -83,6 +84,7 @@ minetest.register_node("mesecons_detector:object_detector_off", {
8384
minetest.register_node("mesecons_detector:object_detector_on", {
8485
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"},
8586
paramtype = "light",
87+
is_ground_content = false,
8688
walkable = true,
8789
groups = {cracky=3,not_in_creative_inventory=1},
8890
drop = 'mesecons_detector:object_detector_off',
@@ -227,6 +229,7 @@ minetest.register_node("mesecons_detector:node_detector_off", {
227229
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"},
228230
paramtype = "light",
229231
paramtype2 = "facedir",
232+
is_ground_content = false,
230233
walkable = true,
231234
groups = {cracky=3},
232235
description="Node Detector",
@@ -244,6 +247,7 @@ minetest.register_node("mesecons_detector:node_detector_on", {
244247
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"},
245248
paramtype = "light",
246249
paramtype2 = "facedir",
250+
is_ground_content = false,
247251
walkable = true,
248252
groups = {cracky=3,not_in_creative_inventory=1},
249253
drop = 'mesecons_detector:node_detector_off',

Diff for: ‎mesecons_extrawires/corner.lua

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ minetest.register_node("mesecons_extrawires:corner_on", {
3333
},
3434
paramtype = "light",
3535
paramtype2 = "facedir",
36+
is_ground_content = false,
3637
walkable = false,
3738
sunlight_propagates = true,
3839
selection_box = corner_selectionbox,
@@ -61,6 +62,7 @@ minetest.register_node("mesecons_extrawires:corner_off", {
6162
},
6263
paramtype = "light",
6364
paramtype2 = "facedir",
65+
is_ground_content = false,
6466
walkable = false,
6567
sunlight_propagates = true,
6668
selection_box = corner_selectionbox,

Diff for: ‎mesecons_extrawires/crossover.lua

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ minetest.register_node("mesecons_extrawires:crossover_off", {
2929
"jeija_insulated_wire_ends_off.png"
3030
},
3131
paramtype = "light",
32+
is_ground_content = false,
3233
walkable = false,
3334
stack_max = 99,
3435
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", {
5455
"jeija_insulated_wire_ends_off.png"
5556
},
5657
paramtype = "light",
58+
is_ground_content = false,
5759
walkable = false,
5860
stack_max = 99,
5961
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", {
7981
"jeija_insulated_wire_ends_on.png"
8082
},
8183
paramtype = "light",
84+
is_ground_content = false,
8285
walkable = false,
8386
stack_max = 99,
8487
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", {
104107
"jeija_insulated_wire_ends_on.png"
105108
},
106109
paramtype = "light",
110+
is_ground_content = false,
107111
walkable = false,
108112
stack_max = 99,
109113
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 for: ‎mesecons_extrawires/tjunction.lua

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", {
3434
},
3535
paramtype = "light",
3636
paramtype2 = "facedir",
37+
is_ground_content = false,
3738
walkable = false,
3839
sunlight_propagates = true,
3940
selection_box = tjunction_selectionbox,
@@ -62,6 +63,7 @@ minetest.register_node("mesecons_extrawires:tjunction_off", {
6263
},
6364
paramtype = "light",
6465
paramtype2 = "facedir",
66+
is_ground_content = false,
6567
walkable = false,
6668
sunlight_propagates = true,
6769
selection_box = tjunction_selectionbox,

Diff for: ‎mesecons_extrawires/vertical.lua

+3
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ mesecon.register_node("mesecons_extrawires:vertical", {
8181
drawtype = "nodebox",
8282
walkable = false,
8383
paramtype = "light",
84+
is_ground_content = false,
8485
sunlight_propagates = true,
8586
selection_box = vertical_box,
8687
node_box = vertical_box,
@@ -112,6 +113,7 @@ mesecon.register_node("mesecons_extrawires:vertical_top", {
112113
drawtype = "nodebox",
113114
walkable = false,
114115
paramtype = "light",
116+
is_ground_content = false,
115117
sunlight_propagates = true,
116118
groups = {dig_immediate=3, not_in_creative_inventory=1},
117119
selection_box = top_box,
@@ -142,6 +144,7 @@ mesecon.register_node("mesecons_extrawires:vertical_bottom", {
142144
drawtype = "nodebox",
143145
walkable = false,
144146
paramtype = "light",
147+
is_ground_content = false,
145148
sunlight_propagates = true,
146149
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
147150
selection_box = bottom_box,

Diff for: ‎mesecons_fpga/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ plg.register_nodes({
6969
"jeija_fpga_sides.png"
7070
},
7171
inventory_image = "", -- replaced later
72+
is_ground_content = false,
7273
sunlight_propagates = true,
7374
paramtype = "light",
7475
walkable = true,

Diff for: ‎mesecons_gates/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ local function register_gate(name, inputnumber, assess, recipe, description)
6565
inventory_image = "jeija_gate_off.png^jeija_gate_"..name..".png",
6666
paramtype = "light",
6767
paramtype2 = "facedir",
68+
is_ground_content = false,
6869
drawtype = "nodebox",
6970
drop = basename.."_off",
7071
selection_box = nodebox,

Diff for: ‎mesecons_hydroturbine/init.lua

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", {
1313
"jeija_hydro_turbine_turbine_misc_off.png"
1414
},
1515
inventory_image = "jeija_hydro_turbine_inv.png",
16+
is_ground_content = false,
1617
wield_scale = {x=0.75, y=0.75, z=0.75},
1718
groups = {dig_immediate=2},
1819
description="Water Turbine",
@@ -30,6 +31,7 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", {
3031

3132
minetest.register_node("mesecons_hydroturbine:hydro_turbine_on", {
3233
drawtype = "mesh",
34+
is_ground_content = false,
3335
mesh = "jeija_hydro_turbine_on.obj",
3436
wield_scale = {x=0.75, y=0.75, z=0.75},
3537
tiles = {

Diff for: ‎mesecons_insulated/init.lua

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ minetest.register_node("mesecons_insulated:insulated_on", {
2020
},
2121
paramtype = "light",
2222
paramtype2 = "facedir",
23+
is_ground_content = false,
2324
walkable = false,
2425
sunlight_propagates = true,
2526
selection_box = {
@@ -53,6 +54,7 @@ minetest.register_node("mesecons_insulated:insulated_off", {
5354
},
5455
paramtype = "light",
5556
paramtype2 = "facedir",
57+
is_ground_content = false,
5658
walkable = false,
5759
sunlight_propagates = true,
5860
selection_box = {

Diff for: ‎mesecons_lamp/init.lua

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ minetest.register_node("mesecons_lamp:lamp_on", {
1414
tiles = {"jeija_meselamp_on.png"},
1515
paramtype = "light",
1616
paramtype2 = "wallmounted",
17+
is_ground_content = false,
1718
legacy_wallmounted = true,
1819
sunlight_propagates = true,
1920
walkable = true,
@@ -39,6 +40,7 @@ minetest.register_node("mesecons_lamp:lamp_off", {
3940
wield_image = "jeija_meselamp.png",
4041
paramtype = "light",
4142
paramtype2 = "wallmounted",
43+
is_ground_content = false,
4244
sunlight_propagates = true,
4345
walkable = true,
4446
node_box = mesecon_lamp_box,

Diff for: ‎mesecons_lightstone/init.lua

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on, desc)
2020
end
2121
minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_off", {
2222
tiles = {texture_off},
23+
is_ground_content = false,
2324
groups = {cracky = 2, mesecon_effector_off = 1, mesecon = 2},
2425
description = desc,
2526
sounds = default.node_sound_stone_defaults(),
@@ -33,6 +34,7 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on, desc)
3334
})
3435
minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_on", {
3536
tiles = {texture_on},
37+
is_ground_content = false,
3638
groups = {cracky = 2, not_in_creative_inventory = 1, mesecon = 2},
3739
drop = "mesecons_lightstone:lightstone_" .. name .. "_off",
3840
light_source = minetest.LIGHT_MAX - 2,

Diff for: ‎mesecons_luacontroller/init.lua

+2
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ for d = 0, 1 do
625625
},
626626
inventory_image = top,
627627
paramtype = "light",
628+
is_ground_content = false,
628629
groups = groups,
629630
drop = BASENAME.."0000",
630631
sunlight_propagates = true,
@@ -672,6 +673,7 @@ minetest.register_node(BASENAME .. "_burnt", {
672673
inventory_image = "jeija_luacontroller_burnt_top.png",
673674
is_burnt = true,
674675
paramtype = "light",
676+
is_ground_content = false,
675677
groups = {dig_immediate=2, not_in_creative_inventory=1},
676678
drop = BASENAME.."0000",
677679
sunlight_propagates = true,

Diff for: ‎mesecons_microcontroller/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ minetest.register_node(nodename, {
6969

7070
sunlight_propagates = true,
7171
paramtype = "light",
72+
is_ground_content = false,
7273
walkable = true,
7374
groups = groups,
7475
drop = "mesecons_microcontroller:microcontroller0000 1",

Diff for: ‎mesecons_movestones/init.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ function mesecon.register_movestone(name, def, is_sticky, is_vertical)
7070
end
7171
end
7272

73+
def.is_ground_content = false
74+
7375
def.mesecons = {effector = {
7476
action_on = function(pos, node, rulename)
7577
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)
9092

9193
def.on_blast = mesecon.on_blastnode
9294

93-
def.on_blast = mesecon.on_blastnode
94-
9595
minetest.register_node(name, def)
9696
end
9797

Diff for: ‎mesecons_noteblock/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
minetest.register_node("mesecons_noteblock:noteblock", {
22
description = "Noteblock",
33
tiles = {"mesecons_noteblock.png"},
4+
is_ground_content = false,
45
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2},
56
on_punch = function(pos, node) -- change sound when punched
67
node.param2 = (node.param2+1)%12

Diff for: ‎mesecons_pistons/init.lua

+6
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
264264
},
265265
groups = {cracky = 3},
266266
paramtype2 = "facedir",
267+
is_ground_content = false,
267268
after_place_node = piston_orientate,
268269
sounds = default.node_sound_wood_defaults(),
269270
mesecons = {effector={
@@ -289,6 +290,7 @@ minetest.register_node("mesecons_pistons:piston_normal_on", {
289290
groups = {cracky = 3, not_in_creative_inventory = 1},
290291
paramtype = "light",
291292
paramtype2 = "facedir",
293+
is_ground_content = false,
292294
drop = "mesecons_pistons:piston_normal_off",
293295
after_dig_node = piston_remove_pusher,
294296
node_box = piston_on_box,
@@ -317,6 +319,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_normal", {
317319
groups = {not_in_creative_inventory = 1},
318320
paramtype = "light",
319321
paramtype2 = "facedir",
322+
is_ground_content = false,
320323
diggable = false,
321324
selection_box = piston_pusher_box,
322325
node_box = piston_pusher_box,
@@ -338,6 +341,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
338341
},
339342
groups = {cracky = 3},
340343
paramtype2 = "facedir",
344+
is_ground_content = false,
341345
after_place_node = piston_orientate,
342346
sounds = default.node_sound_wood_defaults(),
343347
mesecons = {effector={
@@ -363,6 +367,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
363367
groups = {cracky = 3, not_in_creative_inventory = 1},
364368
paramtype = "light",
365369
paramtype2 = "facedir",
370+
is_ground_content = false,
366371
drop = "mesecons_pistons:piston_sticky_off",
367372
after_dig_node = piston_remove_pusher,
368373
node_box = piston_on_box,
@@ -391,6 +396,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
391396
groups = {not_in_creative_inventory = 1},
392397
paramtype = "light",
393398
paramtype2 = "facedir",
399+
is_ground_content = false,
394400
diggable = false,
395401
selection_box = piston_pusher_box,
396402
node_box = piston_pusher_box,

Diff for: ‎mesecons_powerplant/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ minetest.register_node("mesecons_powerplant:power_plant", {
77
tiles = {"jeija_power_plant.png"},
88
inventory_image = "jeija_power_plant.png",
99
paramtype = "light",
10+
is_ground_content = false,
1011
walkable = false,
1112
groups = {dig_immediate=3, mesecon = 2},
1213
light_source = default.LIGHT_MAX-9,

Diff for: ‎mesecons_pressureplates/init.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te
4949
inventory_image = image_i,
5050
wield_image = image_w,
5151
paramtype = "light",
52-
description = description,
52+
is_ground_content = false,
53+
description = description,
5354
pressureplate_basename = basename,
5455
on_timer = pp_on_timer,
5556
on_construct = function(pos)

Diff for: ‎mesecons_random/init.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
minetest.register_node("mesecons_random:removestone", {
44
tiles = {"jeija_removestone.png"},
5+
is_ground_content = false,
56
inventory_image = minetest.inventorycube("jeija_removestone_inv.png"),
67
groups = {cracky=3},
78
description="Removestone",
@@ -30,7 +31,7 @@ minetest.register_craft({
3031
minetest.register_node("mesecons_random:ghoststone", {
3132
description="Ghoststone",
3233
tiles = {"jeija_ghoststone.png"},
33-
is_ground_content = true,
34+
is_ground_content = false,
3435
inventory_image = minetest.inventorycube("jeija_ghoststone_inv.png"),
3536
groups = {cracky=3},
3637
sounds = default.node_sound_stone_defaults(),
@@ -47,6 +48,7 @@ minetest.register_node("mesecons_random:ghoststone_active", {
4748
pointable = false,
4849
walkable = false,
4950
diggable = false,
51+
is_ground_content = false,
5052
sunlight_propagates = true,
5153
paramtype = "light",
5254
drop = "mesecons_random:ghoststone",

Diff for: ‎mesecons_receiver/init.lua

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ mesecon.register_node("mesecons_receiver:receiver", {
4242
drawtype = "nodebox",
4343
paramtype = "light",
4444
paramtype2 = "facedir",
45+
is_ground_content = false,
4546
sunlight_propagates = true,
4647
walkable = false,
4748
on_rotate = false,
@@ -89,6 +90,7 @@ mesecon.register_node("mesecons_receiver:receiver_up", {
8990
drawtype = "nodebox",
9091
paramtype = "light",
9192
paramtype2 = "facedir",
93+
is_ground_content = false,
9294
sunlight_propagates = true,
9395
walkable = false,
9496
on_rotate = false,
@@ -132,6 +134,7 @@ mesecon.register_node("mesecons_receiver:receiver_down", {
132134
drawtype = "nodebox",
133135
paramtype = "light",
134136
paramtype2 = "facedir",
137+
is_ground_content = false,
135138
sunlight_propagates = true,
136139
walkable = false,
137140
on_rotate = false,

Diff for: ‎mesecons_solarpanel/init.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", {
77
paramtype = "light",
88
paramtype2 = "wallmounted",
99
walkable = false,
10-
is_ground_content = true,
10+
is_ground_content = false,
1111
node_box = {
1212
type = "wallmounted",
1313
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", {
3939
paramtype = "light",
4040
paramtype2 = "wallmounted",
4141
walkable = false,
42-
is_ground_content = true,
42+
is_ground_content = false,
4343
node_box = {
4444
type = "wallmounted",
4545
wall_bottom = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },

Diff for: ‎mesecons_stickyblocks/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
minetest.register_node("mesecons_stickyblocks:sticky_block_all", {
66
description = "All-Sides Sticky Block",
77
tiles = {"default_grass.png^default_footprint.png"},
8+
is_ground_content = false,
89
groups = {dig_immediate=2},
910
mvps_sticky = function (pos, node)
1011
local connected = {}

Diff for: ‎mesecons_switch/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
mesecon.register_node("mesecons_switch:mesecon_switch", {
44
paramtype2="facedir",
55
description="Switch",
6+
is_ground_content = false,
67
sounds = default.node_sound_stone_defaults(),
78
on_rightclick = function (pos, node)
89
if(mesecon.flipstate(pos, node) == "on") then

Diff for: ‎mesecons_torch/init.lua

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_off", {
5454
tiles = {"jeija_torches_off.png", "jeija_torches_off_ceiling.png", "jeija_torches_off_side.png"},
5555
inventory_image = "jeija_torches_off.png",
5656
paramtype = "light",
57+
is_ground_content = false,
5758
walkable = false,
5859
paramtype2 = "wallmounted",
5960
selection_box = torch_selectionbox,
@@ -72,6 +73,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
7273
inventory_image = "jeija_torches_on.png",
7374
wield_image = "jeija_torches_on.png",
7475
paramtype = "light",
76+
is_ground_content = false,
7577
sunlight_propagates = true,
7678
walkable = false,
7779
paramtype2 = "wallmounted",

Diff for: ‎mesecons_walllever/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ mesecon.register_node("mesecons_walllever:wall_lever", {
88
wield_image = "jeija_wall_lever_inv.png",
99
paramtype = "light",
1010
paramtype2 = "facedir",
11+
is_ground_content = false,
1112
sunlight_propagates = true,
1213
walkable = false,
1314
selection_box = {

Diff for: ‎mesecons_wires/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ local function register_wires()
208208
wield_image = "mesecons_wire_inv.png",
209209
paramtype = "light",
210210
paramtype2 = "facedir",
211+
is_ground_content = false,
211212
sunlight_propagates = true,
212213
selection_box = selectionbox,
213214
node_box = nodebox,

0 commit comments

Comments
 (0)
Please sign in to comment.