From 13c75410aad0f8cc21563cb09a593ab75850120e Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sun, 10 Nov 2019 21:47:10 -0700 Subject: [PATCH] optimize pngs, add is_ground_content to everything --- df_farming/cave_wheat.lua | 1 + df_farming/dimple_cup.lua | 1 + df_farming/pig_tail.lua | 1 + df_farming/plants.lua | 3 +++ df_farming/plump_helmet.lua | 6 ++++++ df_farming/quarry_bush.lua | 1 + df_farming/sweet_pod.lua | 1 + df_mapitems/castle_coral.lua | 2 ++ df_mapitems/cave_coral.lua | 3 +++ df_mapitems/cave_pearls.lua | 1 + df_mapitems/crystals_mese.lua | 4 ++-- df_mapitems/crystals_ruby.lua | 8 +++++++- df_mapitems/crystals_salt.lua | 3 ++- df_mapitems/flowstone.lua | 6 ++++-- df_mapitems/glow_worms.lua | 2 +- df_mapitems/ground_cover.lua | 7 ++++--- df_mapitems/snareweed.lua | 2 +- df_mapitems/textures/dfcaverns_castle_coral.png | Bin 629 -> 477 bytes df_mapitems/veinstone.lua | 2 +- df_primordial_items/ceiling_fungus.lua | 1 + df_primordial_items/fungal_nodes.lua | 6 ++++++ df_primordial_items/giant_fern.lua | 4 ++++ df_primordial_items/jungle_mushroom.lua | 1 + df_primordial_items/jungle_nodes.lua | 16 +++++++++++++++- df_primordial_items/jungle_tree.lua | 1 + df_primordial_items/primordial_mushroom.lua | 3 +++ .../textures/dfcaverns_jungle_fern_02.png | Bin 243 -> 239 bytes .../textures/dfcaverns_jungle_fern_bark.png | Bin 308 -> 306 bytes .../textures/dfcaverns_jungle_flower_01.png | Bin 361 -> 352 bytes .../textures/dfcaverns_jungle_glow_plant_01.png | Bin 355 -> 348 bytes .../textures/dfcaverns_jungle_glow_plant_02.png | Bin 332 -> 324 bytes .../textures/dfcaverns_jungle_grass_01.png | Bin 437 -> 436 bytes .../textures/dfcaverns_mush_mycelial_fibers.png | Bin 532 -> 517 bytes .../textures/dfcaverns_mush_sapling.png | Bin 334 -> 333 bytes df_trees/black_cap.lua | 7 ++++--- df_trees/blood_thorn.lua | 4 ++++ df_trees/fungiwood.lua | 1 + df_trees/goblin_cap.lua | 7 ++++--- df_trees/nether_cap.lua | 7 ++++--- df_trees/spindlestem.lua | 5 +++-- df_trees/spore_tree.lua | 1 + .../dfcaverns_vessels_glowing_liquid.png | Bin 327 -> 106 bytes df_trees/torchspine.lua | 11 ++++++----- df_trees/tower_cap.lua | 7 ++++--- df_trees/tunnel_tube.lua | 8 ++++++++ df_underworld_items/crystals_amethyst.lua | 2 +- df_underworld_items/glow_stone.lua | 2 +- df_underworld_items/glowing_pit_plasma.lua | 4 ++-- df_underworld_items/slade.lua | 3 ++- ice_sprites/init.lua | 3 +++ mine_gas/init.lua | 1 + mine_gas/textures/mine_gas_wisp_inventory.png | Bin 573 -> 567 bytes mine_gas/wisp.lua | 1 + 53 files changed, 123 insertions(+), 37 deletions(-) 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 1b3a2f08a35edfeb521810da9df06d53bcae908b..76328d55685d9c8a008cd2e6989fb4ce020b79b8 100644 GIT binary patch delta 53 zcmey$a+i6-21Z>8PZ!4!iK)qn2`;QUOw7s#%%^@>Y+BLoST>#L|8Y3-`$m;7JdgY1lO=6G4?Vi{>C~%Rzm7e-_U+s|xo`Y@{eAv^=iScf>#bjxpZC7t w|A!x6{(SoN?cc|rU;lpo&Hm{nGdA>@U$w-(@x`Bq?-_u=)78&qol`;+0DzovwEzGB 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 5c8c0b6c0a52255da5fadb15f9518a0489fb0ea3..1501d75affef10f12603cae0b5a780768e0de041 100644 GIT binary patch delta 101 zcmV-r0Gj{v0q+5jkzPqjL_t&-8KuC<7C;~XK+)Go=2`Lo|7k&v+PeJW7Ag6#wH!CY zYc4AcVjyy>K%qU4Nnim_w4bDUGKx$fqe+E8syIk=O&hpf>$Cy?ZkkBo00000NkvXX Hu0mjf6M8F} delta 105 zcmV-v0G9vn0rLTnkz!3rL_t(|UZu@P4uCKW1<`RDwfA!Wd$I}vZ}IL)V|{*IF&p!C zsLZhX$Cy?>{KG800000 LNkvXXu0mjf3!yJN diff --git a/df_primordial_items/textures/dfcaverns_jungle_fern_bark.png b/df_primordial_items/textures/dfcaverns_jungle_fern_bark.png index 5041941889ac9f3d32990489be5161b4d2acd56f..7d53f1a21a5595b58296a830dddbd0b6d55ea670 100644 GIT binary patch delta 167 zcmdnOw25iLugFJ delta 169 zcmV;a09OC90<;2*t1dX+#P(6g~?JNtJB~E&&(+uc4qY= zKU>8oan?t8N6l2mFI+DZmepU?6g8MF@b~2h;>!=jmmi2PKOzucejvX5Kz#Xu`111w XQ8WwVG4xDu00000NkvXXu0mjf0|iT& diff --git a/df_primordial_items/textures/dfcaverns_jungle_flower_01.png b/df_primordial_items/textures/dfcaverns_jungle_flower_01.png index de31b86b16e6a5d252b88bc9876bb3a630233c3a..726ea3a615bd0def23bc1020ea28169c94d579d6 100644 GIT binary patch delta 139 zcmV;60CfN90^kCW-G6RLL_t&-83n{fS^`%({{w-7nB*URHZ2$lO07*qoLSI9)J%>C9IDFouARd!XC5JqD0XK_6W_n=Kh^}cM5)NvF#Nly$ z3N(C=_dPUr`rc?^vem+J)!paO%x!PmU0-|~ia#w>1|+r`84dIR0000I@8;jBvh+7MRk23mBV#DFe8G zv<`@5QdENpXoE>*GbNaSkqn5GS73tck&pzD`bhSQOEI7UAu$njAyGjz0e)drK9>L= r3ZI*khZl*0EGX{0>lE4&~#r(L_t&-SFOiI62d?L0KrCsC%6;b?fSYc8H|~XxPmhlY;Xq$%x>#TMseqa`7-eF?4q>_OxiKhMxZ0qn}LAphe7S>6_lz;#L002ovPDHLkV1m6>IIsW! delta 131 zcmV-}0DS+%0?Y!C(0pe}L_t(|Uag2l4#Y4NLtSKM7-WX~pRPa2C{?qrCEL%&LaLfG ztD!uJeF5qY=v&~$j|X`J9H~D1xRO`z!}E_w@;l{vC-M6$DC51vG)pMAp+wwR1d+f= l9u)b?cHG(2P0Kbkjw2GD1>*{=lQIAR002ovPDHLkV1o1{JbVBE diff --git a/df_primordial_items/textures/dfcaverns_jungle_grass_01.png b/df_primordial_items/textures/dfcaverns_jungle_grass_01.png index d54a824aec2e6db1c5c80942649cf056f99aa2ad..baad3ca08f7b7cf8e861ccb390d720671f17c3ca 100644 GIT binary patch delta 222 zcmV<403rXi1GEE>G9*J)E&(M60Vf9nCk6s52m>Mp10@In9Rvp|3kWU^2rmr*BnFXO zhXx5J3kfI+k>f3YA2^`Z00001bW%=J06^y0W&i*Hdr3q=RCr!Rz{7z900026)V6K& zY#aN}(`N(F{HZ#k5t5@GT0y?gCuN12A||C_#W!PfzA$BgkEI?Xya5Z)!TT$iLH7=x z!7bc?r$@Mg7oZK-2nGSa*x(OfzvhCoQvmlooI3#^%{G-K*#VIFkGBE=N0*UkESn6& Y0bEB5bu<(Aw*UYD07*qoM6N<$f&~vu`v3p{ delta 222 zcmV<403rXh1GNK?GAaQi1_31p0Vf9nCk6s52m>Mp10@In9Rvp|3kWU^2rmr@CkqKE z3PV*ckyeM1<1K$pbr}=@0004WQchC^-zcqb6BcO8kwLdh`f Y0GJ93g5rk`4FCWD07*qoM6N<$f}rS2&Hw-a diff --git a/df_primordial_items/textures/dfcaverns_mush_mycelial_fibers.png b/df_primordial_items/textures/dfcaverns_mush_mycelial_fibers.png index d373878dc9b4f4ce010d6d672b80a76800661134..e3f53a33dc854974d5492893fd5a4b20b1cfcb0a 100644 GIT binary patch delta 165 zcmV;W09yZ)1cd~!X#szSNkl6nZ(Wu?q)J%Jsiq03)>$;K=2U>g!0VG^li6jp*^5q*08sV%{DEL79Erx_34lqZGud3eK$fVA zz(IOy^@h-FwL9Hje=r=0U@@7}vpKa`uGX6^0Aja498c%Vl_4x|_s82ifR9f|fG__0 i=NAC`2bq6>fI?40X%m{2o*Lo+0000n(1^@+i6A>?- RiKYMm002ovPDHLkV1nrWEQf#K*zP#mxg3;AP}z5)@()f$>Gf z#F-={rKDwKp#pO93X06k$|{ViPysb{4NWa=9bG+rsDJ?rtD%vxiK&@6kOKhe9R?IN S3oZ8m0000@9rfkD+aR|!b51^9%x0_p$%|1Z5c|1OZlSQ6wH%;50sMjDVKB^mSp delta 311 zcmc~g&NM-yo`a2nfkFQB|3o0Qt|}y=Bq*_5p`a)~Ei)%op`@}PRUx$^GmU|v;#O?H zLBYccJin{E`WU7iH1NB%r2OuJ$KfpMJ40kP>Gph3y#4+2wBrtCqT2Ve)|(1mTl@OZ zlBJ!J#hd0X_HZw{{M07EE8&RFYq7uFUyEW3xc^pOKN|nA{_>$01$@pu)2E)4a&8kW zd1aaPa@MuvAF(m&Vdo;x4G?YiPcTaQWQJ{G^mzSfOzdoG?ZEmD`ZQvbpD`j-cT z(4*iIpwl@EJR*x37`TN&n2}-D90{Nxdx@v7EBj*(78Z7su2)yL0EKisT^vI!PA4Zw zur5xBU~n_cY5ETY{h@}+%57C@Ua<#Ug!L0Xvza{)W@TVVl;>bS`0c$6P$Pq05AW&1h)jRZ~=d^Nkl!D0FMJKj6m&*^OM^uHMo?l+y-i=c5@%i=5uoAyKeH6uNRg7W)0000< KMNUMnLSTYQ?`qrt delta 214 zcmV;{04e{s1ib{XZ~=d~Nkl@*g8x8Tqo&aSZl)d}AtX<>a&?|r+feOV^*{A~N#{y0~j40V?w%Q%S$?5Jk zkb#rWKp QfB*mh07*qoM6N<$f*5yYod5s; 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",