1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-07-03 00:30:39 +02:00

add min_light and max_light settings and amend crop registered_plants tables

This commit is contained in:
tenplus1
2020-12-09 10:22:41 +00:00
parent f7524e1449
commit 0e108c4b2a
30 changed files with 65 additions and 60 deletions

View File

@ -91,7 +91,7 @@ minetest.register_node("farming:pea_5", table.copy(def))
farming.registered_plants["farming:pea_pod"] = {
crop = "farming:pea",
seed = "farming:pea_pod",
minlight = 13,
maxlight = 15,
minlight = farming.min_light,
maxlight = farming.max_light,
steps = 5
}