From 9660a2fc608e5fbffeb6e7faee0911af75c2b53a Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Thu, 30 Oct 2014 22:06:48 +0100 Subject: [PATCH] Removing snow in the nether, farming modified - Now, impossible to see snow generated in the nether - Minimum light level needed to grow wheat and cotton is now 11 --- minetestforfun_game/mods/farming/init.lua | 4 ++-- mods/snow/init.lua | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/minetestforfun_game/mods/farming/init.lua b/minetestforfun_game/mods/farming/init.lua index 9245470f..12989a78 100644 --- a/minetestforfun_game/mods/farming/init.lua +++ b/minetestforfun_game/mods/farming/init.lua @@ -12,7 +12,7 @@ farming.register_plant("farming:wheat", { description = "Wheat seed", inventory_image = "farming_wheat_seed.png", steps = 8, - minlight = 13, + minlight = 11, maxlight = LIGHT_MAX, fertility = {"grassland"} }) @@ -45,7 +45,7 @@ farming.register_plant("farming:cotton", { description = "Cotton seed", inventory_image = "farming_cotton_seed.png", steps = 8, - minlight = 13, + minlight = 11, maxlight = LIGHT_MAX, fertility = {"grassland", "desert"} }) diff --git a/mods/snow/init.lua b/mods/snow/init.lua index ccfa3cf1..2c033a1d 100644 --- a/mods/snow/init.lua +++ b/mods/snow/init.lua @@ -81,6 +81,7 @@ end --This function places snow checking at the same time for snow level and increasing as needed. --This also takes into account sourrounding snow and makes snow even. function snow.place(pos) + if pos.y < -19000 then return end -- Don't put anything in the nether! local node = minetest.get_node_or_nil(pos) local drawtype = "" if node and minetest.registered_nodes[node.name] then