silence alpha warnings

This commit is contained in:
unknown 2022-01-01 23:14:03 -05:00
parent 354f3a649c
commit 1b414e7fe4
7 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,7 @@ for counter, dye in pairs(fl_dyes.dyes) do
wield_image = "farlands_beds_" .. fl_dyes.dyes[counter][1] .. ".png",
paramtype = "light",
paramtype2 = "facedir",
use_texture_alpha = "clip",
drawtype = "mesh",
mesh = "farlands_bed.obj",
selection_box = {type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0.0625, 1.5}},

View File

@ -10,6 +10,7 @@ minetest.register_node('fl_light_sources:torch', {
wield_image = 'more_fire_torch_inv.png',
paramtype = 'light',
paramtype2 = 'wallmounted',
use_texture_alpha = "clip",
sunlight_propagates = true,
is_ground_content = false,
walkable = false,

View File

@ -46,6 +46,7 @@ for _, img in pairs(minetest.get_dir_list(minetest.get_modpath("fl_paintings")..
tiles = {img},
paramtype = "light",
paramtype2 = "facedir",
use_texture_alpha = "clip",
visual_scale = 0.5,
wield_scale = {x=0.25, y=0.25, z=0.25},
selection_box = {

View File

@ -54,6 +54,7 @@ local box = {type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2}}
minetest.register_node("fl_plantlife:flowerpot", {
description = "flowerpot",
paramtype = "light",
use_texture_alpha = "clip",
drawtype = "mesh",
visual_scale = 0.5,
mesh = "farlands_flowerpot.obj",

View File

@ -13,6 +13,7 @@ for _, name in ipairs(dir) do
description = table.concat(split, " "),
drawtype = "nodebox",
paramtype = "light",
use_texture_alpha = "clip",
tiles = {name, name},
inventory_image = name,
wield_image = name,
@ -37,6 +38,7 @@ for _, name in ipairs(dir) do
description = table.concat(split, " "),
drawtype = "plantlike",
paramtype = "light",
use_texture_alpha = "clip",
inventory_image = name,
walkable = false,
tiles = {name},

View File

@ -101,6 +101,7 @@ minetest.register_node("fl_signs:sign_wood", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "wallmounted",
use_texture_alpha = "clip",
sunlight_propagates = true,
node_box = {
type = "wallmounted",

View File

@ -39,6 +39,7 @@ minetest.register_node("fl_workshop:anvil", {
description = "anvil",
paramtype = "light",
paramtype2 = "facedir",
use_texture_alpha = "clip",
drawtype = "mesh",
mesh = "farlands_anvil.obj",
visual_scale = 0.5,