1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-11-15 13:05:21 +01:00

Fix some light levels

This commit is contained in:
tenplus1
2025-11-15 08:19:09 +00:00
parent 3082fa7825
commit 088143a361
5 changed files with 7 additions and 7 deletions

View File

@@ -77,7 +77,7 @@ core.register_node("farming:eggplant_4", table.copy(def))
farming.registered_plants["farming:eggplant"] = {
crop = "farming:eggplant",
seed = "farming:eggplant",
minlight = 7,
minlight = farming.min_light,
maxlight = farming.max_light,
steps = 4
}

View File

@@ -23,7 +23,7 @@ local def = {
drawtype = "plantlike",
tiles = {"farming_ginger_1.png"},
paramtype = "light",
sunlight_propagates = true,
sunlight_propagates = true, minlight = 5,
walkable = false,
buildable_to = true,
drop = "",
@@ -78,7 +78,7 @@ farming.registered_plants["farming:ginger"] = {
crop = "farming:ginger",
seed = "farming:ginger",
minlight = 5,
maxlight = core.LIGHT_MAX,
maxlight = farming.max_light,
steps = 4
}

View File

@@ -66,8 +66,8 @@ core.register_node("farming:parsley_3", table.copy(def))
farming.registered_plants["farming:parsley"] = {
crop = "farming:parsley",
seed = "farming:parsley",
minlight = 13,
maxlight = 15,
minlight = farming.min_light,
maxlight = farming.max_light,
steps = 3
}

View File

@@ -78,7 +78,7 @@ core.register_node("farming:spinach_4", table.copy(def))
farming.registered_plants["farming:spinach"] = {
crop = "farming:spinach",
seed = "farming:spinach",
minlight = 7,
minlight = farming.min_light,
maxlight = farming.max_light,
steps = 4
}

View File

@@ -55,7 +55,7 @@ local def = {
drawtype = "plantlike",
tiles = {"farming_sunflower_1.png"},
paramtype = "light",
sunlight_propagates = true,
sunlight_propagates = true, minlight = 14,
walkable = false,
buildable_to = true,
drop = "",