From ea9e0c62c9b3c02a3cf31696c567abc879012798 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 22 May 2019 21:20:46 -0400 Subject: update biome_lib, coloredwood, extra_stairsplus, farming redo, moreblocks, moretrees, plantlife, and ropes --- farming/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'farming/init.lua') diff --git a/farming/init.lua b/farming/init.lua index aa7301e..a19c2df 100644 --- a/farming/init.lua +++ b/farming/init.lua @@ -322,14 +322,14 @@ function farming.plant_growth_timer(pos, elapsed, node_name) end local growth - local light_pos = {x = pos.x, y = pos.y, z = pos.z} -- was y + 1 + local light_pos = {x = pos.x, y = pos.y, z = pos.z} local lambda = elapsed / STAGE_LENGTH_AVG if lambda < 0.1 then return true end - local MIN_LIGHT = minetest.registered_nodes[node_name].minlight or 13 + local MIN_LIGHT = minetest.registered_nodes[node_name].minlight or 12 local MAX_LIGHT = minetest.registered_nodes[node_name].maxlight or 15 --print ("---", MIN_LIGHT, MAX_LIGHT) @@ -497,7 +497,7 @@ farming.register_plant = function(name, def) -- Check 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.minlight = def.minlight or 12 def.maxlight = def.maxlight or 15 -- Register seed -- cgit v1.2.3