Skip to content

[💎]: Improve the snow generation/removal on chunk load #4141

@Pyritie

Description

@Pyritie

Was this enhancement suggested before?

  • No, it was not.

What would you like to be added/ changed?

1.21 of TFC added a system that adds and removes snow as chunks are loaded, meaning snow will instantly melt if you walk into a snow-filled chunk during the summer, and vice versa.

TerraFirmaGreg-Team/Core-Modern#427 implemented this in a way that mostly works, except it only removes snow and doesn't add it. It can also look strange when generating new chunks, like here:

-1164348183722065023 @ 12453 ~ -4600
(date is august 6, temps are -7 avg and -4 current)

Image

Why is this needed?

It would be nice if this fully worked for both adding snow back, and removing it in a nicer-looking way.

One big problem the other PR author ran into is that 1.21 has a different formula for predicting snowfall, since it has a separation of groundwater and rainfall, as well as rainfall variance so climates can have wet seasons and dry seasons. So we can't just copy and paste the 1.21 system exactly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Enhancement.

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions