From 6ad39ec55ed0def48167e91f31381daaf31ee9ba Mon Sep 17 00:00:00 2001 From: Lukas Reichlin <34397989+Lokrates@users.noreply.github.com> Date: Sat, 8 May 2021 21:49:16 +0200 Subject: [PATCH] add use_alpha_texture property --- changelog.md | 4 +++- refinery.lua | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 1a63f96..a46185a 100644 --- a/changelog.md +++ b/changelog.md @@ -66,4 +66,6 @@ New biofuel can texture (El-Naso) Version 0.7 ----------- -Translation of the logging function removed due to errors (Lokrates) \ No newline at end of file +Translation of the logging function removed due to errors (Lokrates) + +Add use_alpha_texture property (Lokrates) \ No newline at end of file diff --git a/refinery.lua b/refinery.lua index e7f8c1c..f57f03f 100644 --- a/refinery.lua +++ b/refinery.lua @@ -427,6 +427,7 @@ minetest.register_node("biofuel:refinery", { "biofuel_bl.png", -- back "biofuel_fr.png" -- front }, + use_texture_alpha = "clip", node_box = { type = "fixed", fixed = { @@ -481,6 +482,7 @@ minetest.register_node("biofuel:refinery_active", { "biofuel_bl_active.png", -- back "biofuel_fr_active.png" -- front }, + use_texture_alpha = "clip", node_box = { type = "fixed", fixed = {