mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-28 07:30:17 +01:00
Change snowfall abm parameters.
This commit is contained in:
parent
827fdcbf50
commit
040e8d2354
4
init.lua
4
init.lua
@ -443,8 +443,8 @@ if snow.enable_snowfall then
|
||||
--Regenerate Snow
|
||||
minetest.register_abm({
|
||||
nodenames = {"default:dirt_with_grass", "default:desert_sand", "snow:moss"},
|
||||
interval = 500,
|
||||
chance = 150,
|
||||
interval = 50,
|
||||
chance = 100,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
--Check we are in the right biome
|
||||
local env = minetest.env
|
||||
|
Loading…
Reference in New Issue
Block a user