Skip to content

Rework machine copy/paste card to support copying pipes, covers, cover settings, and more machine settings#4272

Merged
gustovafing merged 14 commits into1.20.1from
gus/memory-card-copy-circuit
Jan 14, 2026
Merged

Rework machine copy/paste card to support copying pipes, covers, cover settings, and more machine settings#4272
gustovafing merged 14 commits into1.20.1from
gus/memory-card-copy-circuit

Conversation

@gustovafing
Copy link
Copy Markdown
Member

What

Reworks the machine memory card to use a new system based on the interface ICopyable, which is implemented by machines and covers to allow for more values to be copied. The new copy behaviour allows for many more machine settings to be copied, including covers and cover settings. Additionally, the card can now copy/paste the connections, shutters, and covers of pipe segments.

@gustovafing gustovafing requested a review from a team as a code owner December 5, 2025 23:11
@github-actions github-actions bot added the 1.20.1 label Dec 5, 2025
@gustovafing gustovafing added type: feature New feature or request bundled for a 0.X.0 Update Release: Major - 0.X.0 Releases focused on Content, changes to gameplay; While maintaining mostly API stability. labels Dec 5, 2025
@github-actions github-actions bot added the Tests: Passed Game Tests have passed on this PR label Dec 5, 2025
Copy link
Copy Markdown
Contributor

@jurrejelle jurrejelle left a comment

Choose a reason for hiding this comment

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

I love these changes, I do have a few notes:

  1. Since I think this is a change that requires all covers etc to override this, could you make docs for it?
  2. I think this is peak testable PR, could you / do you want to make a bunch of tests e.g. placing down stuff with certain rotations/configurations/colors/edits/whatever and manually calling copy / paste on it to make sure the right things are copied/pasted and actually come through? if not I could have a look at making them into this PR

@gustovafing gustovafing merged commit 24574c9 into 1.20.1 Jan 14, 2026
4 checks passed
@gustovafing gustovafing deleted the gus/memory-card-copy-circuit branch January 14, 2026 09:00
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: feature New feature or request bundled for a 0.X.0 Update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants