Hi VanessaE,
I've just noticed that both "mint tea" and "cup of coffee" from the "farming" mod subfolder have no crafting recipe appearing in Unified Inventory.
In farming/crops/mint.lua the "mint tea" recipe appears as:
Code: Select all
minetest.register_craft({
output = "farming:mint_tea",
type = "shapeless",
recipe = {
"vessels:drinking_glass", "group:food_mint",
"group:food_mint", "group:food_mint",
"farming:juicer", "group:water_bucket"
},
replacements = {
{"group:food_juicer", "farming:juicer"},
{"group:water_bucket", "bucket:bucket_empty"}
}
})
if minetest.get_modpath("bucket_wooden") then
minetest.register_craft({
output = "farming:mint_tea",
type = "shapeless",
recipe = {
"vessels:drinking_glass", "group:food_mint",
"group:food_mint", "group:food_mint",
"farming:juicer", "group:water_bucket_wooden"
},
replacements = {
{"group:food_juicer", "farming:juicer"},
{"group:water_bucket_wooden", "bucket_wooden:bucket_empty"}
}
})
In farming/crops/coffee.lua the "cup of coffee" recipe appears as:
Code: Select all
minetest.register_craft( {
output = "farming:coffee_cup",
type = "shapeless",
recipe = {
"vessels:drinking_glass", "group:food_coffee",
"group:water_bucket", "group:food_saucepan"},
replacements = {
{"group:water_bucket", "bucket:bucket_empty"},
{"group:food_saucepan", "farming:saucepan"}
}
})
if minetest.get_modpath("bucket_wooden") then
minetest.register_craft( {
output = "farming:coffee_cup",
type = "shapeless",
recipe = {
"vessels:drinking_glass", "group:food_coffee",
"group:water_bucket_wooden", "group:food_saucepan"},
replacements = {
{"group:water_bucket_wooden", "bucket_wooden:bucket_empty"},
{"group:food_saucepan", "farming:saucepan"}
}
})
I've looked at the latest commit at TenPlus1's "Farming Redo" at
https://notabug.org/TenPlus1/Farming, and the crafting code matches when doing a compare plugin in notepad++ between his code and what's in DreamBuilder's in the respective .lua's. Any ideas how to fix?