diff --git a/df_farming/cave_wheat.lua b/df_farming/cave_wheat.lua index bf5056f..5bfc41a 100644 --- a/df_farming/cave_wheat.lua +++ b/df_farming/cave_wheat.lua @@ -17,6 +17,7 @@ local register_cave_wheat = function(number) inventory_image = "dfcaverns_cave_wheat_"..tostring(number)..".png", paramtype = "light", walkable = false, + is_ground_content = false, buildable_to = true, floodable = true, groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11}, diff --git a/df_farming/dimple_cup.lua b/df_farming/dimple_cup.lua index 7c3ad71..c25025c 100644 --- a/df_farming/dimple_cup.lua +++ b/df_farming/dimple_cup.lua @@ -16,6 +16,7 @@ local register_dimple_cup = function(number) paramtype = "light", walkable = false, floodable = true, + is_ground_content = false, buildable_to = true, groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, color_blue = 1, light_sensitive_fungus = 11, flower = 1}, sounds = default.node_sound_leaves_defaults(), diff --git a/df_farming/pig_tail.lua b/df_farming/pig_tail.lua index 4d4d1a2..15e875a 100644 --- a/df_farming/pig_tail.lua +++ b/df_farming/pig_tail.lua @@ -17,6 +17,7 @@ local register_pig_tail = function(number) inventory_image = "dfcaverns_pig_tail_"..tostring(number)..".png", paramtype = "light", walkable = false, + is_ground_content = false, floodable = true, buildable_to = true, groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11}, diff --git a/df_farming/plants.lua b/df_farming/plants.lua index becd5ed..38230df 100644 --- a/df_farming/plants.lua +++ b/df_farming/plants.lua @@ -15,6 +15,7 @@ minetest.register_node("df_farming:dead_fungus", { inventory_image = "dfcaverns_dead_fungus.png", paramtype = "light", walkable = false, + is_ground_content = false, buildable_to = true, floodable = true, groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, flow_through = 1}, @@ -47,6 +48,7 @@ minetest.register_node("df_farming:cavern_fungi", { inventory_image = "dfcaverns_fungi.png", paramtype = "light", walkable = false, + is_ground_content = false, buildable_to = true, floodable = true, light_source = 6, @@ -155,6 +157,7 @@ df_farming.register_seed = function(name, description, image, stage_one, grow_ti _dfcaverns_next_stage_time = grow_time, paramtype = "light", walkable = false, + is_ground_content = false, floodable = true, sunlight_propagates = true, selection_box = { diff --git a/df_farming/plump_helmet.lua b/df_farming/plump_helmet.lua index d78f6d8..650ee48 100644 --- a/df_farming/plump_helmet.lua +++ b/df_farming/plump_helmet.lua @@ -71,6 +71,7 @@ minetest.register_node("df_farming:plump_helmet_spawn", { paramtype = "light", paramtype2 = "facedir", walkable = false, + is_ground_content = false, floodable = true, node_box = { type = "fixed", @@ -103,6 +104,7 @@ minetest.register_node("df_farming:plump_helmet_1", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + is_ground_content = false, walkable = false, floodable = true, node_box = { @@ -141,6 +143,7 @@ minetest.register_node("df_farming:plump_helmet_2", { paramtype = "light", paramtype2 = "facedir", walkable = false, + is_ground_content = false, floodable = true, node_box = { type = "fixed", @@ -176,6 +179,7 @@ minetest.register_node("df_farming:plump_helmet_3", { paramtype = "light", paramtype2 = "facedir", walkable = false, + is_ground_content = false, floodable = true, node_box = { type = "fixed", @@ -209,6 +213,7 @@ minetest.register_node("df_farming:plump_helmet_4", { paramtype = "light", paramtype2 = "facedir", walkable = false, + is_ground_content = false, floodable = false, -- I figure full grown plump helmets are sturdy enough to survive inundation node_box = { type = "fixed", @@ -261,6 +266,7 @@ minetest.register_node("df_farming:plump_helmet_4_picked", { paramtype = "light", paramtype2 = "facedir", walkable = false, + is_ground_content = false, floodable = false, node_box = { type = "fixed", diff --git a/df_farming/quarry_bush.lua b/df_farming/quarry_bush.lua index 11cd7cd..8eb6168 100644 --- a/df_farming/quarry_bush.lua +++ b/df_farming/quarry_bush.lua @@ -18,6 +18,7 @@ local register_quarry_bush = function(number) paramtype = "light", walkable = false, buildable_to = true, + is_ground_content = false, floodable = true, groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11}, sounds = default.node_sound_leaves_defaults(), diff --git a/df_farming/sweet_pod.lua b/df_farming/sweet_pod.lua index 6516c5a..28903fa 100644 --- a/df_farming/sweet_pod.lua +++ b/df_farming/sweet_pod.lua @@ -15,6 +15,7 @@ local register_sweet_pod = function(number) inventory_image = "dfcaverns_sweet_pod_"..tostring(number)..".png", paramtype = "light", walkable = false, + is_ground_content = false, buildable_to = true, floodable = true, groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11}, diff --git a/df_mapitems/castle_coral.lua b/df_mapitems/castle_coral.lua index 86b661c..9283c65 100644 --- a/df_mapitems/castle_coral.lua +++ b/df_mapitems/castle_coral.lua @@ -13,6 +13,7 @@ minetest.register_node("df_mapitems:castle_coral", { _doc_items_longdesc = df_mapitems.doc.castle_coral_desc, _doc_items_usagehelp = df_mapitems.doc.castle_coral_usage, drawtype = "mesh", + is_ground_content = false, light_source = 2, mesh = "octagonal_coral.obj", drop = "df_mapitems:castle_coral_skeleton", @@ -34,6 +35,7 @@ minetest.register_node("df_mapitems:castle_coral_skeleton", { drawtype = "mesh", mesh = "octagonal_coral.obj", paramtype = "light", + is_ground_content = false, groups = {cracky = 3}, sounds = default.node_sound_stone_defaults(), }) diff --git a/df_mapitems/cave_coral.lua b/df_mapitems/cave_coral.lua index 9a38c80..e381a4b 100644 --- a/df_mapitems/cave_coral.lua +++ b/df_mapitems/cave_coral.lua @@ -10,6 +10,7 @@ minetest.register_node("df_mapitems:cave_coral_3", { drop = "default:coral_skeleton", light_source = 3, paramtype2 = "facedir", + is_ground_content = false, groups = {cracky = 3, dfcaverns_cave_coral = 1}, sounds = default.node_sound_stone_defaults(), }) @@ -22,6 +23,7 @@ minetest.register_node("df_mapitems:cave_coral_2", { drop = "default:coral_skeleton", light_source = 2, paramtype2 = "facedir", + is_ground_content = false, groups = {cracky = 3, dfcaverns_cave_coral = 1}, sounds = default.node_sound_stone_defaults(), }) @@ -34,6 +36,7 @@ minetest.register_node("df_mapitems:cave_coral_1", { drop = "default:coral_skeleton", light_source = 1, paramtype2 = "facedir", + is_ground_content = false, groups = {cracky = 3, dfcaverns_cave_coral = 1}, sounds = default.node_sound_stone_defaults(), }) diff --git a/df_mapitems/cave_pearls.lua b/df_mapitems/cave_pearls.lua index 2d4b4ee..098d358 100644 --- a/df_mapitems/cave_pearls.lua +++ b/df_mapitems/cave_pearls.lua @@ -12,6 +12,7 @@ minetest.register_node("df_mapitems:cave_pearls", { paramtype2 = "facedir", groups = {cracky = 2}, walkable = false, + is_ground_content = false, climbable = true, light_source = 4, node_box = { diff --git a/df_mapitems/crystals_mese.lua b/df_mapitems/crystals_mese.lua index b44f48e..282c666 100644 --- a/df_mapitems/crystals_mese.lua +++ b/df_mapitems/crystals_mese.lua @@ -8,9 +8,9 @@ minetest.register_node("df_mapitems:glow_mese", { _doc_items_longdesc = df_mapitems.doc.glow_mese_desc, _doc_items_usagehelp = df_mapitems.doc.glow_mese_usage, tiles = {"dfcaverns_glow_mese.png"}, - is_ground_content = true, groups = {cracky=3}, sounds = default.node_sound_glass_defaults(), + is_ground_content = false, light_source = 13, paramtype = "light", use_texture_alpha = true, @@ -36,7 +36,7 @@ minetest.register_node("df_mapitems:mese_crystal", { drawtype = "mesh", mesh = "underch_crystal.obj", light_source = 12, - is_ground_content = true, + is_ground_content = false, sounds = default.node_sound_glass_defaults(), use_texture_alpha = true, sunlight_propagates = true, diff --git a/df_mapitems/crystals_ruby.lua b/df_mapitems/crystals_ruby.lua index 3ee6435..9b298bf 100644 --- a/df_mapitems/crystals_ruby.lua +++ b/df_mapitems/crystals_ruby.lua @@ -7,7 +7,7 @@ minetest.register_node("df_mapitems:glow_ruby_ore", { _doc_items_longdesc = df_mapitems.doc.glow_ruby_ore_desc, _doc_items_usagehelp = df_mapitems.doc.glow_ruby_ore_usage, tiles = {"dfcaverns_glow_ruby_ore.png"}, - is_ground_content = true, + is_ground_content = false, groups = {cracky=2}, sounds = default.node_sound_glass_defaults(), }) @@ -25,6 +25,7 @@ minetest.register_node("df_mapitems:big_crystal", { use_texture_alpha = true, paramtype = "light", paramtype2 = "facedir", + is_ground_content = false, sunlight_propagates = true, light_source = 12, groups = {cracky=2, dfcaverns_big_crystal = 1}, @@ -52,6 +53,7 @@ minetest.register_node("df_mapitems:med_crystal", { use_texture_alpha = true, paramtype = "light", paramtype2 = "facedir", + is_ground_content = false, sunlight_propagates = true, light_source = 12, groups = {cracky=2, dfcaverns_big_crystal = 1}, @@ -81,6 +83,7 @@ minetest.register_node("df_mapitems:big_crystal_30", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + is_ground_content = false, light_source = 12, drop = "df_mapitems:big_crystal", groups = {cracky=2, dfcaverns_big_crystal = 1}, @@ -132,6 +135,7 @@ minetest.register_node("df_mapitems:med_crystal_30", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + is_ground_content = false, light_source = 12, drop = "df_mapitems:med_crystal", groups = {cracky=2, dfcaverns_big_crystal = 1}, @@ -168,6 +172,7 @@ minetest.register_node("df_mapitems:big_crystal_30_45", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + is_ground_content = false, light_source = 12, drop = "df_mapitems:big_crystal", groups = {cracky=2, dfcaverns_big_crystal = 1}, @@ -205,6 +210,7 @@ minetest.register_node("df_mapitems:med_crystal_30_45", { paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, + is_ground_content = false, light_source = 12, drop = "df_mapitems:med_crystal", groups = {cracky=2, dfcaverns_big_crystal = 1}, diff --git a/df_mapitems/crystals_salt.lua b/df_mapitems/crystals_salt.lua index b85878f..fef994a 100644 --- a/df_mapitems/crystals_salt.lua +++ b/df_mapitems/crystals_salt.lua @@ -16,6 +16,7 @@ minetest.register_node("df_mapitems:salt_crystal", { sounds = default.node_sound_glass_defaults(), use_texture_alpha = true, sunlight_propagates = true, + is_ground_content = false, on_place = df_mapitems.place_against_surface, }) @@ -26,7 +27,7 @@ minetest.register_node("df_mapitems:salty_cobble", { tiles = {"default_cobble.png^dfcaverns_salty.png"}, groups = {cracky = 3, stone = 1, lava_heatable = 1}, _magma_conduits_heats_to = "default:cobble", - is_ground_content = true, + is_ground_content = false, light_source = 2, drop = 'default:cobble', sounds = default.node_sound_stone_defaults(), diff --git a/df_mapitems/flowstone.lua b/df_mapitems/flowstone.lua index 1215ff3..5862719 100644 --- a/df_mapitems/flowstone.lua +++ b/df_mapitems/flowstone.lua @@ -13,6 +13,7 @@ df_mapitems.dry_stalagmite_ids = subterrane.register_stalagmite_nodes("df_mapite }, groups = {cracky = 3, stone = 2}, sounds = default.node_sound_stone_defaults(), + is_ground_content = false, }) minetest.register_node("df_mapitems:dry_flowstone", { @@ -22,7 +23,7 @@ minetest.register_node("df_mapitems:dry_flowstone", { tiles = {"default_stone.png^[brighten"}, groups = {cracky = 3, stone = 1, lava_heatable = 1}, _magma_conduits_heats_to = "default:cobble", - is_ground_content = true, + is_ground_content = false, drop = 'default:cobble', sounds = default.node_sound_stone_defaults(), }) @@ -38,6 +39,7 @@ df_mapitems.wet_stalagmite_ids = subterrane.register_stalagmite_nodes("df_mapite }, groups = {cracky = 3, stone = 2, subterrane_wet_dripstone = 1}, sounds = default.node_sound_stone_defaults(), + is_ground_content = false, }, "df_mapitems:dry_stal") @@ -48,7 +50,7 @@ minetest.register_node("df_mapitems:wet_flowstone", { tiles = {"default_stone.png^[brighten^dfcaverns_dripstone_streaks.png"}, groups = {cracky = 3, stone = 1, subterrane_wet_dripstone = 1, lava_heatable = 1}, _magma_conduits_heats_to = "df_mapitems:dry_flowstone", - is_ground_content = true, + is_ground_content = false, drop = 'default:cobble', sounds = default.node_sound_stone_defaults(), }) diff --git a/df_mapitems/glow_worms.lua b/df_mapitems/glow_worms.lua index a31f590..92ee91f 100644 --- a/df_mapitems/glow_worms.lua +++ b/df_mapitems/glow_worms.lua @@ -24,7 +24,7 @@ minetest.register_node("df_mapitems:glow_worm", { }, inventory_image = "dfcaverns_glow_worm.png", wield_image = "dfcaverns_glow_worm.png", - is_ground_content = true, + is_ground_content = false, groups = {oddly_breakable_by_hand=3, light_sensitive_fungus = 12}, _dfcaverns_dead_node = "air", light_source = 9, diff --git a/df_mapitems/ground_cover.lua b/df_mapitems/ground_cover.lua index 61c0e65..de7dcc2 100644 --- a/df_mapitems/ground_cover.lua +++ b/df_mapitems/ground_cover.lua @@ -15,7 +15,7 @@ minetest.register_node("df_mapitems:dirt_with_cave_moss", { {name = "default_dirt.png^dfcaverns_cave_moss_side.png", tileable_vertical = false}}, drop = "default:dirt", - is_ground_content = true, + is_ground_content = false, light_source = 2, paramtype = "light", groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8}, @@ -56,7 +56,7 @@ minetest.register_node("df_mapitems:cobble_with_floor_fungus", { _doc_items_usagehelp = df_mapitems.doc.floor_fungus_usage, tiles = {"default_cobble.png^dfcaverns_floor_fungus.png"}, drops = "default:cobble", - is_ground_content = true, + is_ground_content = false, paramtype = "light", groups = {cracky = 3, stone = 2, slippery = 1, light_sensitive_fungus = 8}, _dfcaverns_dead_node = "default:cobble", @@ -71,7 +71,7 @@ minetest.register_node("df_mapitems:cobble_with_floor_fungus_fine", { _doc_items_usagehelp = df_mapitems.doc.floor_fungus_usage, tiles = {"default_cobble.png^dfcaverns_floor_fungus_fine.png"}, drops = "default:cobble", - is_ground_content = true, + is_ground_content = false, paramtype = "light", groups = {cracky = 3, stone = 2, slippery = 1, light_sensitive_fungus = 8}, _dfcaverns_dead_node = "default:cobble", @@ -113,6 +113,7 @@ minetest.register_node("df_mapitems:ice_with_hoar_moss", { drops = "default:ice", paramtype = "light", light_source = 2, + is_ground_content = false, groups = {cracky = 3, puts_out_fire = 1, cools_lava = 1, slippery = 2, light_sensitive_fungus = 8}, sounds = default.node_sound_glass_defaults(), _dfcaverns_dead_node = "default:ice", diff --git a/df_mapitems/snareweed.lua b/df_mapitems/snareweed.lua index c2ec06e..2ae2bd6 100644 --- a/df_mapitems/snareweed.lua +++ b/df_mapitems/snareweed.lua @@ -10,7 +10,7 @@ minetest.register_node("df_mapitems:snareweed", { drawtype="plantlike_rooted", paramtype2 = "leveled", special_tiles = {{name = "dfcaverns_snareweed.png", tileable_vertical = true}}, - is_ground_content = true, + is_ground_content = false, drop = 'default:dirt', light_source = 6, groups = {crumbly = 3, soil = 1}, diff --git a/df_mapitems/textures/dfcaverns_castle_coral.png b/df_mapitems/textures/dfcaverns_castle_coral.png index 1b3a2f0..76328d5 100644 Binary files a/df_mapitems/textures/dfcaverns_castle_coral.png and b/df_mapitems/textures/dfcaverns_castle_coral.png differ diff --git a/df_mapitems/veinstone.lua b/df_mapitems/veinstone.lua index 27633c4..a55f101 100644 --- a/df_mapitems/veinstone.lua +++ b/df_mapitems/veinstone.lua @@ -9,7 +9,7 @@ minetest.register_node("df_mapitems:veinstone", { tiles = {"default_stone.png^dfcaverns_veins.png"}, groups = {cracky = 3, stone = 1, lava_heatable = 1}, _magma_conduits_heats_to = "default:cobble", - is_ground_content = true, + is_ground_content = false, light_source = 2, drop = 'default:cobble', sounds = default.node_sound_stone_defaults(), diff --git a/df_primordial_items/ceiling_fungus.lua b/df_primordial_items/ceiling_fungus.lua index d24d2c5..8dd4994 100644 --- a/df_primordial_items/ceiling_fungus.lua +++ b/df_primordial_items/ceiling_fungus.lua @@ -43,6 +43,7 @@ minetest.register_node("df_primordial_items:glow_orb_hanging", { paramtype2 = "degrotate", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, light_source = 6, sounds = default.node_sound_leaves_defaults(), diff --git a/df_primordial_items/fungal_nodes.lua b/df_primordial_items/fungal_nodes.lua index 975bc94..5b77131 100644 --- a/df_primordial_items/fungal_nodes.lua +++ b/df_primordial_items/fungal_nodes.lua @@ -18,6 +18,7 @@ minetest.register_node("df_primordial_items:fungal_grass_1", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, @@ -35,6 +36,7 @@ minetest.register_node("df_primordial_items:fungal_grass_2", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, place_param2 = 3, sounds = default.node_sound_leaves_defaults(), @@ -55,6 +57,7 @@ minetest.register_node("df_primordial_items:glow_orb", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, light_source = 9, sounds = default.node_sound_leaves_defaults(), @@ -73,6 +76,7 @@ minetest.register_node("df_primordial_items:glow_orb_stalks", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, light_source = 6, sounds = default.node_sound_leaves_defaults(), @@ -91,6 +95,7 @@ minetest.register_node("df_primordial_items:glow_pods", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, light_source = 6, sounds = default.node_sound_leaves_defaults(), @@ -105,6 +110,7 @@ minetest.register_node("df_primordial_items:dirt_with_mycelium", { description = S("Dirt With Primordial Mycelium"), tiles = {"dfcaverns_mush_soil.png"}, groups = {crumbly = 3, soil = 1}, + is_ground_content = false, drops = "default:dirt", sounds = default.node_sound_dirt_defaults(), light_source = 3, diff --git a/df_primordial_items/giant_fern.lua b/df_primordial_items/giant_fern.lua index cb62dfc..8973c1e 100644 --- a/df_primordial_items/giant_fern.lua +++ b/df_primordial_items/giant_fern.lua @@ -38,6 +38,7 @@ minetest.register_node("df_primordial_items:giant_fern_tree_slant_bottom", { drop = "df_primordial_items:giant_fern_tree", groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1}, sounds = default.node_sound_wood_defaults(), + is_ground_content = false, on_place = minetest.rotate_node, selection_box = { type = "fixed", @@ -74,6 +75,7 @@ minetest.register_node("df_primordial_items:giant_fern_tree_slant_top", { drop = "df_primordial_items:giant_fern_tree", groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1}, sounds = default.node_sound_wood_defaults(), + is_ground_content = false, on_place = minetest.rotate_node, selection_box = { type = "fixed", @@ -110,6 +112,7 @@ minetest.register_node("df_primordial_items:giant_fern_tree_slant_full", { drop = "df_primordial_items:giant_fern_tree", groups = {choppy = 2, tree = 1, oddly_breakable_by_hand=1, flammable = 2, fern_stem = 1}, sounds = default.node_sound_wood_defaults(), + is_ground_content = false, on_place = minetest.rotate_node, selection_box = { type = "fixed", @@ -253,6 +256,7 @@ minetest.register_node("df_primordial_items:fern_sapling", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, diff --git a/df_primordial_items/jungle_mushroom.lua b/df_primordial_items/jungle_mushroom.lua index e55d48a..47ca8cb 100644 --- a/df_primordial_items/jungle_mushroom.lua +++ b/df_primordial_items/jungle_mushroom.lua @@ -97,6 +97,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_sapling", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, diff --git a/df_primordial_items/jungle_nodes.lua b/df_primordial_items/jungle_nodes.lua index 4771935..ff5a001 100644 --- a/df_primordial_items/jungle_nodes.lua +++ b/df_primordial_items/jungle_nodes.lua @@ -17,6 +17,7 @@ minetest.register_node("df_primordial_items:fern_1", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, @@ -35,6 +36,7 @@ minetest.register_node("df_primordial_items:fern_2", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, @@ -55,6 +57,7 @@ minetest.register_node("df_primordial_items:glow_plant_1", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, light_source = 6, sounds = default.node_sound_leaves_defaults(), @@ -73,6 +76,7 @@ minetest.register_node("df_primordial_items:glow_plant_2", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, light_source = 6, sounds = default.node_sound_leaves_defaults(), @@ -91,6 +95,7 @@ minetest.register_node("df_primordial_items:glow_plant_3", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, light_source = 6, sounds = default.node_sound_leaves_defaults(), @@ -113,6 +118,7 @@ minetest.register_node("df_primordial_items:jungle_grass_1", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, @@ -130,6 +136,7 @@ minetest.register_node("df_primordial_items:jungle_grass_2", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, place_param2 = 3, sounds = default.node_sound_leaves_defaults(), @@ -148,6 +155,7 @@ minetest.register_node("df_primordial_items:jungle_grass_3", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, place_param2 = 3, sounds = default.node_sound_leaves_defaults(), @@ -173,9 +181,9 @@ minetest.register_node("df_primordial_items:jungle_ivy", { sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, sunlight_propagates = true, + is_ground_content = false, walkable = false, climbable = true, - is_ground_content = false, selection_box = { type = "wallmounted", }, @@ -195,6 +203,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_1", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, @@ -212,6 +221,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_2", { paramtype = "light", drawtype = "plantlike", buildable_to = true, + is_ground_content = false, walkable = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, @@ -225,6 +235,7 @@ minetest.register_node("df_primordial_items:dirt_with_jungle_grass", { description = S("Dirt With Primordial Jungle Grass"), tiles = {"dfcaverns_jungle_plant_grass_node_01.png"}, groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1}, + is_ground_content = false, drops = "default:dirt", sounds = default.node_sound_dirt_defaults(), }) @@ -233,6 +244,7 @@ minetest.register_node("df_primordial_items:plant_matter", { _doc_items_longdesc = df_primordial_items.doc.plant_matter_desc, _doc_items_usagehelp = df_primordial_items.doc.plant_matter_usage, tiles = {"dfcaverns_jungle_plant_matter_01.png"}, + is_ground_content = false, groups = {crumbly = 3, soil = 1}, sounds = default.node_sound_dirt_defaults(), }) @@ -284,6 +296,7 @@ minetest.register_node("df_primordial_items:jungle_roots_2", { drawtype = "plantlike", sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, + is_ground_content = false, sunlight_propagates = true, walkable = false, climbable = true, @@ -304,6 +317,7 @@ minetest.register_node("df_primordial_items:jungle_thorns", { paramtype = "light", drawtype = "plantlike", walkable = false, + is_ground_content = false, place_param2 = 3, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, diff --git a/df_primordial_items/jungle_tree.lua b/df_primordial_items/jungle_tree.lua index a940b75..8eb1197 100644 --- a/df_primordial_items/jungle_tree.lua +++ b/df_primordial_items/jungle_tree.lua @@ -225,6 +225,7 @@ minetest.register_node("df_primordial_items:jungletree_sapling", { drawtype = "plantlike", buildable_to = true, walkable = false, + is_ground_content = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, sunlight_propagates = true, diff --git a/df_primordial_items/primordial_mushroom.lua b/df_primordial_items/primordial_mushroom.lua index 1883bae..5941be1 100644 --- a/df_primordial_items/primordial_mushroom.lua +++ b/df_primordial_items/primordial_mushroom.lua @@ -38,6 +38,7 @@ minetest.register_node("df_primordial_items:mushroom_gills", { drawtype = "plantlike", waving = 2, walkable = false, + is_ground_content = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, sunlight_propagates = true, @@ -68,6 +69,7 @@ minetest.register_node("df_primordial_items:mushroom_gills_glowing", { drawtype = "plantlike", waving = 2, walkable = false, + is_ground_content = false, light_source = 6, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, @@ -652,6 +654,7 @@ minetest.register_node("df_primordial_items:mush_sapling", { drawtype = "plantlike", buildable_to = true, walkable = false, + is_ground_content = false, sounds = default.node_sound_leaves_defaults(), use_texture_alpha = true, sunlight_propagates = true, diff --git a/df_primordial_items/textures/dfcaverns_jungle_fern_02.png b/df_primordial_items/textures/dfcaverns_jungle_fern_02.png index 5c8c0b6..1501d75 100644 Binary files a/df_primordial_items/textures/dfcaverns_jungle_fern_02.png and b/df_primordial_items/textures/dfcaverns_jungle_fern_02.png differ diff --git a/df_primordial_items/textures/dfcaverns_jungle_fern_bark.png b/df_primordial_items/textures/dfcaverns_jungle_fern_bark.png index 5041941..7d53f1a 100644 Binary files a/df_primordial_items/textures/dfcaverns_jungle_fern_bark.png and b/df_primordial_items/textures/dfcaverns_jungle_fern_bark.png differ diff --git a/df_primordial_items/textures/dfcaverns_jungle_flower_01.png b/df_primordial_items/textures/dfcaverns_jungle_flower_01.png index de31b86..726ea3a 100644 Binary files a/df_primordial_items/textures/dfcaverns_jungle_flower_01.png and b/df_primordial_items/textures/dfcaverns_jungle_flower_01.png differ diff --git a/df_primordial_items/textures/dfcaverns_jungle_glow_plant_01.png b/df_primordial_items/textures/dfcaverns_jungle_glow_plant_01.png index 3f2ca04..f90f4fc 100644 Binary files a/df_primordial_items/textures/dfcaverns_jungle_glow_plant_01.png and b/df_primordial_items/textures/dfcaverns_jungle_glow_plant_01.png differ diff --git a/df_primordial_items/textures/dfcaverns_jungle_glow_plant_02.png b/df_primordial_items/textures/dfcaverns_jungle_glow_plant_02.png index 9e924d7..f6dfd61 100644 Binary files a/df_primordial_items/textures/dfcaverns_jungle_glow_plant_02.png and b/df_primordial_items/textures/dfcaverns_jungle_glow_plant_02.png differ diff --git a/df_primordial_items/textures/dfcaverns_jungle_grass_01.png b/df_primordial_items/textures/dfcaverns_jungle_grass_01.png index d54a824..baad3ca 100644 Binary files a/df_primordial_items/textures/dfcaverns_jungle_grass_01.png and b/df_primordial_items/textures/dfcaverns_jungle_grass_01.png differ diff --git a/df_primordial_items/textures/dfcaverns_mush_mycelial_fibers.png b/df_primordial_items/textures/dfcaverns_mush_mycelial_fibers.png index d373878..e3f53a3 100644 Binary files a/df_primordial_items/textures/dfcaverns_mush_mycelial_fibers.png and b/df_primordial_items/textures/dfcaverns_mush_mycelial_fibers.png differ diff --git a/df_primordial_items/textures/dfcaverns_mush_sapling.png b/df_primordial_items/textures/dfcaverns_mush_sapling.png index 16d2a5c..bf3d77c 100644 Binary files a/df_primordial_items/textures/dfcaverns_mush_sapling.png and b/df_primordial_items/textures/dfcaverns_mush_sapling.png differ diff --git a/df_trees/black_cap.lua b/df_trees/black_cap.lua index 0a9905e..bdc098e 100644 --- a/df_trees/black_cap.lua +++ b/df_trees/black_cap.lua @@ -8,7 +8,7 @@ minetest.register_node("df_trees:black_cap_stem", { _doc_items_longdesc = df_trees.doc.black_cap_desc, _doc_items_usagehelp = df_trees.doc.black_cap_usage, tiles = {"dfcaverns_black_cap_top.png","dfcaverns_black_cap_top.png","dfcaverns_black_cap_side.png",}, - is_ground_content = true, + is_ground_content = false, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, sounds = default.node_sound_wood_defaults(), }) @@ -19,7 +19,7 @@ minetest.register_node("df_trees:black_cap", { _doc_items_longdesc = df_trees.doc.black_cap_desc, _doc_items_usagehelp = df_trees.doc.black_cap_usage, tiles = {"dfcaverns_black_cap_top.png","dfcaverns_black_cap_top.png","dfcaverns_black_cap_side.png^[transformR90",}, - is_ground_content = true, + is_ground_content = false, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, sounds = default.node_sound_wood_defaults(), }) @@ -30,7 +30,7 @@ minetest.register_node("df_trees:black_cap_gills", { _doc_items_longdesc = df_trees.doc.black_cap_desc, _doc_items_usagehelp = df_trees.doc.black_cap_usage, tiles = {"dfcaverns_black_cap_gills.png"}, - is_ground_content = true, + is_ground_content = false, groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1}, sounds = default.node_sound_leaves_defaults(), drawtype = "plantlike", @@ -143,6 +143,7 @@ minetest.register_node("df_trees:black_cap_sapling", { paramtype = "light", sunlight_propagates = true, walkable = false, + is_ground_content = false, floodable = true, selection_box = { type = "fixed", diff --git a/df_trees/blood_thorn.lua b/df_trees/blood_thorn.lua index 2c21a37..f9e1f18 100644 --- a/df_trees/blood_thorn.lua +++ b/df_trees/blood_thorn.lua @@ -39,6 +39,7 @@ minetest.register_node("df_trees:blood_thorn", { groups = {choppy = 3, tree = 1, flammable = 2, light_sensitive_fungus = 11}, _dfcaverns_dead_node = "df_trees:blood_thorn_dead", sounds = default.node_sound_wood_defaults(), + is_ground_content = false, on_place = minetest.rotate_node, after_dig_node = blood_thorn_after_dig, }) @@ -53,6 +54,7 @@ minetest.register_node("df_trees:blood_thorn_dead", { paramtype = "light", groups = {choppy = 3, tree = 1, flammable = 2}, sounds = default.node_sound_wood_defaults(), + is_ground_content = false, on_place = minetest.rotate_node, after_dig_node = blood_thorn_after_dig, }) @@ -74,6 +76,7 @@ minetest.register_node("df_trees:blood_thorn_spike", { sounds = default.node_sound_wood_defaults(), drawtype = "nodebox", climbable = true, + is_ground_content = false, damage_per_second = 1, paramtype = "light", paramtype2 = "facedir", @@ -103,6 +106,7 @@ minetest.register_node("df_trees:blood_thorn_spike_dead", { sounds = default.node_sound_wood_defaults(), drawtype = "nodebox", climbable = true, + is_ground_content = false, paramtype = "light", paramtype2 = "facedir", node_box = { diff --git a/df_trees/fungiwood.lua b/df_trees/fungiwood.lua index 3de93e5..26a5412 100644 --- a/df_trees/fungiwood.lua +++ b/df_trees/fungiwood.lua @@ -115,6 +115,7 @@ minetest.register_node("df_trees:fungiwood_sapling", { paramtype = "light", sunlight_propagates = true, walkable = false, + is_ground_content = false, floodable = true, selection_box = { type = "fixed", diff --git a/df_trees/goblin_cap.lua b/df_trees/goblin_cap.lua index dd71bb9..759512f 100644 --- a/df_trees/goblin_cap.lua +++ b/df_trees/goblin_cap.lua @@ -8,7 +8,7 @@ minetest.register_node("df_trees:goblin_cap_stem", { _doc_items_longdesc = df_trees.doc.goblin_cap_desc, _doc_items_usagehelp = df_trees.doc.goblin_cap_usage, tiles = {"dfcaverns_goblin_cap_stem.png"}, - is_ground_content = true, + is_ground_content = false, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1}, sounds = df_trees.node_sound_tree_soft_fungus_defaults(), }) @@ -19,7 +19,7 @@ minetest.register_node("df_trees:goblin_cap", { _doc_items_longdesc = df_trees.doc.goblin_cap_desc, _doc_items_usagehelp = df_trees.doc.goblin_cap_usage, tiles = {"dfcaverns_goblin_cap.png"}, - is_ground_content = true, + is_ground_content = false, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, goblin_cap = 1}, sounds = df_trees.node_sound_tree_soft_fungus_defaults(), }) @@ -30,7 +30,7 @@ minetest.register_node("df_trees:goblin_cap_gills", { _doc_items_longdesc = df_trees.doc.goblin_cap_desc, _doc_items_usagehelp = df_trees.doc.goblin_cap_usage, tiles = {"dfcaverns_goblin_cap_gills.png"}, - is_ground_content = true, + is_ground_content = false, groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, goblin_cap = 1}, sounds = default.node_sound_leaves_defaults(), drawtype = "plantlike", @@ -143,6 +143,7 @@ minetest.register_node("df_trees:goblin_cap_sapling", { wield_image = "dfcaverns_goblin_cap_sapling.png", paramtype = "light", sunlight_propagates = true, + is_ground_content = false, walkable = false, floodable = true, selection_box = { diff --git a/df_trees/nether_cap.lua b/df_trees/nether_cap.lua index 5bbef57..bc12c35 100644 --- a/df_trees/nether_cap.lua +++ b/df_trees/nether_cap.lua @@ -8,7 +8,7 @@ minetest.register_node("df_trees:nether_cap_stem", { _doc_items_longdesc = df_trees.doc.nether_cap_desc, _doc_items_usagehelp = df_trees.doc.nether_cap_usage, tiles = {"dfcaverns_nether_cap_stem.png"}, - is_ground_content = true, + is_ground_content = false, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1}, sounds = default.node_sound_wood_defaults(), }) @@ -19,7 +19,7 @@ minetest.register_node("df_trees:nether_cap", { _doc_items_longdesc = df_trees.doc.nether_cap_desc, _doc_items_usagehelp = df_trees.doc.nether_cap_usage, tiles = {"dfcaverns_nether_cap.png"}, - is_ground_content = true, + is_ground_content = false, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1 }, sounds = default.node_sound_wood_defaults({ footstep = {name = "default_snow_footstep", gain = 0.2}, @@ -32,7 +32,7 @@ minetest.register_node("df_trees:nether_cap_gills", { _doc_items_longdesc = df_trees.doc.nether_cap_desc, _doc_items_usagehelp = df_trees.doc.nether_cap_usage, tiles = {"dfcaverns_nether_cap_gills.png"}, - is_ground_content = true, + is_ground_content = false, light_source = 6, groups = {snappy = 3, leafdecay = 3, leaves = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1}, sounds = default.node_sound_leaves_defaults(), @@ -103,6 +103,7 @@ minetest.register_node("df_trees:nether_cap_sapling", { paramtype = "light", sunlight_propagates = true, walkable = false, + is_ground_content = false, floodable = true, -- nether cap spawn aren't tough enough to freeze water yet selection_box = { type = "fixed", diff --git a/df_trees/spindlestem.lua b/df_trees/spindlestem.lua index 046a9c8..b095064 100644 --- a/df_trees/spindlestem.lua +++ b/df_trees/spindlestem.lua @@ -64,7 +64,7 @@ minetest.register_node("df_trees:spindlestem_stem", { description = S("Spindlestem"), _doc_items_longdesc = df_trees.doc.spindlestem_desc, _doc_items_usagehelp = df_trees.doc.spindlestem_usage, - is_ground_content = true, + is_ground_content = false, groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, spindlestem = 1}, sounds = default.node_sound_wood_defaults(), tiles = { @@ -95,7 +95,7 @@ local register_spindlestem_type = function(item_suffix, colour_name, colour_code minetest.register_node(cap_item, { description = S("@1 Spindlestem Cap", colour_name), - is_ground_content = true, + is_ground_content = false, _doc_items_longdesc = df_trees.doc["spindlestem_cap_"..item_suffix.."_desc"], _doc_items_usagehelp = df_trees.doc["spindlestem_cap_"..item_suffix.."_usage"], groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, spindlestem = 1}, @@ -241,6 +241,7 @@ minetest.register_node("df_trees:spindlestem_seedling", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", + is_ground_content = false, walkable = false, floodable = true, node_box = { diff --git a/df_trees/spore_tree.lua b/df_trees/spore_tree.lua index bdc4381..950a0a8 100644 --- a/df_trees/spore_tree.lua +++ b/df_trees/spore_tree.lua @@ -157,6 +157,7 @@ minetest.register_node("df_trees:spore_tree_sapling", { paramtype = "light", sunlight_propagates = true, walkable = false, + is_ground_content = false, floodable = true, selection_box = { type = "fixed", diff --git a/df_trees/textures/dfcaverns_vessels_glowing_liquid.png b/df_trees/textures/dfcaverns_vessels_glowing_liquid.png index 0c11d73..ae12065 100644 Binary files a/df_trees/textures/dfcaverns_vessels_glowing_liquid.png and b/df_trees/textures/dfcaverns_vessels_glowing_liquid.png differ diff --git a/df_trees/torchspine.lua b/df_trees/torchspine.lua index 2b13fe8..b84f1d0 100644 --- a/df_trees/torchspine.lua +++ b/df_trees/torchspine.lua @@ -63,7 +63,7 @@ minetest.register_node("df_trees:torchspine_1", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", - is_ground_content = true, + is_ground_content = false, drops = "default:torch", node_box = { type = "fixed", @@ -82,7 +82,7 @@ minetest.register_node("df_trees:torchspine_1_lit", { paramtype = "light", paramtype2 = "facedir", light_source = 6, - is_ground_content = true, + is_ground_content = false, drops = "default:torch 2", node_box = { type = "fixed", @@ -100,7 +100,7 @@ minetest.register_node("df_trees:torchspine_2", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", - is_ground_content = true, + is_ground_content = false, node_box = { type = "fixed", fixed = stal_box_2, @@ -126,7 +126,7 @@ minetest.register_node("df_trees:torchspine_3", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", - is_ground_content = true, + is_ground_content = false, node_box = { type = "fixed", fixed = stal_box_3, @@ -156,7 +156,7 @@ minetest.register_node("df_trees:torchspine_4", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", - is_ground_content = true, + is_ground_content = false, node_box = { type = "fixed", fixed = stal_box_4, @@ -187,6 +187,7 @@ minetest.register_node("df_trees:torchspine_ember", { light_source = 2, paramtype2 = "facedir", walkable = false, + is_ground_content = false, floodable = true, node_box = { type = "fixed", diff --git a/df_trees/tower_cap.lua b/df_trees/tower_cap.lua index c8a54c2..61a3d42 100644 --- a/df_trees/tower_cap.lua +++ b/df_trees/tower_cap.lua @@ -8,7 +8,7 @@ minetest.register_node("df_trees:tower_cap_stem", { _doc_items_longdesc = df_trees.doc.tower_cap_desc, _doc_items_usagehelp = df_trees.doc.tower_cap_usage, tiles = {"dfcaverns_tower_cap.png"}, - is_ground_content = true, + is_ground_content = false, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1}, sounds = df_trees.node_sound_tree_soft_fungus_defaults(), }) @@ -19,7 +19,7 @@ minetest.register_node("df_trees:tower_cap", { _doc_items_longdesc = df_trees.doc.tower_cap_desc, _doc_items_usagehelp = df_trees.doc.tower_cap_usage, tiles = {"dfcaverns_tower_cap.png"}, - is_ground_content = true, + is_ground_content = false, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, tower_cap = 1}, sounds = df_trees.node_sound_tree_soft_fungus_defaults(), }) @@ -30,7 +30,7 @@ minetest.register_node("df_trees:tower_cap_gills", { _doc_items_longdesc = df_trees.doc.tower_cap_desc, _doc_items_usagehelp = df_trees.doc.tower_cap_usage, tiles = {"dfcaverns_tower_cap_gills.png"}, - is_ground_content = true, + is_ground_content = false, groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, tower_cap = 1}, sounds = default.node_sound_leaves_defaults(), drawtype = "plantlike", @@ -125,6 +125,7 @@ minetest.register_node("df_trees:tower_cap_sapling", { wield_image = "dfcaverns_tower_cap_sapling.png", paramtype = "light", sunlight_propagates = true, + is_ground_content = false, walkable = false, floodable = true, selection_box = { diff --git a/df_trees/tunnel_tube.lua b/df_trees/tunnel_tube.lua index 46a859b..29dafd7 100644 --- a/df_trees/tunnel_tube.lua +++ b/df_trees/tunnel_tube.lua @@ -17,6 +17,7 @@ minetest.register_node("df_trees:tunnel_tube", { tiles = {"dfcaverns_tunnel_tube.png"}, paramtype2 = "facedir", drawtype = "nodebox", + is_ground_content = false, paramtype = "light", groups = {choppy = 3, tree = 1, oddly_breakable_by_hand=1, flammable = 2}, sounds = default.node_sound_wood_defaults(), @@ -40,6 +41,7 @@ minetest.register_node("df_trees:tunnel_tube_slant_bottom", { tiles = {"dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png"}, paramtype2 = "facedir", drawtype = "mesh", + is_ground_content = false, mesh = "tunnel_tube_slant.obj", paramtype = "light", drop = "df_trees:tunnel_tube", @@ -70,6 +72,7 @@ minetest.register_node("df_trees:tunnel_tube_slant_top", { tiles = {"dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png"}, paramtype2 = "facedir", drawtype = "mesh", + is_ground_content = false, mesh = "tunnel_tube_slant_2.obj", paramtype = "light", drop = "df_trees:tunnel_tube", @@ -99,6 +102,7 @@ minetest.register_node("df_trees:tunnel_tube_slant_full", { tiles = {"dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png", "dfcaverns_tunnel_tube.png"}, paramtype2 = "facedir", drawtype = "mesh", + is_ground_content = false, mesh = "tunnel_tube_slant_full.obj", paramtype = "light", drop = "df_trees:tunnel_tube", @@ -172,6 +176,7 @@ if df_trees.config.enable_tnt then _doc_items_usagehelp = df_trees.doc.tunnel_tube_usage, tiles = {"dfcaverns_tunnel_tube.png^[multiply:#b09090"}, paramtype2 = "facedir", + is_ground_content = false, groups = {choppy = 3, oddly_breakable_by_hand=1, flammable = 2, tnt = 1,}, sounds = default.node_sound_wood_defaults(), on_place = minetest.rotate_node, @@ -227,6 +232,7 @@ if df_trees.config.enable_tnt then _doc_items_longdesc = df_trees.doc.tunnel_tube_desc, _doc_items_usagehelp = df_trees.doc.tunnel_tube_usage, tiles = {"dfcaverns_tunnel_tube.png^[multiply:#b09090"}, + is_ground_content = false, groups = {not_in_creative_inventory = 1,}, light_source = 5, drop = "", @@ -248,6 +254,7 @@ else _doc_items_usagehelp = df_trees.doc.tunnel_tube_usage, tiles = {"dfcaverns_tunnel_tube.png^[multiply:#b09090"}, paramtype2 = "facedir", + is_ground_content = false, groups = {choppy = 3, oddly_breakable_by_hand=1, flammable = 2}, sounds = default.node_sound_wood_defaults(), on_place = minetest.rotate_node, @@ -285,6 +292,7 @@ minetest.register_node("df_trees:tunnel_tube_sapling", { paramtype = "light", sunlight_propagates = true, walkable = false, + is_ground_content = false, floodable = true, selection_box = { type = "fixed", diff --git a/df_underworld_items/crystals_amethyst.lua b/df_underworld_items/crystals_amethyst.lua index 091ba23..183a941 100644 --- a/df_underworld_items/crystals_amethyst.lua +++ b/df_underworld_items/crystals_amethyst.lua @@ -7,7 +7,7 @@ minetest.register_node("df_underworld_items:glow_amethyst", { _doc_items_longdesc = df_underworld_items.doc.glow_amethyst_desc, _doc_items_usagehelp = df_underworld_items.doc.glow_amethyst_usage, tiles = {"dfcaverns_glow_amethyst.png"}, - is_ground_content = true, + is_ground_content = false, groups = {cracky=3, pit_plasma_resistant=1}, sounds = default.node_sound_glass_defaults(), light_source = 6, diff --git a/df_underworld_items/glow_stone.lua b/df_underworld_items/glow_stone.lua index c155b10..17c5982 100644 --- a/df_underworld_items/glow_stone.lua +++ b/df_underworld_items/glow_stone.lua @@ -8,7 +8,7 @@ local glowstone_def = { light_source = minetest.LIGHT_MAX, description = S("Lightseam"), tiles = {"dfcaverns_glowstone.png"}, - is_ground_content = true, + is_ground_content = false, groups = {cracky=3}, sounds = default.node_sound_glass_defaults(), paramtype = "light", diff --git a/df_underworld_items/glowing_pit_plasma.lua b/df_underworld_items/glowing_pit_plasma.lua index 3fe263c..c1a9a52 100644 --- a/df_underworld_items/glowing_pit_plasma.lua +++ b/df_underworld_items/glowing_pit_plasma.lua @@ -35,7 +35,7 @@ minetest.register_node("df_underworld_items:pit_plasma", { liquid_alternative_flowing = "df_underworld_items:pit_plasma_flowing", liquid_alternative_source = "df_underworld_items:pit_plasma", liquid_renewable = false, - is_ground_content = true, + is_ground_content = false, light_source = minetest.LIGHT_MAX, paramtype = "light", }) @@ -84,7 +84,7 @@ minetest.register_node("df_underworld_items:pit_plasma_flowing", { liquid_alternative_flowing = "df_underworld_items:pit_plasma_flowing", liquid_alternative_source = "df_underworld_items:pit_plasma", liquid_renewable = false, - is_ground_content = true, + is_ground_content = false, light_source = minetest.LIGHT_MAX, paramtype = "light", }) diff --git a/df_underworld_items/slade.lua b/df_underworld_items/slade.lua index 4d4490d..a3895a1 100644 --- a/df_underworld_items/slade.lua +++ b/df_underworld_items/slade.lua @@ -64,6 +64,7 @@ local slade_wall_def = { paramtype = "light", tiles = {"dfcaverns_slade_brick.png"}, walkable = true, + is_ground_content = false, groups = { cracky=3, stone=1, level=3, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1}, sounds = default.node_sound_stone_defaults({ footstep = { name = "bedrock2_step", gain = 1 } }), } @@ -78,7 +79,7 @@ minetest.register_node("df_underworld_items:slade_sand", { _doc_items_longdesc = df_underworld_items.doc.slade_desc, _doc_items_usagehelp = df_underworld_items.doc.slade_usage, tiles = {"dfcaverns_slade_sand.png"}, - is_ground_content = true, + is_ground_content = false, groups = {crumbly = 3, level = 2, falling_node = 1, slade=1, pit_plasma_resistant=1, mese_radiation_shield=1}, sounds = default.node_sound_gravel_defaults({ footstep = {name = "default_gravel_footstep", gain = 0.45}, diff --git a/ice_sprites/init.lua b/ice_sprites/init.lua index 01339d3..c94c6d2 100644 --- a/ice_sprites/init.lua +++ b/ice_sprites/init.lua @@ -38,6 +38,7 @@ minetest.register_node("ice_sprites:ice_sprite", { paramtype = "light", sunlight_propagates = true, buildable_to = true, + is_ground_content = false, walkable = false, groups = {catchable = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1}, selection_box = { @@ -75,6 +76,7 @@ minetest.register_node("ice_sprites:hidden_ice_sprite", { paramtype = "light", sunlight_propagates = true, walkable = false, + is_ground_content = false, pointable = false, diggable = false, buildable_to = true, @@ -124,6 +126,7 @@ minetest.register_node("ice_sprites:ice_sprite_bottle", { paramtype = "light", sunlight_propagates = true, light_source = 9, + is_ground_content = false, walkable = false, groups = {dig_immediate = 3, attached_node = 1, puts_out_fire = 1, cools_lava = 1, freezes_water = 1}, selection_box = { diff --git a/mine_gas/init.lua b/mine_gas/init.lua index 4eb38aa..863a0e6 100644 --- a/mine_gas/init.lua +++ b/mine_gas/init.lua @@ -31,6 +31,7 @@ minetest.register_node("mine_gas:gas", { walkable = false, pointable = false, diggable = false, + is_ground_content = false, buildable_to = true, drawtype = "glasslike", drowning = 1, diff --git a/mine_gas/textures/mine_gas_wisp_inventory.png b/mine_gas/textures/mine_gas_wisp_inventory.png index 612dcea..ddf4de1 100644 Binary files a/mine_gas/textures/mine_gas_wisp_inventory.png and b/mine_gas/textures/mine_gas_wisp_inventory.png differ diff --git a/mine_gas/wisp.lua b/mine_gas/wisp.lua index b8e9c86..64db382 100644 --- a/mine_gas/wisp.lua +++ b/mine_gas/wisp.lua @@ -14,6 +14,7 @@ minetest.register_node("mine_gas:gas_wisp", { _doc_items_longdesc = wisp_desc, _doc_items_usagehelp = wisp_usage, walkable = false, + is_ground_content = false, diggable = false, buildable_to = true, drawtype = "plantlike",