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] Fixes some items produced by using plants not inheriting reagent purity #200

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#24486
Original PR: tgstation/tgstation#79123

About The Pull Request

In #78322 I removed the reagent purity initialize argument from grown items, thinking it was only used by butter. It was actually used in two other places which I missed, in which I have implemented the same functionality.
Rather than passing the desired purity on creation we instead just set the purity of contents reagents after initialising the atom. This broadly replicates what the edible component was doing, as these items only get reagents from being edible.

Changelog

🆑 Jacquerel
fix: Meatwheat Clumps, Bungo Pits, and Eggplant Eggs should once again inherit reagent purity from the grown item which produces them.
/:cl:

…gent purity [MDB IGNORE] (#24486)

* Fixes some items produced by using plants not inheriting reagent purity (#79123)

## About The Pull Request

In #78322 I removed the reagent purity initialize argument from grown
items, thinking it was only used by butter. It was actually used in two
other places which I missed, in which I have implemented the same
functionality.
Rather than passing the desired purity on creation we instead just set
the purity of contents reagents after initialising the atom. This
broadly replicates what the edible component was doing, as these items
only get reagents from being edible.

## Changelog

:cl:
fix: Meatwheat Clumps, Bungo Pits, and Eggplant Eggs should once again
inherit reagent purity from the grown item which produces them.
/:cl:

* Fixes some items produced by using plants not inheriting reagent purity

---------

Co-authored-by: Jacquerel <[email protected]>
@Iajret Iajret merged commit ec013e3 into master Oct 22, 2023
23 checks passed
@Iajret Iajret deleted the upstream-mirror-24486 branch October 22, 2023 13:09
AnywayFarus added a commit that referenced this pull request Oct 22, 2023
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