20 lines
348 B
Lua
20 lines
348 B
Lua
local modname = minetest.get_current_modname()
|
|
|
|
local soy = modname .. ":soy"
|
|
local tofu_raw = modname .. ":tofu_raw"
|
|
|
|
minetest.register_craft({
|
|
output = tofu_raw,
|
|
recipe = {
|
|
{ soy, soy, soy },
|
|
{ soy, soy, soy },
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "cooking",
|
|
output = modname .. ":tofu_cooked",
|
|
recipe = tofu_raw,
|
|
cooktime = 10,
|
|
})
|