fix use_texture_alpha warnings (#2)
parent
651a16717d
commit
b5aa1f0ad4
6
food.lua
6
food.lua
|
@ -65,7 +65,7 @@ minetest.register_node("christmas_decor:plate_with_cookies", {
|
|||
type = "wallmounted",
|
||||
},
|
||||
legacy_wallmounted = true,
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "signlike",
|
||||
paramtype2 = "wallmounted",
|
||||
groups = {snappy = 3},
|
||||
|
@ -293,7 +293,7 @@ minetest.register_node("christmas_decor:frosting_trim", {
|
|||
type = "wallmounted",
|
||||
},
|
||||
legacy_wallmounted = true,
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "signlike",
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
|
@ -314,7 +314,7 @@ minetest.register_node("christmas_decor:frosting_line", {
|
|||
type = "wallmounted",
|
||||
},
|
||||
legacy_wallmounted = true,
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "signlike",
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
|
|
|
@ -70,7 +70,7 @@ local function register_lights(desc, nodename, aspect, length)
|
|||
type = "wallmounted",
|
||||
},
|
||||
legacy_wallmounted = true,
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "signlike",
|
||||
paramtype = "light",
|
||||
light_source = 10,
|
||||
|
@ -106,7 +106,7 @@ local function register_lights(desc, nodename, aspect, length)
|
|||
xpanes.register_pane("lights_" .. nodename .. "_pane", {
|
||||
description = desc .. " Christmas Lights (pane)",
|
||||
textures = {},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
groups = {snappy = 3},
|
||||
sounds = default_sounds("node_sound_leaves_defaults"),
|
||||
recipe = {
|
||||
|
@ -190,7 +190,7 @@ minetest.register_node("christmas_decor:garland", {
|
|||
type = "wallmounted",
|
||||
},
|
||||
legacy_wallmounted = true,
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "signlike",
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
|
@ -222,7 +222,7 @@ minetest.register_node("christmas_decor:garland_lights", {
|
|||
type = "wallmounted",
|
||||
},
|
||||
legacy_wallmounted = true,
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "signlike",
|
||||
paramtype = "light",
|
||||
light_source = 8,
|
||||
|
|
10
misc.lua
10
misc.lua
|
@ -46,7 +46,7 @@ minetest.register_node("christmas_decor:mistletoe", {
|
|||
walkable = false,
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
groups = {snappy = 3},
|
||||
sounds = default_sounds("node_sound_leaves_defaults"),
|
||||
})
|
||||
|
@ -82,7 +82,7 @@ minetest.register_node("christmas_decor:icicles_wall", {
|
|||
type = "wallmounted",
|
||||
},
|
||||
legacy_wallmounted = true,
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "signlike",
|
||||
paramtype = "light",
|
||||
light_source = 3,
|
||||
|
@ -105,7 +105,7 @@ minetest.register_node("christmas_decor:icicles_hanging", {
|
|||
},
|
||||
}
|
||||
},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
inventory_image = "christmas_decor_icicles_hanging_inv.png",
|
||||
wield_image = "christmas_decor_icicles_hanging_inv.png",
|
||||
drawtype = "plantlike",
|
||||
|
@ -221,7 +221,7 @@ minetest.register_node("christmas_decor:nutcracker", {
|
|||
drawtype = "mesh",
|
||||
mesh = "christmas_decor_nutcracker.obj",
|
||||
tiles = {"christmas_decor_nutcracker.png"},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
inventory_image = "christmas_decor_nutcracker_inv.png",
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
|
@ -255,7 +255,7 @@ minetest.register_node("christmas_decor:snowman", {
|
|||
drawtype = "mesh",
|
||||
mesh = "christmas_decor_snowman.obj",
|
||||
tiles = {"christmas_decor_snowman.png"},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
inventory_image = "christmas_decor_snowman_inv.png",
|
||||
walkable = true,
|
||||
selection_box = {
|
||||
|
|
|
@ -72,7 +72,7 @@ minetest.register_node("christmas_decor:stocking", {
|
|||
drawtype = "mesh",
|
||||
mesh = "christmas_decor_stocking.obj",
|
||||
tiles = {"christmas_decor_stocking.png"},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "blend",
|
||||
inventory_image = "christmas_decor_stocking_inv.png",
|
||||
wield_image = "christmas_decor_stocking_inv.png",
|
||||
walkable = false,
|
||||
|
|
Loading…
Reference in New Issue