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

Enable max tier to appear both earlier and at end of tiering #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ruling-0
Copy link

@Ruling-0 Ruling-0 commented Mar 8, 2025

Supports GT5 PR GTNewHorizons/GT5-Unofficial#4032

Makes it so that a tier which is nominally the "max" can appear once before the end of the array, then again at the end to trigger the end of the tier looping. For the PR, this is so that UMV glass can be at the index of UMV tier, but also at the very end of the glass array (after all the variant glasses) so that full stack projector usage still uses it.

@Ruling-0 Ruling-0 marked this pull request as ready for review March 9, 2025 09:58
@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Mar 9, 2025
@Dream-Master Dream-Master requested a review from a team March 9, 2025 10:03

data.setMaxTier(tier - 1, channel);
data.setMaxTier(tier, channel);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That -1 was there for a reason, this adds an additional tier to every multi which is identical to the previous tier.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I get that. There are some alternatives I've come up with though that might work better, I'd appreciate your thoughts

  1. Only do this if the previous iteration was different from the last iteration, probably the simplest and (imo) cleanest
  2. Change how variants work so that explicit tiering is | tier 1 + variants | tier 2 + variants | ... | tier x variants | instead of what I did which is | tier 1 main | tier 2 main | tier 1 variants | tier 2 variants | tier X main |.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants