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

[MIRROR] Hydrotray consumes nutrients disregarding the mixture contents #703

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#25101
Original PR: tgstation/tgstation#79794

About The Pull Request

Hydrotrays were using remove_any which led to weird behaviour when you mix fertilizers.

It could randomly select which reagents to consume from the hydrotray, and which reagents should stay unotuched.

With remove_all, the plant now simply consumes a unit of the mixture, disregarding the contents.

Why It's Good For The Game

This simple fix unlocks an entire new level of gameplay for botany, as you can make mixtures that work consistently.

Changelog

🆑 MTandi
fix: Hydrotrays consume nutrients according to their proportion in the mix, instead of randomly picking reagents to consume every cycle.
/:cl:

…ts [MDB IGNORE] (#25101)

* Hydrotray consumes nutrients disregarding the mixture contents (#79794)

## About The Pull Request

Hydrotrays were using `remove_any` which led to weird behaviour when you
mix fertilizers.

It could randomly select which reagents to consume from the hydrotray,
and which reagents should stay unotuched.

With `remove_all`, the plant now simply consumes a unit of the mixture,
disregarding the contents.

## Why It's Good For The Game

This simple fix unlocks an entire new level of gameplay for botany, as
you can make mixtures that work consistently.

## Changelog

:cl:
fix: Hydrotrays consume nutrients according to their proportion in the
mix, instead of randomly picking reagents to consume every cycle.
/:cl:

* Hydrotray consumes nutrients disregarding the mixture contents

---------

Co-authored-by: Andrew <[email protected]>
@Iajret Iajret merged commit b55a3ab into master Nov 19, 2023
24 checks passed
@Iajret Iajret deleted the upstream-mirror-25101 branch November 19, 2023 09:40
AnywayFarus added a commit that referenced this pull request Nov 19, 2023
Iajret pushed a commit that referenced this pull request Jan 31, 2024
…on to alternate_byond_versions (#703)

* Bumps min compiler version to 1621 / adds min compiler version to alternate_byond_versions (#81183)

## About The Pull Request

Min compiler version is something we should probably test to make sure
it actually works.

Case in point: Our current min version (1609) cannot compile as of
#81152 due to a byond bug fixed in version 515.1621.

* Bumps min compiler version to 1621 / adds min compiler version to alternate_byond_versions

---------

Co-authored-by: MrMelbert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants