From 9ba4e3d3084d0e8ef93c5ef65529756ed57f599e Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Thu, 29 Feb 2024 21:38:45 +0100 Subject: [PATCH] is_ground_content fixup (#82) digiline nodes aren't ground content --- inventory.lua | 1 + lcd.lua | 1 + lightsensor.lua | 1 + rtc.lua | 1 + wire_std.lua | 1 + 5 files changed, 5 insertions(+) diff --git a/inventory.lua b/inventory.lua index 741d995..0004954 100644 --- a/inventory.lua +++ b/inventory.lua @@ -168,6 +168,7 @@ minetest.register_node("digilines:chest", { paramtype2 = "facedir", legacy_facedir_simple = true, groups = {choppy=2, oddly_breakable_by_hand=2, tubedevice=1, tubedevice_receiver=1, axey=1, handy=1}, + is_ground_content = false, sounds = digilines.sounds.node_sound_wood_defaults(), _mcl_blast_resistance = 1, _mcl_hardness = 0.8, diff --git a/lcd.lua b/lcd.lua index 0faac6c..7d0b1c4 100644 --- a/lcd.lua +++ b/lcd.lua @@ -286,6 +286,7 @@ minetest.register_node("digilines:lcd", { node_box = lcd_box, selection_box = lcd_box, groups = {choppy = 3, dig_immediate = 2}, + is_ground_content = false, _mcl_blast_resistance = 1, _mcl_hardness = 0.8, after_place_node = function(pos) diff --git a/lightsensor.lua b/lightsensor.lua index f97abb4..b39871c 100644 --- a/lightsensor.lua +++ b/lightsensor.lua @@ -39,6 +39,7 @@ minetest.register_node("digilines:lightsensor", { paramtype = "light", groups = {dig_immediate=2}, + is_ground_content = false, _mcl_blast_resistance = 1, _mcl_hardness = 0.8, selection_box = lsensor_selbox, diff --git a/rtc.lua b/rtc.lua index a7a422a..6c4ce05 100644 --- a/rtc.lua +++ b/rtc.lua @@ -35,6 +35,7 @@ minetest.register_node("digilines:rtc", { paramtype = "light", paramtype2 = "facedir", groups = {dig_immediate=2}, + is_ground_content = false, _mcl_blast_resistance = 1, _mcl_hardness = 0.8, selection_box = rtc_selbox, diff --git a/wire_std.lua b/wire_std.lua index 7b371c0..5ba8b27 100644 --- a/wire_std.lua +++ b/wire_std.lua @@ -109,6 +109,7 @@ for zmy=0, 1 do fixed = nodebox }, groups = groups, + is_ground_content = false, walkable = false, stack_max = 99, drop = "digilines:wire_std_00000000"