Skip to content

Fix some Programmed Circuit c0 behaviors - #5281

Open
DilithiumThoride wants to merge 1 commit into
1.20.1from
dt/unprogrammed-circuit
Open

Fix some Programmed Circuit c0 behaviors#5281
DilithiumThoride wants to merge 1 commit into
1.20.1from
dt/unprogrammed-circuit

Conversation

@DilithiumThoride

@DilithiumThoride DilithiumThoride commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

What

Fixes four strange behaviors involving Programmed Circuits on Configuration 0 (c0)

  • When setting a Programmed Circuit in-hand, resetting it to c0 deletes the item without closing the UI
  • When mousewheel scrolling a machine's circuit slot up from 32 or down from 1, going one way results in c0 but going the other way results in No Circuit
  • When pasting a circuit into a machine, the machine is set to c0, which is useless
  • Setting a programmed circuit to config -1 triggered a server crash

AI Usage

  • [ X ] No AI driven tools were used for this pull request.

Outcome

  • Circuits in hand can now be reset to c0
  • Scrolling circuit config in a machine now sets the machine to No Circuit
  • Pasting a c0 circuit into a machine sets the machine to No Circuit
  • Setting a programmed circuit to an invalid config now sets the circuit to c0 and prints an error log rather than triggering a crash

How Was This Tested

creative test world

Additional Information

There's another programmed circuit behavior I want to fix with the Jade Provider but that'll be a separate PR.

@DilithiumThoride
DilithiumThoride requested a review from a team as a code owner August 12, 2026 21:26
@DilithiumThoride DilithiumThoride added 1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. type: bugfix General bug fixes labels Aug 12, 2026
@github-actions github-actions Bot added the Tests: Passed Game Tests have passed on this PR label Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. 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.

1 participant