1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-29 23:01:00 +02:00

added crop information to farming.registered_plants table

This commit is contained in:
TenPlus1
2018-09-29 16:53:18 +01:00
parent 0d5fb9800a
commit d7bc9b16fc
27 changed files with 233 additions and 8 deletions

View File

@ -84,3 +84,12 @@ crop_def.groups = {
--crop_def.drop = "farming:melon_slice 9"
crop_def.drop = "farming:melon_8"
minetest.register_node("farming:melon_8", table.copy(crop_def))
-- add to registered_plants
farming.registered_plants["farming:melon"] = {
crop = "farming:melon",
seed = "farming:melon_slice",
minlight = 13,
maxlight = 15,
steps = 8
}