Skip to content

Fix maintenance not happening as often as intended#3740

Merged
Ghostipedia merged 3 commits into1.20.1from
m/fix-maintenance-check
Sep 14, 2025
Merged

Fix maintenance not happening as often as intended#3740
Ghostipedia merged 3 commits into1.20.1from
m/fix-maintenance-check

Conversation

@serenibyss
Copy link
Copy Markdown
Member

@serenibyss serenibyss commented Aug 16, 2025

Incorporates the fixes from GregTechCEu/GregTech#1894

Closes #998

@serenibyss serenibyss requested a review from a team as a code owner August 16, 2025 16:23
@serenibyss serenibyss added type: bugfix General bug fixes Release: Major - 0.X.0 Releases focused on Content, changes to gameplay; While maintaining mostly API stability. labels Aug 16, 2025
@github-actions github-actions bot added 1.20.1 Tests: Passed Game Tests have passed on this PR labels Aug 16, 2025
"How often to check for maintenance, rolling a 1/6000 chance every X ticks (before secondary effects like Configurable Maintenance Hatch).",
"In default settings, this equates to a 5% chance every hour of a machine running.",
"Default: 1000 (ticks)" })
public int maintenanceCheckRate = 1000;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I purposefully renamed this since:

  1. It serves a very different purpose mathematically compared to before
  2. The old default value of this config would lead to an even less likely chance of maintenance occurring than before with the old math

@Ghostipedia Ghostipedia merged commit 37c8863 into 1.20.1 Sep 14, 2025
4 checks passed
@Ghostipedia Ghostipedia deleted the m/fix-maintenance-check branch September 14, 2025 04:12
LeoDreamer2004 pushed a commit to LeoDreamer2004/GregTech-Modern that referenced this pull request Dec 20, 2025
Co-authored-by: Ghostipedia / Caitlynn <46772882+Ghostipedia@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Release: Major - 0.X.0 Releases focused on Content, changes to gameplay; While maintaining mostly API stability. Tests: Passed Game Tests have passed on this PR type: bugfix General bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance Frequency

3 participants