1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-07-02 16:20:42 +02:00

tweak code, fix straw recipe

This commit is contained in:
tenplus1
2024-08-12 14:21:46 +01:00
parent e409fe9ecb
commit 45dd32c102
2 changed files with 23 additions and 54 deletions

View File

@ -1211,7 +1211,7 @@ minetest.register_craft( {
-- straw
local tmp = "group:food_wheat"
local tmp = farming.mcl and "farming:rye" or "farming:wheat"
minetest.register_craft({
output = "farming:straw 3",
@ -1223,7 +1223,7 @@ minetest.register_craft({
})
minetest.register_craft({
output = "farming:wheat 3",
output = tmp .. " 3",
recipe = {{"farming:straw"}}
})