[PORT] Planetary atmos fix (fixes wings rarely not working on lavaland or icebox)#11329
[PORT] Planetary atmos fix (fixes wings rarely not working on lavaland or icebox)#11329Absolucy wants to merge 1 commit intoMonkestation:masterfrom
Conversation
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- You can view Contributing.MD for a detailed description of the pull request process. --> ## About The Pull Request The code for generating random atmospheres for lavaland and icemoon has variables that define the minimum and maximum pressure that the atmosphere can be. However, due to an oversight, it was possible for the actual pressure to be below this minimum. This caused problems for the flight potion wings, as the wings will not work if the pressure is lower than the minimum lavaland/icemoon pressure. I tested this by making a quick test proc that would generate lavaland atmos 100 times, and count how often the final pressure was lower than the minimum pressure. I ran it a few times after making my changes, and it returned 0 failures every time, so I'm confident that my code works. <!-- Describe The Pull Request. Please be sure every change is documented or this can delay review and even discourage maintainers from merging your PR! --> ## Why It's Good For The Game I think its good practice for minimums and maximums variables like this to actually be hard limits. Furthermore, if there's _one_ place that mining loot should actually be useful, then its outside where you mine. <!-- Argue for the merits of your changes and how they benefit the game, especially if they are controversial and/or far reaching. If you can't actually explain WHY what you are doing will improve the game, then it probably isn't good for the game in the first place. --> ## Changelog <!-- If your PR modifies aspects of the game that can be concretely observed by players or admins you should add a changelog. If your change does NOT meet this description, remove this section. Be sure to properly mark your PRs to prevent unnecessary GBP loss. You can read up on GBP and it's effects on PRs in the tgstation guides for contributors. Please note that maintainers freely reserve the right to remove and add tags should they deem it appropriate. You can attempt to finagle the system all you want, but it's best to shoot for clear communication right off the bat. --> :cl: fix: The flight potion wings will no longer fail to work on lavaland/icemoon on rare occasions. /:cl: <!-- Both :cl:'s are required for the changelog to work! You can put your name to the right of the first :cl: if you want to overwrite your GitHub username as author ingame. --> <!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. -->
Test merge deployment history:Test Merge Deployed @ 04/09/2026 03:05:24 +00:00:Server InstanceMonkestation Merged Byflleeppyy2 RevisionOrigin: 912486f Test Merge Updated @ 04/09/2026 23:22:51 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 95c3a92 Test Merge Updated @ 04/09/2026 23:38:07 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 0c4d7d8 Test Merge Updated @ 04/09/2026 23:45:46 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 070271b Test Merge Updated @ 04/09/2026 23:51:23 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 070271b Test Merge Updated @ 04/10/2026 04:27:06 +00:00:Server InstanceMonkestation Merged Bywraith_54321 RevisionOrigin: 8b72341 Test Merge Updated @ 04/10/2026 04:38:31 +00:00:Server InstanceMonkestation Merged Bywraith_54321 RevisionOrigin: 50be15d Test Merge Updated @ 04/11/2026 00:21:16 +00:00:Server InstanceMonkestation Merged Bywraith_54321 RevisionOrigin: ded30fc Test Merge Updated @ 04/12/2026 07:47:49 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 18400eb Test Merge Updated @ 04/12/2026 09:32:15 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 18400eb Test Merge Updated @ 04/12/2026 19:42:37 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 18400eb Test Merge Updated @ 04/12/2026 23:14:05 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 18400eb Test Merge Updated @ 04/13/2026 00:41:49 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: ca8f6b4 Test Merge Updated @ 04/13/2026 01:59:39 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: ca8f6b4 Test Merge Updated @ 04/13/2026 02:35:21 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: ca8f6b4 Test Merge Updated @ 04/13/2026 06:01:06 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 4418489 Test Merge Updated @ 04/13/2026 06:18:37 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 4418489 Test Merge Updated @ 04/14/2026 01:29:04 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: bbc01b3 Test Merge Updated @ 04/14/2026 01:51:22 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: ccf2562 Test Merge Updated @ 04/14/2026 02:30:27 +00:00:Server InstanceMonkestation Merged Bysirnightknight RevisionOrigin: 330f3a4 Test Merge Updated @ 04/14/2026 22:29:38 +00:00:Server InstanceMonkestation Merged Bywraith_54321 RevisionOrigin: 9c9f9ce |
About The Pull Request
Ports tgstation/tgstation#78602
Why It's Good For The Game
Changelog
🆑 Absolucy, GPeckman
fix: The flight potion wings will no longer fail to work on lavaland/icemoon on rare occasions.
/:cl: