`allow_blueprint_reorientation` flag/boolean for `SimpleEntityWithOwner` et al.

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
The_LORD_thy_GOD
Inserter
Inserter
Posts: 20
Joined: Sun Nov 10, 2024 5:23 pm
Contact:

`allow_blueprint_reorientation` flag/boolean for `SimpleEntityWithOwner` et al.

Post by The_LORD_thy_GOD »

Currently, if a blueprint containing a `SimpleEntityWithOwner` is pasted over an existing `SimpleEntityWithOwner` in the world, if the `direction`s would end up being different, Factorio declines to build/red-outlines the entity.

I propose an entity-prototype-flag or boolean be added, applicable at least to `SimpleEntityWithOwner` and potentially to other entities that exhibit this behavior -- `allow_blueprint_reorientation`.

In the default `false` case current behavior would continue unmodified.

In the set `true` case, when this sort of blueprint overlap occurs, the existing entity will be reoriented to the orientation imposed by the blueprint. (All associated events including the new `on_blueprint_settings_pasted` should fire in this case.)
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 515
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: `allow_blueprint_reorientation` flag/boolean for `SimpleEntityWithOwner` et al.

Post by protocol_1903 »

+1, even a simple 'allow-rotation' flag would be appreciated, even if it just shifts an internal value that has no gameplay effect
pY and pYblock developer, wielder of fluid networks and subtick events in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903

Buy me a coffee
Post Reply

Return to “Modding interface requests”