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

This subforum contains all the issues which we already resolved.
User avatar
micromario
Fast Inserter
Fast Inserter
Posts: 116
Joined: Thu Apr 05, 2018 11:53 am
Contact:

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

Post 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 1842 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 1842 times
Attachments
factorio-current.log
(200.81 KiB) Downloaded 41 times
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 732
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

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

Post 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.
Don't forget, you're here forever.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 732
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

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

Post by raiguard »

Thanks for the report, this has been fixed for 2.0.52. Sorry for the wait!
Don't forget, you're here forever.
User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 848
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

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

Post 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?
Fulgora is the best planet. Vulcanus needs rework. Feel free to prove me wrong.
InUniverse
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sun Dec 01, 2024 12:30 pm
Contact:

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

Post 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.
User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 848
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

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

Post 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
Fulgora is the best planet. Vulcanus needs rework. Feel free to prove me wrong.
Post Reply

Return to “Resolved Problems and Bugs”