Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atmospheres Refactor Take 2 #4099

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

MarkSuckerberg
Copy link
Member

About The Pull Request

Re-attempt of #3878.

Basically makes atmosphere gas string generation a lot better. The previous method was baffling to me and it bugged me to no end. This was intended to be part of a bigger PR but I might as well PR this as it is now.

Calculations of randomized atmos mixes WILL be different now, but I tried to make it as similar to the old method as I could without bending over backwards. We'll get used to it, unless it's bugged.

Also gets rid of initial_temperature on turfs, because it literally did nothing. Specify temperature as part of initial_gas_mix.

Why It's Good For The Game

Simplifies an EXTREMELY needlessly complicated process that did something as simple as generating a "random" gas string for planets to use. Allows me to feel less bad when I generate a lot more unique atmosphere types.

Changelog

🆑
/:cl:

@github-actions github-actions bot added the Code change Watch something violently break. label Jan 28, 2025
@MarkSuckerberg
Copy link
Member Author

Also updated and fixed.

@Imaginos16 Imaginos16 added Test Merge Candidate You do it for free. Test Merge Required They'll have to do it for free. labels Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code change Watch something violently break. Test Merge Candidate You do it for free. Test Merge Required They'll have to do it for free.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants