fix:texture_alpha warnings

master
root 2021-12-12 12:30:41 +01:00
parent 5a591790d8
commit 9df3ce21d1
2 changed files with 5 additions and 2 deletions

View File

@ -1,11 +1,13 @@
unused_args = false unused_args = false
allow_defined_top = true allow_defined_top = false
globals = { globals = {
"minetest", "minetest",
"player_api", "player_api",
"armor", "armor",
"dye" "dye",
"closet",
"vanity"
} }
read_globals = { read_globals = {

View File

@ -127,6 +127,7 @@ minetest.register_node("vanity:vanity", {
drawtype = "mesh", drawtype = "mesh",
mesh = "vanity_set.b3d", mesh = "vanity_set.b3d",
tiles = {"vanity_vanity.png"}, tiles = {"vanity_vanity.png"},
use_texture_alpha = "clip",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false, is_ground_content = false,
groups = {cracky=3, wood=1}, groups = {cracky=3, wood=1},