diff --git a/ca_effects/lightning.lua b/ca_effects/lightning.lua index d8dc666..ed51def 100644 --- a/ca_effects/lightning.lua +++ b/ca_effects/lightning.lua @@ -1,6 +1,6 @@ if not minetest.get_modpath("lightning") then return end -local LIGHTNING_CHANCE = 1 +local LIGHTNING_CHANCE = 20 lightning.auto = false local rng = PcgRandom(82492402425) diff --git a/ca_effects/speed_buff.lua b/ca_effects/speed_buff.lua index 1f1c02c..e6cd811 100644 --- a/ca_effects/speed_buff.lua +++ b/ca_effects/speed_buff.lua @@ -17,5 +17,5 @@ local function remove_effect(player_data) end climate_api.register_effect("regional_weather:speed_buff", handle_effect, "tick") -climate_api.register_effect("regional_weather:speed_buff", remove_effect, "end") +climate_api.register_effect("regional_weather:speed_buff", remove_effect, "stop") climate_api.set_effect_cycle("regional_weather:speed_buff", climate_api.SHORT_CYCLE) \ No newline at end of file diff --git a/ca_weathers/rain.lua b/ca_weathers/rain.lua index aa31c42..b095f5e 100644 --- a/ca_weathers/rain.lua +++ b/ca_weathers/rain.lua @@ -13,7 +13,7 @@ effects["regional_weather:spawn_puddles"] = true effects["regional_weather:wetten_farmland"] = true effects["climate_api:sound"] = { - name = "weather_rain", + name = "weather_rain" } effects["climate_api:particles"] = { diff --git a/ca_weathers/storm.lua b/ca_weathers/storm.lua index ba419d5..4d8325d 100644 --- a/ca_weathers/storm.lua +++ b/ca_weathers/storm.lua @@ -3,7 +3,7 @@ local name = "regional_weather:storm" local conditions = { min_height = regional_weather.settings.min_height, max_height = regional_weather.settings.max_height, - min_windspeed = 3.5 + min_windspeed = 3 } local effects = {}