From 87b1cd745f122936e7264ff1e16ec4dbc07f14a1 Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Sun, 16 Nov 2014 21:00:43 +0100 Subject: [PATCH] Removing snow falls in the nether - Placing a limitation at y = - 19600 for the snow falls, under they won't happend. - Changing reload intervals for beginners' chests 1 and 2 (now 1h and 40min) --- mods/beginners_chest/init.lua | 5 ++--- mods/snowdrift/init.lua | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mods/beginners_chest/init.lua b/mods/beginners_chest/init.lua index f1217c95..461ddf72 100644 --- a/mods/beginners_chest/init.lua +++ b/mods/beginners_chest/init.lua @@ -11,8 +11,7 @@ chests = { [1] = { position = {x = 5, y = 40, z = -1}, - interval_timer = 0, - interval_max = 7200, + interval_max = 3600, stuff = { [1] = "3d_armor:boots_steel", [2] = "default:pick_stone", @@ -22,7 +21,7 @@ chests = { }, [2] = { position = {x = 34, y = 20, z = 101}, - interval_max = 7200, + interval_max = 2400, stuff = { [1] = "3d_armor:steel_chest", [2] = "throwing:bow_stone", diff --git a/mods/snowdrift/init.lua b/mods/snowdrift/init.lua index 0d551d97..20967a79 100755 --- a/mods/snowdrift/init.lua +++ b/mods/snowdrift/init.lua @@ -48,7 +48,7 @@ minetest.register_globalstep(function(dtime) return end for _, player in ipairs(minetest.get_connected_players()) do - if math.random() > PPPCHA then + if math.random() > PPPCHA or player:getpos().y < -19600 then return end local ppos = player:getpos()