mirror of
https://github.com/joe7575/tubelib2.git
synced 2024-11-28 10:23:45 +01:00
Fix use_texture_alpha issues
This commit is contained in:
parent
a459834e63
commit
11109a8543
@ -127,6 +127,7 @@ minetest.register_node("tubelib2:tubeS", {
|
|||||||
},
|
},
|
||||||
on_rotate = screwdriver.disallow, -- important!
|
on_rotate = screwdriver.disallow, -- important!
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly = 3, cracky = 3, snappy = 3},
|
groups = {crumbly = 3, cracky = 3, snappy = 3},
|
||||||
@ -159,6 +160,7 @@ minetest.register_node("tubelib2:tubeA", {
|
|||||||
},
|
},
|
||||||
on_rotate = screwdriver.disallow, -- important!
|
on_rotate = screwdriver.disallow, -- important!
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly = 3, cracky = 3, snappy = 3, not_in_creative_inventory=1},
|
groups = {crumbly = 3, cracky = 3, snappy = 3, not_in_creative_inventory=1},
|
||||||
@ -222,8 +224,6 @@ minetest.register_node("tubelib2:source", {
|
|||||||
|
|
||||||
paramtype2 = "facedir", -- important!
|
paramtype2 = "facedir", -- important!
|
||||||
on_rotate = screwdriver.disallow, -- important!
|
on_rotate = screwdriver.disallow, -- important!
|
||||||
paramtype = "light",
|
|
||||||
sunlight_propagates = true,
|
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly = 3, cracky = 3, snappy = 3},
|
groups = {crumbly = 3, cracky = 3, snappy = 3},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
@ -248,8 +248,6 @@ minetest.register_node("tubelib2:junction", {
|
|||||||
|
|
||||||
paramtype2 = "facedir", -- important!
|
paramtype2 = "facedir", -- important!
|
||||||
on_rotate = screwdriver.disallow, -- important!
|
on_rotate = screwdriver.disallow, -- important!
|
||||||
paramtype = "light",
|
|
||||||
sunlight_propagates = true,
|
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly = 3, cracky = 3, snappy = 3},
|
groups = {crumbly = 3, cracky = 3, snappy = 3},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
@ -352,8 +350,6 @@ minetest.register_node("tubelib2:teleporter", {
|
|||||||
|
|
||||||
paramtype2 = "facedir", -- important!
|
paramtype2 = "facedir", -- important!
|
||||||
on_rotate = screwdriver.disallow, -- important!
|
on_rotate = screwdriver.disallow, -- important!
|
||||||
paramtype = "light",
|
|
||||||
sunlight_propagates = true,
|
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {crumbly = 3, cracky = 3, snappy = 3},
|
groups = {crumbly = 3, cracky = 3, snappy = 3},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
@ -438,7 +434,7 @@ minetest.register_node("tubelib2:tool", {
|
|||||||
description = "Tubelib2 Tool",
|
description = "Tubelib2 Tool",
|
||||||
inventory_image = "tubelib2_tool.png",
|
inventory_image = "tubelib2_tool.png",
|
||||||
wield_image = "tubelib2_tool.png",
|
wield_image = "tubelib2_tool.png",
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = "clip",
|
||||||
groups = {cracky=1, book=1},
|
groups = {cracky=1, book=1},
|
||||||
on_use = remove_tube,
|
on_use = remove_tube,
|
||||||
on_place = repair_tube,
|
on_place = repair_tube,
|
||||||
|
Loading…
Reference in New Issue
Block a user