[2.0.66] Stack inserter filter not copied when super-force-building over different inserter
Posted: Sun Sep 21, 2025 9:34 am
To reproduce:
- Place a stack inserter and set filter to green circuits
- Place another stack inserter and set filter to red circuits
- Place a fast inserter and set filter to red circuits
- Copy the first inserter and super-force-paste (control-shift-click) over both other inserters
What happens:
- The second stack inserter gets its filter changed to green circuits (the copied value)
- The fast inserter is replaced by a stack inserter, but it's filter remains at red circuits (its original value)
What I had expected:
- I had expected both pasted inserters to have a green circuit filter set (i.e. the copied value of the first inserter)
Note that I use the filter in this example, but the same happens with other attributes such as stack size or spoiled priority.
I think overriding the replaced inserter's attributes with the copied value is correct, since I expect super-force-building to copy my original regardless of what is on the position where I place it. I could possibly imagine some reason to keep the attributes of the replaced inserters intact, but then I would expect the same behaviour regardless of whether the replaced inserter types are the same or different.
(I searched the bug report forums and reddit, apologies if this was posted already)
Edit: terminology
- Place a stack inserter and set filter to green circuits
- Place another stack inserter and set filter to red circuits
- Place a fast inserter and set filter to red circuits
- Copy the first inserter and super-force-paste (control-shift-click) over both other inserters
What happens:
- The second stack inserter gets its filter changed to green circuits (the copied value)
- The fast inserter is replaced by a stack inserter, but it's filter remains at red circuits (its original value)
What I had expected:
- I had expected both pasted inserters to have a green circuit filter set (i.e. the copied value of the first inserter)
Note that I use the filter in this example, but the same happens with other attributes such as stack size or spoiled priority.
I think overriding the replaced inserter's attributes with the copied value is correct, since I expect super-force-building to copy my original regardless of what is on the position where I place it. I could possibly imagine some reason to keep the attributes of the replaced inserters intact, but then I would expect the same behaviour regardless of whether the replaced inserter types are the same or different.
(I searched the bug report forums and reddit, apologies if this was posted already)
Edit: terminology