Here is the error message.
16:31:51: ERROR[main]: Failed to load and run script from
16:31:51: ERROR[main]: C:\Users\Matt and Betty\Downloads\minetest-0.4.5\minetest-0.4.5\bin\..\mods\minetest\tiki_torch\init.lua:
16:31:51: ERROR[main]: ...s\minetest-0.4.5\minetest-0.4.5\bin\..\mods\minetest\tiki_torch\init.lua:20: ')' expected (to close '(' at line 8) near '='
16:31:51: ERROR[main]: =======END OF ERROR FROM LUA ========
And here is the code.
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
--Tiki_torch by Tedypig
minetest.register_node("tiki_torch:tiki_torch", {
description = "Tiki Torch",
drawtype = "torchlike",
{"tiki_torch.png", "tiki_torch.png", "tiki_torch.png"},
inventory_image = "tiki_torch.png",
wield_image = "tiki_torch.png",
paramtype =
"light",
sunlight_propagates = true,
walkable = false,
light_source =
LIGHT_MAX-1,
},
groups = {choppy=2,dig_immediate=3,flammable=1,attached_node=1},
legacy_wallmounted = false,
})
minetest.register_craft({
output = 'tiki_torch:tiki_torch',
recipe = {
{'', 'default:torch', ''},
{'', 'default:stick', ''},
{'', 'default:stick', ''},
}
})
I'm sorry. I didn't know not to do that.