mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2025-09-22 02:26:47 -04:00
Very minor weather tweaks
This commit is contained in:
parent
263c21db1d
commit
1e1126abcd
4 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue