mirror of
https://github.com/t-affeldt/climate_api.git
synced 2025-07-21 06:35:11 -04:00
Add hail effect and date functions
This commit is contained in:
parent
dd8b07056a
commit
6481cf409a
15 changed files with 88 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
local GSCYCLE = 0.05
|
||||
local RECALCCYCLE = 0
|
||||
local RECALCCYCLE = 0.2
|
||||
|
||||
weather_mod.weathers = {}
|
||||
function weather_mod.register_effect(name, config, override)
|
||||
|
@ -117,6 +117,7 @@ minetest.register_globalstep(function(dtime)
|
|||
if timer >= RECALCCYCLE then
|
||||
weather_mod.set_clouds(player)
|
||||
weather_mod.set_headwind(player)
|
||||
weather_mod.handle_time_progression()
|
||||
end
|
||||
end
|
||||
timer = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue