From 594b09ee66ef74c3fba2c3168f686d404b8da458 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 13 Aug 2018 21:42:54 +0100 Subject: melon blocks need cutting board to chop into slices --- crops/melon.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crops/melon.lua') diff --git a/crops/melon.lua b/crops/melon.lua index 2165558..b90a24a 100644 --- a/crops/melon.lua +++ b/crops/melon.lua @@ -22,10 +22,10 @@ minetest.register_craft({ }) minetest.register_craft({ + type = "shapeless", output = "farming:melon_slice 9", - recipe = { - {"", "farming:melon_8", ""}, - } + recipe = {"farming:melon_8", "farming:cutting_board"}, + replacements = {{"farming:cutting_board", "farming:cutting_board"}}, }) -- melon definition @@ -82,5 +82,5 @@ crop_def.groups = { food_melon = 1, snappy = 1, oddly_breakable_by_hand = 1, flammable = 2, plant = 1 } -crop_def.drop = "farming:melon_slice 9" +--crop_def.drop = "farming:melon_slice 9" minetest.register_node("farming:melon_8", table.copy(crop_def)) -- cgit v1.2.3