summaryrefslogtreecommitdiff
path: root/farming/init.lua
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-05-22 21:20:46 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-05-22 21:20:46 -0400
commitea9e0c62c9b3c02a3cf31696c567abc879012798 (patch)
tree309a43f3331ce3ee52fa6a6865791b947f79fff7 /farming/init.lua
parent14117cdce080e1eea630363705c6962f716049fe (diff)
downloaddreambuilder_modpack-ea9e0c62c9b3c02a3cf31696c567abc879012798.tar
dreambuilder_modpack-ea9e0c62c9b3c02a3cf31696c567abc879012798.tar.gz
dreambuilder_modpack-ea9e0c62c9b3c02a3cf31696c567abc879012798.tar.bz2
dreambuilder_modpack-ea9e0c62c9b3c02a3cf31696c567abc879012798.tar.xz
dreambuilder_modpack-ea9e0c62c9b3c02a3cf31696c567abc879012798.zip
update biome_lib, coloredwood, extra_stairsplus, farming redo,
moreblocks, moretrees, plantlife, and ropes
Diffstat (limited to 'farming/init.lua')
-rw-r--r--farming/init.lua6
1 files changed, 3 insertions, 3 deletions
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