Thank you! That did the trick :D
I'm having another issue: default:meselamp_microslab (i.e. meselamp that has been chopped up on workbench) doesn't exist anymore. I partly solved the issue by commenting out the bottom lines of this paragraph in workbench.lua
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
-- Nodes allowed to be cut.
-- Only the regular, solid blocks without metas or explosivity can be cut.
local nodes = {}
for node, def in pairs(minetest.registered_nodes) do
if (def.drawtype == "normal" or def.drawtype:sub(1,5) == "glass") and
(def.groups.cracky or def.groups.choppy) and
not def.on_construct and
not def.after_place_node and
not def.on_rightclick and
not def.on_blast and
not def.allow_metadata_inventory_take and
not (def.groups.not_in_creative_inventory == 1) and
not def.groups.wool and
not def.description:find("Ore") -- and
def.description and
def.description ~= ""
-- def.light_source == 0
then
nodes[#nodes+1] = node
end
end
Now, my meselamps are being registered, and appear in-game. But they don't emit any light. Got any suggestions?