1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-11-16 21:35:33 +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"] = { farming.registered_plants["farming:eggplant"] = {
crop = "farming:eggplant", crop = "farming:eggplant",
seed = "farming:eggplant", seed = "farming:eggplant",
minlight = 7, minlight = farming.min_light,
maxlight = farming.max_light, maxlight = farming.max_light,
steps = 4 steps = 4
} }

View File

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

View File

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

View File

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

View File

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