Fix use_texture_alpha issues

This commit is contained in:
Joachim Stolberg 2022-07-11 20:22:38 +02:00
parent a459834e63
commit 11109a8543

@ -127,6 +127,7 @@ minetest.register_node("tubelib2:tubeS", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly = 3, cracky = 3, snappy = 3},
@ -159,6 +160,7 @@ minetest.register_node("tubelib2:tubeA", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly = 3, cracky = 3, snappy = 3, not_in_creative_inventory=1},
@ -222,8 +224,6 @@ minetest.register_node("tubelib2:source", {
paramtype2 = "facedir", -- important!
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly = 3, cracky = 3, snappy = 3},
sounds = default.node_sound_glass_defaults(),
@ -248,8 +248,6 @@ minetest.register_node("tubelib2:junction", {
paramtype2 = "facedir", -- important!
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly = 3, cracky = 3, snappy = 3},
sounds = default.node_sound_glass_defaults(),
@ -352,8 +350,6 @@ minetest.register_node("tubelib2:teleporter", {
paramtype2 = "facedir", -- important!
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly = 3, cracky = 3, snappy = 3},
sounds = default.node_sound_glass_defaults(),
@ -438,7 +434,7 @@ minetest.register_node("tubelib2:tool", {
description = "Tubelib2 Tool",
inventory_image = "tubelib2_tool.png",
wield_image = "tubelib2_tool.png",
use_texture_alpha = true,
use_texture_alpha = "clip",
groups = {cracky=1, book=1},
on_use = remove_tube,
on_place = repair_tube,