mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2025-03-23 01:42:23 +00:00
Move check for MTG weather to Climate API instead
This commit is contained in:
parent
932546a3d5
commit
5edea29484
1 changed files with 0 additions and 7 deletions
7
init.lua
7
init.lua
|
@ -37,13 +37,6 @@ regional_weather.settings.cloud_scale = get_setting_number("cloud_scale", 40)
|
||||||
local S = minetest.get_translator("regional_weather")
|
local S = minetest.get_translator("regional_weather")
|
||||||
regional_weather.i18n = S
|
regional_weather.i18n = S
|
||||||
|
|
||||||
-- warn about clouds being overriden by MTG weather
|
|
||||||
if climate_mod.settings.skybox
|
|
||||||
and minetest.get_modpath("weather")
|
|
||||||
and get_setting_bool("enable_weather", true, true) then
|
|
||||||
minetest.log("warning", "[Regional Weather] " .. S("Disable MTG weather for the best experience. Check the forum for more information."))
|
|
||||||
end
|
|
||||||
|
|
||||||
-- import individual weather types
|
-- import individual weather types
|
||||||
dofile(modpath.."/ca_weathers/ambient.lua")
|
dofile(modpath.."/ca_weathers/ambient.lua")
|
||||||
dofile(modpath.."/ca_weathers/deep_cave.lua")
|
dofile(modpath.."/ca_weathers/deep_cave.lua")
|
||||||
|
|
Loading…
Add table
Reference in a new issue