forked from mtcontrib/scifi_nodes
Fix things to avoid warnings about use_texture_alpha
And optimize textures with optipng
This commit is contained in:
10
nodes.lua
10
nodes.lua
@ -346,7 +346,7 @@ minetest.register_node("scifi_nodes:octrng", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
@ -361,7 +361,7 @@ minetest.register_node("scifi_nodes:octgrn", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
@ -376,7 +376,7 @@ minetest.register_node("scifi_nodes:octbl", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
@ -391,7 +391,7 @@ minetest.register_node("scifi_nodes:octppl", {
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
@ -491,7 +491,7 @@ minetest.register_node("scifi_nodes:glass", {
|
||||
tiles = {
|
||||
"scifi_nodes_glass.png"
|
||||
},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
paramtype = "light",
|
||||
groups = {cracky=1},
|
||||
sounds = default.node_sound_glass_defaults()
|
||||
|
Reference in New Issue
Block a user