summaryrefslogtreecommitdiff
path: root/firealarm_hornstrobe/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-09-14 18:17:11 -0500
committercheapie <no-email-for-you@example.com>2024-09-14 18:17:11 -0500
commite06c859bda7e6af90131df926092d35e56fba1d1 (patch)
tree786e8befb3ba1be8f162dda1ba91d9560cf9ac1f /firealarm_hornstrobe/init.lua
parent70ab3cd06da8e8211536963e08680b664965335a (diff)
downloadfirealarm-master.tar
firealarm-master.tar.gz
firealarm-master.tar.bz2
firealarm-master.tar.xz
firealarm-master.zip
Fix deprecated use_texture_alpha valuesHEADmaster
Diffstat (limited to 'firealarm_hornstrobe/init.lua')
-rw-r--r--firealarm_hornstrobe/init.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/firealarm_hornstrobe/init.lua b/firealarm_hornstrobe/init.lua
index 1ba635b..cc04294 100644
--- a/firealarm_hornstrobe/init.lua
+++ b/firealarm_hornstrobe/init.lua
@@ -65,7 +65,7 @@ minetest.register_node(":firealarm:hornstrobe_on",{
paramtype = "light",
paramtype2 = "facedir",
light_source = 8,
- use_texture_alpha = true,
+ use_texture_alpha = "blend",
drawtype = "nodebox",
node_box = {
type = "fixed",
@@ -143,7 +143,7 @@ minetest.register_node(":firealarm:remotestrobe_on",{
paramtype = "light",
paramtype2 = "facedir",
light_source = 8,
- use_texture_alpha = true,
+ use_texture_alpha = "blend",
drawtype = "nodebox",
node_box = {
type = "fixed",
@@ -213,12 +213,10 @@ minetest.register_node(":firealarm:hornstrobe_old_on",{
paramtype = "light",
paramtype2 = "facedir",
light_source = 8,
- use_texture_alpha = true,
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
- {-0.5,-0.5,0.4,0.5,0.5,0.401},
{-0.15,-0.02,0.4,0.18,0.37,0.5},
},
},