Fix use_texture_alpha issues
This commit is contained in:
parent
1219deb83d
commit
79ad815ed6
@ -204,6 +204,7 @@ minetest.register_node("techage:forceload", {
|
|||||||
|
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
use_texture_alpha = techage.CLIP,
|
||||||
groups = {choppy=2, cracky=2, crumbly=2,
|
groups = {choppy=2, cracky=2, crumbly=2,
|
||||||
digtron_protected = 1,
|
digtron_protected = 1,
|
||||||
not_in_creative_inventory = techage.max_num_forceload_blocks == 0 and 1 or 0},
|
not_in_creative_inventory = techage.max_num_forceload_blocks == 0 and 1 or 0},
|
||||||
|
@ -98,7 +98,7 @@ for _, size in ipairs(SIZES) do
|
|||||||
"techage_laser.png",
|
"techage_laser.png",
|
||||||
"techage_laser.png",
|
"techage_laser.png",
|
||||||
},
|
},
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = techage.BLEND,
|
||||||
physical = false,
|
physical = false,
|
||||||
collide_with_objects = false,
|
collide_with_objects = false,
|
||||||
pointable = false,
|
pointable = false,
|
||||||
|
@ -82,7 +82,7 @@ minetest.register_entity(":techage:region_cube", {
|
|||||||
initial_properties = {
|
initial_properties = {
|
||||||
visual = "upright_sprite",
|
visual = "upright_sprite",
|
||||||
textures = {"techage_cube_mark.png"},
|
textures = {"techage_cube_mark.png"},
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = techage.BLEND,
|
||||||
physical = false,
|
physical = false,
|
||||||
glow = 12,
|
glow = 12,
|
||||||
},
|
},
|
||||||
|
@ -70,7 +70,7 @@ minetest.register_entity(":techage:position_cube", {
|
|||||||
"techage_cube_mark.png",
|
"techage_cube_mark.png",
|
||||||
"techage_cube_mark.png",
|
"techage_cube_mark.png",
|
||||||
},
|
},
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = techage.BLEND,
|
||||||
physical = false,
|
physical = false,
|
||||||
visual_size = {x = 1.1, y = 1.1},
|
visual_size = {x = 1.1, y = 1.1},
|
||||||
collisionbox = {-0.55,-0.55,-0.55, 0.55,0.55,0.55},
|
collisionbox = {-0.55,-0.55,-0.55, 0.55,0.55,0.55},
|
||||||
|
@ -97,7 +97,6 @@ minetest.register_entity(":techage:block_marker", {
|
|||||||
"techage_cube_mark.png",
|
"techage_cube_mark.png",
|
||||||
"techage_cube_mark.png",
|
"techage_cube_mark.png",
|
||||||
},
|
},
|
||||||
--use_texture_alpha = true,
|
|
||||||
physical = false,
|
physical = false,
|
||||||
visual_size = {x=1.1, y=1.1},
|
visual_size = {x=1.1, y=1.1},
|
||||||
collisionbox = {-0.55,-0.55,-0.55, 0.55,0.55,0.55},
|
collisionbox = {-0.55,-0.55,-0.55, 0.55,0.55,0.55},
|
||||||
|
@ -74,7 +74,7 @@ for idx,ratio in ipairs(lRatio) do
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = techage.BLEND,
|
||||||
inventory_image = "techage_flame.png",
|
inventory_image = "techage_flame.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = 13,
|
light_source = 13,
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
]]--
|
]]--
|
||||||
|
|
||||||
local function register_alias(name)
|
local function register_alias(name)
|
||||||
minetest.register_alias("stairs:slab_" ..name, "techage:slab_" ..name)
|
--minetest.register_alias("stairs:slab_" ..name, "techage:slab_" ..name)
|
||||||
minetest.register_alias("stairs:slab_" ..name.. "_inverted", "techage:slab_" ..name.. "_inverted")
|
minetest.register_alias("stairs:slab_" ..name.. "_inverted", "techage:slab_" ..name.. "_inverted")
|
||||||
minetest.register_alias("stairs:slab_" ..name.. "_wall", "techage:slab_" ..name.. "_wall")
|
minetest.register_alias("stairs:slab_" ..name.. "_wall", "techage:slab_" ..name.. "_wall")
|
||||||
minetest.register_alias("stairs:slab_" ..name.. "_quarter", "techage:slab_" ..name.. "_quarter")
|
minetest.register_alias("stairs:slab_" ..name.. "_quarter", "techage:slab_" ..name.. "_quarter")
|
||||||
@ -22,7 +22,7 @@ local function register_alias(name)
|
|||||||
minetest.register_alias("stairs:slab_" ..name.. "_three_quarter", "techage:slab_" ..name.. "_three_quarter")
|
minetest.register_alias("stairs:slab_" ..name.. "_three_quarter", "techage:slab_" ..name.. "_three_quarter")
|
||||||
minetest.register_alias("stairs:slab_" ..name.. "_three_quarter_inverted", "techage:slab_" ..name.. "_three_quarter_inverted")
|
minetest.register_alias("stairs:slab_" ..name.. "_three_quarter_inverted", "techage:slab_" ..name.. "_three_quarter_inverted")
|
||||||
minetest.register_alias("stairs:slab_" ..name.. "_three_quarter_wall", "techage:slab_" ..name.. "_three_quarter_wall")
|
minetest.register_alias("stairs:slab_" ..name.. "_three_quarter_wall", "techage:slab_" ..name.. "_three_quarter_wall")
|
||||||
minetest.register_alias("stairs:stair_" ..name, "techage:stair_" ..name)
|
--minetest.register_alias("stairs:stair_" ..name, "techage:stair_" ..name)
|
||||||
minetest.register_alias("stairs:stair_" ..name.. "_inverted", "techage:stair_" ..name.. "_inverted")
|
minetest.register_alias("stairs:stair_" ..name.. "_inverted", "techage:stair_" ..name.. "_inverted")
|
||||||
minetest.register_alias("stairs:stair_" ..name.. "_wall", "techage:stair_" ..name.. "_wall")
|
minetest.register_alias("stairs:stair_" ..name.. "_wall", "techage:stair_" ..name.. "_wall")
|
||||||
minetest.register_alias("stairs:stair_" ..name.. "_wall_half", "techage:stair_" ..name.. "_wall_half")
|
minetest.register_alias("stairs:stair_" ..name.. "_wall_half", "techage:stair_" ..name.. "_wall_half")
|
||||||
|
@ -82,7 +82,6 @@ minetest.register_entity(":techage:marker", {
|
|||||||
"techage_cube_mark.png",
|
"techage_cube_mark.png",
|
||||||
"techage_cube_mark.png",
|
"techage_cube_mark.png",
|
||||||
},
|
},
|
||||||
--use_texture_alpha = true,
|
|
||||||
physical = false,
|
physical = false,
|
||||||
visual_size = {x = 1.1, y = 1.1},
|
visual_size = {x = 1.1, y = 1.1},
|
||||||
collisionbox = {-0.55,-0.55,-0.55, 0.55,0.55,0.55},
|
collisionbox = {-0.55,-0.55,-0.55, 0.55,0.55,0.55},
|
||||||
|
Loading…
Reference in New Issue
Block a user