Page 1 of 1

[boskid] Downgrading an inserter confuses the "ALT mode" picture

Posted: Sat Jan 04, 2025 11:50 pm
by hgschmie
I have an inserter thing that supports filter mode and I want to release a new mod version where it no longer does.

In the old version, the entity_prototype "filter_count" attribute was set to 5. In the new version, the attribute is set to "0".

Now when I load a save from the old version, the entity still shows filtering in "Alt Mode":
Screenshot 2025-01-04 at 15.47.30.png
Screenshot 2025-01-04 at 15.47.30.png (61.46 KiB) Viewed 542 times
even though the GUI shows that it no longer supports filters:
Screenshot 2025-01-04 at 15.49.25.png
Screenshot 2025-01-04 at 15.49.25.png (80.95 KiB) Viewed 542 times


For any newly placed entity, "Alt mode" works correctly.

I guess this is a "prototype migration" edge case.

Re: [boskid] Downgrading an inserter confuses the "ALT mode" picture

Posted: Sun Jan 05, 2025 2:06 pm
by boskid
Given that this describes a bug (missing migration to disable "use filters" when inserter is not allowed to use filters anymore) i fixed this for 2.0.29.