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

Refactor bank potions/bags, fix issues and do proper entity inheritance #88

Merged
merged 3 commits into from
Sep 24, 2023

Conversation

tehkab
Copy link
Collaborator

@tehkab tehkab commented Sep 24, 2023

Potions and powder bags retrieved from the bank were implemented as copies of the original potion/powder_stash xml files with alterations. As a result, there were some changes that dont really make sense, as well as beta-branch changes not being applied.

Changed these to inherit from the proper vanilla definitions, overriding the LuaComponent responsible for filling them normally (so we can then fill them with proper banked materials). This also fixes some old changes that have odd effects on potions retrieved from the bank.

Potions retrieved from bank inherit from vanilla potion now:
- Visible to item radar again
- Can participate in fungal shifts
- (beta branch) fixes potion mixing not working
- won't mysteriously break after 100k frames
- Break into pieces again

Powder stashes don't have any obvious issues fixed by this, but changing them in the same way is consistent and should be more future-proof

@SkyeOfBreeze SkyeOfBreeze merged commit 4ed6a47 into Noita-Together:main Sep 24, 2023
@tehkab tehkab deleted the refactor-bank-potions branch September 24, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants