[SOLVED] "Invalid crafting recipe" (noob error)
Hello
I'm trying to add some useful things to do with some craft items that have no recipes, so trying to define my own separate mod to do so.
I have created a myrecipes/ dir in which I have this depends.txt
and this init.lua:
On trying to load the game with the associated dependencies, I get
I've gone over this a few times now and cannot spot the mistake I am making.... I tried speciying output = ":mobs:meat_raw" but that still errors. I tried also using default:wood, which errors.
I have done some crafting recipes elsewhere which work and I see no obvious differences - so why is it not working here?
I'm trying to add some useful things to do with some craft items that have no recipes, so trying to define my own separate mod to do so.
I have created a myrecipes/ dir in which I have this depends.txt
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
mobs
mobs_zombie
mobs_slimes
and this init.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
cslime = "mobs_slimes:green_slimeball"
zflesh = "mobs_zombie:rotten_flesh"
minetest.register_craft({
output = "mobs:meat_raw",
type = "shapeless",
recipe = {
{cslime,cslime,cslime},
{zflesh,zflesh,zflesh},
}
})
On trying to load the game with the associated dependencies, I get
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
Invalid crafting recipe (out="mobs:meat_raw")
I've gone over this a few times now and cannot spot the mistake I am making.... I tried speciying output = ":mobs:meat_raw" but that still errors. I tried also using default:wood, which errors.
I have done some crafting recipes elsewhere which work and I see no obvious differences - so why is it not working here?