`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.)
Post Reply

Return to “Modding interface requests”