[2.0.69] Module Upgrade planner does not respect "not-upgradable" Flag

Bugs that are actually features.
Loup&Snoop
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Wed Dec 04, 2024 4:33 am
Contact:

[2.0.69] Module Upgrade planner does not respect "not-upgradable" Flag

Post by Loup&Snoop »

My mod makes invisible beacons with the "not-upgradable" and "not-selectable-in-game" entity flags. However, an upgrade planner can still select it and add modules to it. This video was sent to me in a bug report: https://streamable.com/6asdpd

To reproduce, make an entity with the "not-upgradable" entity flag, and make an upgrade planner that changes nothing to Prod3 modules. Robots will be able to add prod3 modules to fill the entity.

Note that if you use an upgrade planner that changes empty module slot to prod3 module, then the selection will display an invalid number of modules (as though the module inventory would be filled), but no request is made. In this scenario, it has UI jank, but the right behavior.

I found a workaround by changing the beacon's force, but I'm still reporting this bug for awareness.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16247
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.69] Module Upgrade planner does not respect "not-upgradable" Flag

Post by Rseding91 »

Thanks for the report however the not-upgradable flag is specific to the entity, not modules. So in this case the upgrade planner letting you tell robots to put modules into an entity is working correctly.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”