Skip to content

Commit

Permalink
update use_texture_alpha properties
Browse files Browse the repository at this point in the history
  • Loading branch information
FaceDeer committed Mar 13, 2021
1 parent 9a53e49 commit 0acb3ab
Show file tree
Hide file tree
Showing 14 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions df_mapitems/crystals_mese.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand All @@ -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,
})
Expand Down
12 changes: 6 additions & 6 deletions df_mapitems/crystals_ruby.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion df_mapitems/crystals_salt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion df_primordial_items/ceiling_fungus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})

Expand Down
10 changes: 5 additions & 5 deletions df_primordial_items/fungal_nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})

Expand All @@ -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,
})

Expand All @@ -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,
})

Expand All @@ -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,
})

Expand Down Expand Up @@ -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,
})

Expand Down
4 changes: 2 additions & 2 deletions df_primordial_items/giant_fern.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion df_primordial_items/jungle_mushroom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
28 changes: 14 additions & 14 deletions df_primordial_items/jungle_nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})

Expand All @@ -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,
})

Expand Down Expand Up @@ -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,
})

Expand All @@ -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,
})

Expand All @@ -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,
})

Expand All @@ -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,
})

Expand All @@ -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,
})

Expand All @@ -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,
})

Expand All @@ -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,
Expand All @@ -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,
})

Expand All @@ -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,
})

Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
})
Expand Down
2 changes: 1 addition & 1 deletion df_primordial_items/jungle_tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions df_primordial_items/primordial_mushroom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion df_underworld_items/crystals_amethyst.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down
1 change: 0 additions & 1 deletion df_underworld_items/glow_stone.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion mine_gas/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {},
Expand Down
2 changes: 1 addition & 1 deletion mine_gas/wisp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0acb3ab

Please sign in to comment.