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

This subforum contains all the issues which we already resolved.
User avatar
hgschmie
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Tue Feb 06, 2024 5:18 am
Contact:

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

Post 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 540 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 540 times


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

I guess this is a "prototype migration" edge case.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3362
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

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

Post 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.
Post Reply

Return to “Resolved Problems and Bugs”