From d662fa8bd064282d9f7248d33c76274e71f8f7e1 Mon Sep 17 00:00:00 2001 From: NO11 Date: Thu, 13 May 2021 21:52:47 +0000 Subject: [PATCH] Add "real" glowing effect for glowing itemframe --- mods/ENTITIES/extra_mobs/glow_squid_items.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ENTITIES/extra_mobs/glow_squid_items.lua b/mods/ENTITIES/extra_mobs/glow_squid_items.lua index fa4dcd80ab..db4d88e89f 100644 --- a/mods/ENTITIES/extra_mobs/glow_squid_items.lua +++ b/mods/ENTITIES/extra_mobs/glow_squid_items.lua @@ -31,6 +31,7 @@ minetest.register_entity("extra_mobs:glow_item_frame_item",{ textures = { "blank.png" }, _texture = "blank.png", _scale = 1, + glow = minetest.LIGHT_MAX, on_activate = function(self, staticdata) if staticdata ~= nil and staticdata ~= "" then @@ -166,7 +167,7 @@ minetest.register_node("extra_mobs:glow_item_frame",{ paramtype2 = "facedir", --FIXME: should only be glowing, no light source. How is that possible with a node? - light_source = minetest.LIGHT_MAX, + light_source = 1, sunlight_propagates = true, groups = { dig_immediate=3,deco_block=1,dig_by_piston=1,container=7,attached_node_facedir=1 },