Implement dynamic cloud sizes, adjust cycle lengths

This commit is contained in:
Till Affeldt
2020-04-13 16:53:32 +02:00
parent 47530bb07e
commit fdc457bd09
9 changed files with 86 additions and 24 deletions

View File

@ -8,7 +8,7 @@ end
local function get_heat_calendar()
-- European heat center in August instead of June
local day = minetest.get_day_count()
local progression = (day + 61) / 365
local progression = ((day + 61) % 365) / 365
return climate_api.utility.normalized_cycle(progression) * 0.6 + 0.7
end