1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
local S = farming.intllib --= Sugar minetest.register_craftitem("farming:sugar", { description = S("Sugar"), inventory_image = "farming_sugar.png", }) minetest.register_craft({ type = "cooking", cooktime = 3, output = "farming:sugar 2", recipe = "default:papyrus", })