1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-29 23:01:00 +02:00

add 'farming_use_utensils' setting, added mayonnaise (thx felfa)

This commit is contained in:
tenplus1
2023-07-13 18:07:25 +01:00
parent b2d1289353
commit 8717625d0c
24 changed files with 167 additions and 65 deletions

View File

@ -40,10 +40,12 @@ minetest.register_craftitem("farming:chili_powder", {
inventory_image = "farming_chili_powder.png"
})
local tmp = farming.use_utensils and "farming:mortar_pestle" or ""
minetest.register_craft({
output = "farming:chili_powder",
recipe = {
{"farming:chili_pepper", "farming:mortar_pestle"}
{"farming:chili_pepper", tmp}
},
replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}}
})