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

VendingPriceModReplacer Refactor #872

Closed

Conversation

dvir001
Copy link
Contributor

@dvir001 dvir001 commented Jan 13, 2024

About the PR

Remove VendPrice comp, replace it with a new float under StaticPrice.
Make it replace the vending mod per item.

Static * modifier.Mod without VendingPriceMod
Static * VendingPriceModReplacer When VendingPriceModReplacer exists and its higher then VendingPriceMod.

Why / Balance

Allow setting a mod multi per item, this cannot be used to lower vending mod, only increase it.

Technical details

C# for code replacements
yml for the items that were using old comp

Media

N/A

Breaking changes

Removed VendPrice comp
Replaced it with the new vendingPriceModReplacer on the StaticPrice comp

Changelog
N/A

@github-actions github-actions bot added YML C# UI Status: Needs Review This PR is awaiting reviews labels Jan 13, 2024
@dvir001 dvir001 marked this pull request as draft January 13, 2024 15:04
@dvir001
Copy link
Contributor Author

dvir001 commented Jan 13, 2024

Doing a change to just make it use the existing code as to not add any new calcs

@dvir001 dvir001 marked this pull request as ready for review January 13, 2024 15:37
@dvir001
Copy link
Contributor Author

dvir001 commented Jan 13, 2024

Done, not adding new calcs, just allow a change to vend mod per item.

@dvir001 dvir001 changed the title Vend Price Refactor VendingPriceModReplacer Refactor Jan 22, 2024
@github-actions github-actions bot added the Merge Conflict This PR has conflicts that prevent merging label Jan 28, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the Merge Conflict This PR has conflicts that prevent merging label Jan 28, 2024
@github-actions github-actions bot added the Merge Conflict This PR has conflicts that prevent merging label Feb 8, 2024
Copy link
Contributor

github-actions bot commented Feb 8, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

1 similar comment
Copy link
Contributor

github-actions bot commented Feb 8, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@dvir001 dvir001 marked this pull request as draft February 28, 2024 20:40
@dvir001
Copy link
Contributor Author

dvir001 commented Mar 14, 2024

Need a rewrite of this.

@dvir001 dvir001 closed this Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# Merge Conflict This PR has conflicts that prevent merging Status: Needs Review This PR is awaiting reviews UI YML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant