forked from minetest-mods/MoreMesecons
Use opaque use_texture_alpha for the timegate and dual_delayer
This avoids warnings shown by Minetest and improves the nodes' look when a bilinear filter is enabled. Since the textures are also used as inventory images, I didn't remove the transparency from the texture files.
This commit is contained in:
parent
c41d0371c0
commit
e162cabae4
|
@ -74,6 +74,7 @@ for n,i in pairs({{0,0},{1,0},{1,1}}) do
|
|||
},
|
||||
groups = groups,
|
||||
tiles = {top_texture, "moremesecons_dual_delayer_bottom.png", "moremesecons_dual_delayer_side_left.png", "moremesecons_dual_delayer_side_right.png", "moremesecons_dual_delayer_ends.png", "moremesecons_dual_delayer_ends.png"},
|
||||
use_texture_alpha = "opaque",
|
||||
mesecons = {
|
||||
receptor = {
|
||||
state = mesecon.state.off,
|
||||
|
|
|
@ -84,6 +84,7 @@ mesecon.register_node("moremesecons_timegate:timegate", {
|
|||
"moremesecons_timegate_sides_off.png",
|
||||
"moremesecons_timegate_sides_off.png"
|
||||
},
|
||||
use_texture_alpha = "opaque",
|
||||
groups = {bendy=2,snappy=1,dig_immediate=2},
|
||||
mesecons = {
|
||||
receptor =
|
||||
|
@ -106,6 +107,7 @@ mesecon.register_node("moremesecons_timegate:timegate", {
|
|||
"moremesecons_timegate_sides_on.png",
|
||||
"moremesecons_timegate_sides_on.png"
|
||||
},
|
||||
use_texture_alpha = "opaque",
|
||||
groups = {bendy=2,snappy=1,dig_immediate=2, not_in_creative_inventory=1},
|
||||
mesecons = {
|
||||
receptor = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user