mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-29 16:00:16 +01:00
Modify snowfall abm.
This commit is contained in:
parent
2ae3e27248
commit
6109a4946f
2
init.lua
2
init.lua
@ -526,7 +526,7 @@ if snow.enable_snowfall then
|
|||||||
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 = 50,
|
interval = 50,
|
||||||
chance = 100,
|
chance = 150,
|
||||||
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