From 0acb3ab09bcd1bd582d7c3de7d6d0573a8d5521b Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sat, 13 Mar 2021 02:21:13 -0700 Subject: [PATCH] update use_texture_alpha properties --- df_mapitems/crystals_mese.lua | 4 +-- df_mapitems/crystals_ruby.lua | 12 ++++----- df_mapitems/crystals_salt.lua | 2 +- df_primordial_items/ceiling_fungus.lua | 2 +- df_primordial_items/fungal_nodes.lua | 10 ++++---- df_primordial_items/giant_fern.lua | 4 +-- df_primordial_items/jungle_mushroom.lua | 2 +- df_primordial_items/jungle_nodes.lua | 28 ++++++++++----------- df_primordial_items/jungle_tree.lua | 2 +- df_primordial_items/primordial_mushroom.lua | 7 +++--- df_underworld_items/crystals_amethyst.lua | 2 +- df_underworld_items/glow_stone.lua | 1 - mine_gas/init.lua | 2 +- mine_gas/wisp.lua | 2 +- 14 files changed, 40 insertions(+), 40 deletions(-) diff --git a/df_mapitems/crystals_mese.lua b/df_mapitems/crystals_mese.lua index 7629ff9..998b014 100644 --- a/df_mapitems/crystals_mese.lua +++ b/df_mapitems/crystals_mese.lua @@ -11,7 +11,7 @@ minetest.register_node("df_mapitems:glow_mese", { is_ground_content = false, light_source = 13, paramtype = "light", - use_texture_alpha = true, + use_texture_alpha = "blend", drawtype = "glasslike", sunlight_propagates = true, }) @@ -36,7 +36,7 @@ minetest.register_node("df_mapitems:mese_crystal", { light_source = 12, is_ground_content = false, sounds = df_mapitems.sounds.glass, - use_texture_alpha = true, + use_texture_alpha = "blend", sunlight_propagates = true, on_place = df_mapitems.place_against_surface, }) diff --git a/df_mapitems/crystals_ruby.lua b/df_mapitems/crystals_ruby.lua index 056b016..a4ed9c9 100644 --- a/df_mapitems/crystals_ruby.lua +++ b/df_mapitems/crystals_ruby.lua @@ -20,7 +20,7 @@ minetest.register_node("df_mapitems:big_crystal", { "dfcaverns_glow_ruby4x.png", "dfcaverns_glow_ruby.png", }, - use_texture_alpha = true, + use_texture_alpha = "blend", paramtype = "light", paramtype2 = "facedir", is_ground_content = false, @@ -48,7 +48,7 @@ minetest.register_node("df_mapitems:med_crystal", { "dfcaverns_glow_ruby.png", "dfcaverns_glow_ruby_quarter.png", }, - use_texture_alpha = true, + use_texture_alpha = "blend", paramtype = "light", paramtype2 = "facedir", is_ground_content = false, @@ -77,7 +77,7 @@ minetest.register_node("df_mapitems:big_crystal_30", { "dfcaverns_glow_ruby4x.png", "dfcaverns_glow_ruby.png", }, - use_texture_alpha = true, + use_texture_alpha = "blend", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -129,7 +129,7 @@ minetest.register_node("df_mapitems:med_crystal_30", { "dfcaverns_glow_ruby.png", "dfcaverns_glow_ruby_quarter.png", }, - use_texture_alpha = true, + use_texture_alpha = "blend", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -166,7 +166,7 @@ minetest.register_node("df_mapitems:big_crystal_30_45", { "dfcaverns_glow_ruby4x.png", "dfcaverns_glow_ruby.png", }, - use_texture_alpha = true, + use_texture_alpha = "blend", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -204,7 +204,7 @@ minetest.register_node("df_mapitems:med_crystal_30_45", { "dfcaverns_glow_ruby4x.png", "dfcaverns_glow_ruby.png", }, - use_texture_alpha = true, + use_texture_alpha = "blend", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, diff --git a/df_mapitems/crystals_salt.lua b/df_mapitems/crystals_salt.lua index a749ecb..8b9b12d 100644 --- a/df_mapitems/crystals_salt.lua +++ b/df_mapitems/crystals_salt.lua @@ -12,7 +12,7 @@ minetest.register_node("df_mapitems:salt_crystal", { mesh = "underch_crystal.obj", light_source = 6, sounds = df_mapitems.sounds.glass, - use_texture_alpha = true, + use_texture_alpha = "blend", sunlight_propagates = true, is_ground_content = false, on_place = df_mapitems.place_against_surface, diff --git a/df_primordial_items/ceiling_fungus.lua b/df_primordial_items/ceiling_fungus.lua index 26785bb..a76a69b 100644 --- a/df_primordial_items/ceiling_fungus.lua +++ b/df_primordial_items/ceiling_fungus.lua @@ -45,7 +45,7 @@ minetest.register_node("df_primordial_items:glow_orb_hanging", { walkable = false, light_source = 6, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) diff --git a/df_primordial_items/fungal_nodes.lua b/df_primordial_items/fungal_nodes.lua index 4556485..9d76e4d 100644 --- a/df_primordial_items/fungal_nodes.lua +++ b/df_primordial_items/fungal_nodes.lua @@ -19,7 +19,7 @@ minetest.register_node("df_primordial_items:fungal_grass_1", { is_ground_content = false, walkable = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -38,7 +38,7 @@ minetest.register_node("df_primordial_items:fungal_grass_2", { walkable = false, place_param2 = 3, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -59,7 +59,7 @@ minetest.register_node("df_primordial_items:glow_orb", { walkable = false, light_source = 9, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -78,7 +78,7 @@ minetest.register_node("df_primordial_items:glow_orb_stalks", { walkable = false, light_source = 6, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -110,7 +110,7 @@ minetest.register_node("df_primordial_items:glow_pods", { walkable = false, light_source = 6, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) diff --git a/df_primordial_items/giant_fern.lua b/df_primordial_items/giant_fern.lua index 00cc90b..35c6aa2 100644 --- a/df_primordial_items/giant_fern.lua +++ b/df_primordial_items/giant_fern.lua @@ -162,7 +162,7 @@ minetest.register_node("df_primordial_items:giant_fern_leaves", { walkable = false, waving = 2, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, after_place_node = df_primordial_items.after_place_leaves, drop = { @@ -280,7 +280,7 @@ minetest.register_node("df_primordial_items:fern_sapling", { is_ground_content = false, walkable = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, on_construct = function(pos) if minetest.get_item_group(minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name, "soil") == 0 then diff --git a/df_primordial_items/jungle_mushroom.lua b/df_primordial_items/jungle_mushroom.lua index 9d30653..da3de57 100644 --- a/df_primordial_items/jungle_mushroom.lua +++ b/df_primordial_items/jungle_mushroom.lua @@ -105,7 +105,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_sapling", { is_ground_content = false, walkable = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, on_construct = function(pos) diff --git a/df_primordial_items/jungle_nodes.lua b/df_primordial_items/jungle_nodes.lua index 083a77d..ae5ad57 100644 --- a/df_primordial_items/jungle_nodes.lua +++ b/df_primordial_items/jungle_nodes.lua @@ -19,7 +19,7 @@ minetest.register_node("df_primordial_items:fern_1", { is_ground_content = false, walkable = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -39,7 +39,7 @@ minetest.register_node("df_primordial_items:fern_2", { is_ground_content = false, walkable = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -75,7 +75,7 @@ minetest.register_node("df_primordial_items:glow_plant_1", { }, }, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -96,7 +96,7 @@ minetest.register_node("df_primordial_items:glow_plant_2", { drop = "df_primordial_items:glowtato", light_source = 6, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -117,7 +117,7 @@ minetest.register_node("df_primordial_items:glow_plant_3", { walkable = false, light_source = 6, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -140,7 +140,7 @@ minetest.register_node("df_primordial_items:jungle_grass_1", { is_ground_content = false, walkable = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -160,7 +160,7 @@ minetest.register_node("df_primordial_items:jungle_grass_2", { walkable = false, place_param2 = 3, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -180,7 +180,7 @@ minetest.register_node("df_primordial_items:jungle_grass_3", { walkable = false, place_param2 = 3, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -202,7 +202,7 @@ minetest.register_node("df_primordial_items:jungle_ivy", { --paramtype2 = "wallmouinted", --drawtype = "signlike", sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, is_ground_content = false, walkable = false, @@ -229,7 +229,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_1", { is_ground_content = false, walkable = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -247,7 +247,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_2", { is_ground_content = false, walkable = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, }) @@ -363,7 +363,7 @@ minetest.register_node("df_primordial_items:jungle_roots_1", { paramtype = "light", drawtype = "plantlike", sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, walkable = false, climbable = true, @@ -381,7 +381,7 @@ minetest.register_node("df_primordial_items:jungle_roots_2", { paramtype = "light", drawtype = "plantlike", sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", is_ground_content = false, sunlight_propagates = true, walkable = false, @@ -406,7 +406,7 @@ minetest.register_node("df_primordial_items:jungle_thorns", { is_ground_content = false, place_param2 = 3, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, damage_per_second = 1, }) diff --git a/df_primordial_items/jungle_tree.lua b/df_primordial_items/jungle_tree.lua index 5d65aa8..4aef551 100644 --- a/df_primordial_items/jungle_tree.lua +++ b/df_primordial_items/jungle_tree.lua @@ -234,7 +234,7 @@ minetest.register_node("df_primordial_items:jungletree_sapling", { walkable = false, is_ground_content = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, on_construct = function(pos) if minetest.get_item_group(minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name, "soil") == 0 then diff --git a/df_primordial_items/primordial_mushroom.lua b/df_primordial_items/primordial_mushroom.lua index b2206d2..9869738 100644 --- a/df_primordial_items/primordial_mushroom.lua +++ b/df_primordial_items/primordial_mushroom.lua @@ -39,7 +39,7 @@ minetest.register_node("df_primordial_items:mushroom_gills", { climbable = true, is_ground_content = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, drop = { max_items = 1, @@ -69,10 +69,11 @@ minetest.register_node("df_primordial_items:mushroom_gills_glowing", { drawtype = "plantlike", waving = 2, walkable = false, + climbable = true, is_ground_content = false, light_source = 6, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, drop = { max_items = 1, @@ -703,7 +704,7 @@ minetest.register_node("df_primordial_items:mush_sapling", { walkable = false, is_ground_content = false, sounds = df_primordial_items.sounds.leaves, - use_texture_alpha = true, + use_texture_alpha = "clip", sunlight_propagates = true, on_construct = function(pos) if minetest.get_item_group(minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name, "soil") == 0 then diff --git a/df_underworld_items/crystals_amethyst.lua b/df_underworld_items/crystals_amethyst.lua index 02f6737..bf0be4b 100644 --- a/df_underworld_items/crystals_amethyst.lua +++ b/df_underworld_items/crystals_amethyst.lua @@ -10,7 +10,7 @@ minetest.register_node("df_underworld_items:glow_amethyst", { sounds = default.node_sound_glass_defaults(), light_source = 6, paramtype = "light", - use_texture_alpha = true, + use_texture_alpha = "blend", drawtype = "glasslike", sunlight_propagates = true, }) diff --git a/df_underworld_items/glow_stone.lua b/df_underworld_items/glow_stone.lua index fc2e3d0..6f16210 100644 --- a/df_underworld_items/glow_stone.lua +++ b/df_underworld_items/glow_stone.lua @@ -21,7 +21,6 @@ local glowstone_def = { groups = {cracky=3}, sounds = default.node_sound_glass_defaults(), paramtype = "light", - --use_texture_alpha = true, drawtype = "glasslike", drop = "", sunlight_propagates = true, diff --git a/mine_gas/init.lua b/mine_gas/init.lua index 4129e3a..1356aa2 100644 --- a/mine_gas/init.lua +++ b/mine_gas/init.lua @@ -38,7 +38,7 @@ minetest.register_node("mine_gas:gas", { drowning = 1, post_effect_color = {a = 20, r = 20, g = 20, b = 250}, tiles = {"mine_gas.png^[opacity:28"}, - use_texture_alpha = true, + use_texture_alpha = "blend", groups = {not_in_creative_inventory=1, ropes_can_extend_into=1}, paramtype = "light", drop = {}, diff --git a/mine_gas/wisp.lua b/mine_gas/wisp.lua index 5627a70..fd4e42a 100644 --- a/mine_gas/wisp.lua +++ b/mine_gas/wisp.lua @@ -31,7 +31,7 @@ minetest.register_node("mine_gas:gas_wisp", { }, }}, light_source = 10, - use_texture_alpha = true, + use_texture_alpha = "clip", groups = {not_in_creative_inventory=0}, paramtype = "light", paramtype2 = "meshoptions",