diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-09-02 19:34:28 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-09-02 19:34:28 +0100 |
commit | 51cf3bb43a0c5ed49607c08515c8290e13cb6d7b (patch) | |
tree | 7d905fad26d79868e7224251c7d6f7728efeb77c /init.lua | |
parent | e554d5111290990fc6f6d08f73bf02d4626cccef (diff) |
max light is 15 for natural daylight
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -321,7 +321,7 @@ function farming.plant_growth_timer(pos, elapsed, node_name) end local MIN_LIGHT = minetest.registered_nodes[node_name].minlight or 13 - local MAX_LIGHT = minetest.registered_nodes[node_name].maxlight or 14 + local MAX_LIGHT = minetest.registered_nodes[node_name].maxlight or 15 --print ("---", MIN_LIGHT, MAX_LIGHT) if max_growth == 1 or lambda < 2.0 then @@ -483,7 +483,7 @@ farming.register_plant = function(name, def) def.description = def.description or S("Seed") def.inventory_image = def.inventory_image or "unknown_item.png" def.minlight = def.minlight or 13 - def.maxlight = def.maxlight or 14 + def.maxlight = def.maxlight or 15 -- Register seed minetest.register_node(":" .. mname .. ":seed_" .. pname, { |