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 2792 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 2792 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.

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

Posted: Mon May 19, 2025 6:04 pm
by raiguard
Thanks for the report, this has been fixed for 2.0.52. Sorry for the wait!

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

Posted: Fri May 23, 2025 11:48 am
by Hares
raiguard wrote: Mon May 19, 2025 6:04 pm Thanks for the report, this has been fixed for 2.0.52. Sorry for the wait!
A sad day for the Warptorio enjoyers.
Could this be made a feature-flag on beacons?

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

Posted: Fri May 23, 2025 2:57 pm
by InUniverse
Hares wrote: Fri May 23, 2025 11:48 am A sad day for the Warptorio enjoyers.
Warp modules are allowed on all recipes to begin with, so this shouldn't affect anything there.

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

Posted: Fri May 23, 2025 3:16 pm
by Hares
InUniverse wrote: Fri May 23, 2025 2:57 pm
Hares wrote: Fri May 23, 2025 11:48 am A sad day for the Warptorio enjoyers.
Warp modules are allowed on all recipes to begin with, so this shouldn't affect anything there.
But not producivity modules, and you can put those into Warp Beacon