diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 373bc2e..0b11446 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -403,6 +403,7 @@ minetest.register_node( wield_image = "default_sapling_inventory.png", paramtype = "light", walkable = false, + floodable = true, selection_box = { type = "fixed", fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4}, @@ -433,6 +434,7 @@ minetest.register_node( wield_image = "default_sapling_oak_inventory.png", paramtype = "light", walkable = false, + floodable = true, selection_box = { type = "fixed", fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4}, @@ -462,6 +464,7 @@ minetest.register_node( wield_image = "default_sapling_birch_inventory.png", paramtype = "light", walkable = false, + floodable = true, selection_box = { type = "fixed", fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4}, @@ -995,6 +998,7 @@ minetest.register_node( waving = 1, walkable = false, buildable_to = true, + floodable = true, groups = {snappy = 2, dig_immediate = 3, attached_node = 1, grass = 1, dry_grass = 1}, sounds = default.node_sound_leaves_defaults(), }) @@ -1116,6 +1120,7 @@ minetest.register_node( }, sunlight_propagates = true, walkable = false, + floodable = true, -- TODO: Enable the drop code below, when the pearl is useful. -- The pearl is currently useless. --[[drop = { diff --git a/mods/farming/nodes.lua b/mods/farming/nodes.lua index 1dd9805..878988e 100644 --- a/mods/farming/nodes.lua +++ b/mods/farming/nodes.lua @@ -14,6 +14,7 @@ minetest.register_node( paramtype = "light", waving = 1, walkable = false, + floodable = true, buildable_to = true, is_ground_content = true, drop = { @@ -39,6 +40,7 @@ minetest.register_node( paramtype = "light", waving = 1, walkable = false, + floodable = true, buildable_to = true, is_ground_content = true, drop = { @@ -64,6 +66,7 @@ minetest.register_node( paramtype = "light", waving = 1, walkable = false, + floodable = true, buildable_to = true, is_ground_content = true, drop = { @@ -89,6 +92,7 @@ minetest.register_node( paramtype = "light", waving = 1, walkable = false, + floodable = true, buildable_to = true, is_ground_content = true, drop = { @@ -119,6 +123,7 @@ minetest.register_node( paramtype = "light", waving = 1, walkable = false, + floodable = true, buildable_to = true, is_ground_content = true, drop = { @@ -144,6 +149,7 @@ minetest.register_node( paramtype = "light", waving = 1, walkable = false, + floodable = true, buildable_to = true, is_ground_content = true, drop = { @@ -169,6 +175,7 @@ minetest.register_node( paramtype = "light", waving = 1, walkable = false, + floodable = true, buildable_to = true, is_ground_content = true, drop = { @@ -194,6 +201,7 @@ minetest.register_node( paramtype = "light", waving = 1, walkable = false, + floodable = true, buildable_to = true, is_ground_content = true, drop = { diff --git a/mods/music/init.lua b/mods/music/init.lua index 7a200e0..73ba837 100644 --- a/mods/music/init.lua +++ b/mods/music/init.lua @@ -98,6 +98,7 @@ if minetest.settings:get_bool("music_enable") then wield_image = "music_inventory.png", is_ground_content = false, + floodable = true, paramtype = "light", drawtype = "nodebox", @@ -160,6 +161,7 @@ else wield_image = "music_inventory.png", is_ground_content = false, + floodable = true, paramtype = "light", drawtype = "nodebox",