mirror of
https://gitlab.com/rautars/weather_pack.git
synced 2025-01-10 08:20:17 +01:00
turn off snow weather for v6 biome
This commit is contained in:
parent
892cfa8b58
commit
1f07735c44
@ -98,7 +98,7 @@ local np_humid = {
|
|||||||
hw_utils.is_biome_frozen = function(position)
|
hw_utils.is_biome_frozen = function(position)
|
||||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||||
if mg_name == "v6" then
|
if mg_name == "v6" then
|
||||||
return true -- v6 not supported yet.
|
return false -- v6 not supported yet.
|
||||||
end
|
end
|
||||||
return hw_utils.is_biome_frozen_v7(position)
|
return hw_utils.is_biome_frozen_v7(position)
|
||||||
end
|
end
|
||||||
@ -116,7 +116,7 @@ end
|
|||||||
hw_utils.is_biome_dry = function(position)
|
hw_utils.is_biome_dry = function(position)
|
||||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||||
if mg_name == "v6" then
|
if mg_name == "v6" then
|
||||||
return true -- v6 not supported yet.
|
return false -- v6 not supported yet.
|
||||||
end
|
end
|
||||||
return hw_utils.is_biome_dry_v7(position)
|
return hw_utils.is_biome_dry_v7(position)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user