mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-29 16:00:16 +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
|
--Regenerate Snow
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"default:dirt_with_grass", "default:desert_sand", "snow:moss"},
|
nodenames = {"default:dirt_with_grass", "default:desert_sand", "snow:moss"},
|
||||||
interval = 500,
|
interval = 50,
|
||||||
chance = 150,
|
chance = 100,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
--Check we are in the right biome
|
--Check we are in the right biome
|
||||||
local env = minetest.env
|
local env = minetest.env
|
||||||
|
Loading…
Reference in New Issue
Block a user