summaryrefslogtreecommitdiff
path: root/crops/melon.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-08-24 18:51:55 +0200
committerroot <root@linux-forks.de>2018-08-24 18:51:55 +0200
commite10cf66433a6dd01ca4a0064b60bb9710ddd931c (patch)
tree9dde8adf734f5e0a8e9ad77c63525fdfaa7b4f29 /crops/melon.lua
parentaaf20dcc464966c3565d5ceef23c1170b9c430b0 (diff)
parent7b52870d54aca50e0d36a9263eeccc3e2d5fb2a5 (diff)
Merge https://notabug.org/TenPlus1/farming
Diffstat (limited to 'crops/melon.lua')
-rw-r--r--crops/melon.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/crops/melon.lua b/crops/melon.lua
index 2165558..1791fdf 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,6 @@ 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"
+crop_def.drop = "farming:melon_8"
minetest.register_node("farming:melon_8", table.copy(crop_def))