diff --git a/crops/eggplant.lua b/crops/eggplant.lua index 6a177a7..4c23dd5 100644 --- a/crops/eggplant.lua +++ b/crops/eggplant.lua @@ -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 } diff --git a/crops/ginger.lua b/crops/ginger.lua index 60a4ddd..da749fd 100644 --- a/crops/ginger.lua +++ b/crops/ginger.lua @@ -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 } diff --git a/crops/parsley.lua b/crops/parsley.lua index f010b84..4480237 100644 --- a/crops/parsley.lua +++ b/crops/parsley.lua @@ -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 } diff --git a/crops/spinach.lua b/crops/spinach.lua index 9c4ebfc..b54be2e 100644 --- a/crops/spinach.lua +++ b/crops/spinach.lua @@ -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 } diff --git a/crops/sunflower.lua b/crops/sunflower.lua index f2a1662..2e59af6 100644 --- a/crops/sunflower.lua +++ b/crops/sunflower.lua @@ -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 = "",