use_texture_alpha update from boolean to value

This commit is contained in:
Sirrobzeroone 2021-06-10 20:34:38 +10:00
parent 4b9b42c409
commit 7286b55804

View File

@ -2,6 +2,7 @@
fluid_lib.register_extractor_node("fluid_transfer:fluid_transfer_pump", { fluid_lib.register_extractor_node("fluid_transfer:fluid_transfer_pump", {
description = "Fluid Transfer Pump\nPunch to start pumping", description = "Fluid Transfer Pump\nPunch to start pumping",
tiles = {"fluid_transfer_pump.png"}, tiles = {"fluid_transfer_pump.png"},
use_texture_alpha = "clip",
drawtype = "mesh", drawtype = "mesh",
mesh = "fluid_transfer_pump.obj", mesh = "fluid_transfer_pump.obj",
groups = {oddly_breakable_by_hand = 1, cracky = 1}, groups = {oddly_breakable_by_hand = 1, cracky = 1},
@ -26,6 +27,7 @@ minetest.register_node("fluid_transfer:fluid_trash", {
drawtype = "mesh", drawtype = "mesh",
mesh = "fluid_transfer_trash.obj", mesh = "fluid_transfer_trash.obj",
tiles = {"fluid_transfer_trash.png"}, tiles = {"fluid_transfer_trash.png"},
use_texture_alpha = "clip",
groups = {oddly_breakable_by_hand = 1, cracky = 1, fluid_container = 1}, groups = {oddly_breakable_by_hand = 1, cracky = 1, fluid_container = 1},
node_io_can_put_liquid = function (pos, node, side) node_io_can_put_liquid = function (pos, node, side)
return true return true