Skip to content

[PORT] Planetary atmos fix (fixes wings rarely not working on lavaland or icebox)#11329

Open
Absolucy wants to merge 1 commit intoMonkestation:masterfrom
Absolucy:waow
Open

[PORT] Planetary atmos fix (fixes wings rarely not working on lavaland or icebox)#11329
Absolucy wants to merge 1 commit intoMonkestation:masterfrom
Absolucy:waow

Conversation

@Absolucy
Copy link
Copy Markdown
Contributor

@Absolucy Absolucy commented Apr 9, 2026

About The Pull Request

Ports tgstation/tgstation#78602

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.

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.

Changelog

🆑 Absolucy, GPeckman
fix: The flight potion wings will no longer fail to work on lavaland/icemoon on rare occasions.
/:cl:

<!-- 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. -->
@github-project-automation github-project-automation bot moved this from In progress to Labeling Complete in Monkestation-TG Issues Tracker Apr 9, 2026
@ChiefMonkengineer
Copy link
Copy Markdown
Contributor

ChiefMonkengineer commented Apr 9, 2026

Test merge deployment history:

Test Merge Deployed @ 04/09/2026 03:05:24 +00:00:
Server Instance

Monkestation

Merged By

flleeppyy2

Revision

Origin: 912486f
Pull Request: f407046
Server: 4b8fa68b9ad0ce8d2a2bfb1f02e3674d7bee89eb

Test Merge Updated @ 04/09/2026 23:22:51 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 95c3a92
Pull Request: f407046
Server: ab5736e5149d00b16dca83256f3d3d92f7c800c9

Test Merge Updated @ 04/09/2026 23:38:07 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 0c4d7d8
Pull Request: f407046
Server: 9a74dcf226c0a5c57ed850eb4da500fecba087e3

Test Merge Updated @ 04/09/2026 23:45:46 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 070271b
Pull Request: f407046
Server: 942e154bdae7ec7beecae89ce7f491c0d7553f20

Test Merge Updated @ 04/09/2026 23:51:23 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 070271b
Pull Request: f407046
Server: 3edce7db0422339524cf3878111d730a48ef777c

Test Merge Updated @ 04/10/2026 04:27:06 +00:00:
Server Instance

Monkestation

Merged By

wraith_54321

Revision

Origin: 8b72341
Pull Request: f407046
Server: 664f6400935bcbb122c9b59926098a224be65578

Test Merge Updated @ 04/10/2026 04:38:31 +00:00:
Server Instance

Monkestation

Merged By

wraith_54321

Revision

Origin: 50be15d
Pull Request: f407046
Server: 8f7d8a28b4ef0fb8971ddb4ed71250da7e43b97f

Test Merge Updated @ 04/11/2026 00:21:16 +00:00:
Server Instance

Monkestation

Merged By

wraith_54321

Revision

Origin: ded30fc
Pull Request: f407046
Server: 23f8dd4ea0a62445ddc859a06dde040958f68300

Test Merge Updated @ 04/12/2026 07:47:49 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 18400eb
Pull Request: f407046
Server: 6b687cc1319939b271e7192e06d3389cc65a2b03

Test Merge Updated @ 04/12/2026 09:32:15 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 18400eb
Pull Request: f407046
Server: 59ee47d1c5f0621c0c005248f574c2716786343f

Test Merge Updated @ 04/12/2026 19:42:37 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 18400eb
Pull Request: f407046
Server: 565bf66935783cd33da458dad8d8f3a4d24f09b8

Test Merge Updated @ 04/12/2026 23:14:05 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 18400eb
Pull Request: f407046
Server: f7f93571d14739a9e003e1c85056ebee42798637

Test Merge Updated @ 04/13/2026 00:41:49 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: ca8f6b4
Pull Request: f407046
Server: 80cbc289055d044bf2a5c52042fc71d39af4ce64

Test Merge Updated @ 04/13/2026 01:59:39 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: ca8f6b4
Pull Request: f407046
Server: 2e07a2142732a9e9bde14bb9b06b6bf862cee0ea

Test Merge Updated @ 04/13/2026 02:35:21 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: ca8f6b4
Pull Request: f407046
Server: df3e08827914d7a949f5604c1903609d8cfa146a

Test Merge Updated @ 04/13/2026 06:01:06 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 4418489
Pull Request: f407046
Server: 629afcfb1f8cb4a692c64abc62cc74bb668ebe9a

Test Merge Updated @ 04/13/2026 06:18:37 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 4418489
Pull Request: f407046
Server: 78be3d199a06f981ad65950a978a090e394da6aa

Test Merge Updated @ 04/14/2026 01:29:04 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: bbc01b3
Pull Request: f407046
Server: aaa7e1236b1e8d4b5fe32c2a7d28c890512bdeb8

Test Merge Updated @ 04/14/2026 01:51:22 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: ccf2562
Pull Request: f407046
Server: 5574d71d03d665538c9768aebb3753e13736d696

Test Merge Updated @ 04/14/2026 02:30:27 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 330f3a4
Pull Request: f407046
Server: 7e12abb7354bb6e23882ff4872a2cbc46ca49928

Test Merge Updated @ 04/14/2026 22:29:38 +00:00:
Server Instance

Monkestation

Merged By

wraith_54321

Revision

Origin: 9c9f9ce
Pull Request: f407046
Server: 8e2c68d715b4377fc8202d85d8928f6887cdbccb

Test Merge Updated @ 04/15/2026 02:25:52 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 9c9f9ce
Pull Request: f407046
Server: 1629764fd5f63d172d4355dbd497d9071b2c8ce7

Test Merge Updated @ 04/15/2026 05:59:18 +00:00:
Server Instance

Monkestation

Merged By

sirnightknight

Revision

Origin: 867ddd4
Pull Request: f407046
Server: ed8c9f5a892d7fbcd44e3fe1a67206c0ddd4426b

@Mantlecrawler Mantlecrawler added the Code: Fix fix da bug label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code: Fix fix da bug

Projects

Status: Labeling Complete

Development

Successfully merging this pull request may close these issues.

5 participants