Browse Source

melon blocks need cutting board to chop into slices

tags/20181016
TenPlus1 1 year ago
parent
commit
594b09ee66
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      README.md
  2. +4
    -4
      crops/melon.lua

+ 1
- 1
README.md View File

@@ -13,7 +13,7 @@ This mod works by adding your new plant to the {growing=1} group and numbering t

### Changelog:

- 1.38 - Pumpkin grows into block, use chopping board to cut into slices, cocoa pods are no longer walkable
- 1.38 - Pumpkin grows into block, use chopping board to cut into slices, same with melon block, cocoa pods are no longer walkable
- 1.37 - Added custom 'growth_check(pos, nodename) function for crop nodes to use (check cocoa.lua for example)
- 1.36 - Added Beetroot, Beetroot Soup (6x beetroot, 1x bowl), fix register_plant() issue, add new recipes
- 1.35 - Deprecated bronze/mese/diamond hoe's, added hoe bomb and deprecated hoe's as lucky block prizes


+ 4
- 4
crops/melon.lua View File

@@ -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))

Loading…
Cancel
Save