Page 1 of 1

[raiguard][2.0.6] recipe.allowed_module_categories does not respect beacons

Posted: Fri Oct 18, 2024 6:57 pm
by micromario
I have modded the `iron-gear-wheel` recipe in the following way:

Code: Select all

data.raw.recipe["iron-gear-wheel"].allowed_module_categories = {"productivity"}
10-18-2024, 13-54-27.png
10-18-2024, 13-54-27.png (247.5 KiB) Viewed 543 times
My expectation is that you could not use speed beacons or green beacons on such a recipe.
Of note: The previous system of `module.limitation` had such expected behavior.

As you can see, the speed beacon effects the recipe:
10-18-2024, 13-56-55.png
10-18-2024, 13-56-55.png (1.22 MiB) Viewed 543 times

Re: [raiguard][2.0.6] recipe.allowed_module_categories does not respect beacons

Posted: Fri Oct 18, 2024 9:12 pm
by raiguard
I intentionally implemented it this way - module category restrictions only affect what you can put in machines - but I agree that it is probably unintuitive.

I will fix this, but not until after 2.0 launch and bug rush has died down.