maybe this can help you, is the init.lua of the folder -\mods\minetest\trenton
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
minetest.register_craft({
type = "cooking",
output = "trenton:desertbrick",
recipe = "default:desert_stone",
})
minetest.register_craftitem("trenton:desertbrick", {
description = "Desert Bricks",
inventory_image = "trenton_desert_brick.PNG",
})
minetest.register_craft({
output = 'trenton:mattoniarancioni',
recipe = {
{'trenton:desertbrick', 'trenton:desertbrick'},
{'trenton:desertbrick', 'trenton:desertbrick'},
}
})
minetest.register_node("trenton:mattoniarancioni", {
description = "Mattoni Arancioni",
tile_images = {"trenton_orange_bricks.PNG"},
inventory_image = "trenton_orange_bricks.PNG",
is_ground_content = true,
groups = {cracky=3},
drop = 'trenton:mattoniarancioni',
})
I put a block and a items in the same init.lua file, can this be the problem?
the texture files are:
trenton_desert_brick.PNG
trenton_orange_bricks.PNG
and actually they're in both in the "-\mods\minetest\trenton" folder and in the "-\textures\all" folder
oh, I actually made some change at the names, now the errors it gives me are:
