Skip to content

Conversation

@Synthitic
Copy link
Contributor

What

Changes EU/t from int to long for research.

Implementation Details

int to long

Outcome

use numbers bigger than int max, consistent with general recipes

Potential Compatibility Issues

might have missed something

@Synthitic Synthitic requested a review from a team as a code owner February 13, 2025 03:59
@Zorbatron Zorbatron added the type: refactor Suggestion to refactor a section of code label Feb 13, 2025
Copy link
Member

@Zorbatron Zorbatron left a comment

Choose a reason for hiding this comment

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

Should CWU/t be long aswell?

@Synthitic
Copy link
Contributor Author

Maybe? Though if we go by regular tier scaling by assuming ZPM starts with 32 CWU/t and multiply by 4 for each, you end up with MAX + 6 before reaching the limit (not thinking about total CWU though), even more if the scaling decides to use powers of 2 instead of 4. I think int is reasonable.

@Zorbatron
Copy link
Member

Makes sense.

@Zorbatron Zorbatron merged commit a95ea1d into GregTechCEu:master Feb 14, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: refactor Suggestion to refactor a section of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants