Michal Cieslakiewicz 7f202f4301 Always set 'use_texture_alpha' field for nodes.
This eliminates issues and warnings for transparent textures when running
minetest version 5.4 or newer.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2021-04-14 15:02:28 +02:00

26 lines
718 B
Lua

--[[
=======================================================
SmartLine Modules Mod
by Micu (c) 2018, 2019
Copyright (C) 2018, 2019 Michal Cieslakiewicz
License: LGPLv2.1+
Media: CC BY-SA
=======================================================
]]--
slmodules = {}
slmodules.texture_alpha_mode = minetest.features.use_texture_alpha_string_modes
and "clip" or true
dofile(minetest.get_modpath("slmodules") .. "/furnacemonitor.lua")
dofile(minetest.get_modpath("slmodules") .. "/digitalswitch.lua")
dofile(minetest.get_modpath("slmodules") .. "/autosievesensor.lua")
dofile(minetest.get_modpath("slmodules") .. "/cropswatcher.lua")
dofile(minetest.get_modpath("slmodules") .. "/digilinesrelay.lua")