[boskid][2.0.5] filtering using allowed_module_categories does not remove invalid modules

This subforum contains all the issues which we already resolved.
przemo1232
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Oct 18, 2024 9:48 am
Contact:

[boskid][2.0.5] filtering using allowed_module_categories does not remove invalid modules

Post by przemo1232 »

When switching a recipe with a module present in an assembling machine to one with a allowed_module_categories restriction, the game doesn't check if current modules are valid for the new recipes

sample data.lua code:
data.raw.recipe['iron-stick'].allowed_module_categories = {"speed"}

1. place crafting machine 3 and set the crafting recipe to iron gear wheel
2. insert efficiency module
3. switch recipe to iron stick
4. efficiency module stays in
Attachments
1.png
1.png (451.28 KiB) Viewed 279 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3365
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][2.0.5] filtering using allowed_module_categories does not remove invalid modules

Post by boskid »

Thanks for the report. Issue is now fixed for 2.0.6
przemo1232
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Oct 18, 2024 9:48 am
Contact:

Re: [boskid][2.0.5] filtering using allowed_module_categories does not remove invalid modules

Post by przemo1232 »

Thanks. I also found another bug related to the report, it looks like beacons ignore the allowed_module_categories field on both recipes and crafting machines
Post Reply

Return to “Resolved Problems and Bugs”