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
1 changed files with 2 additions and 0 deletions

View File

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