[2.1.8] `on_blueprint_settings_pasted` not firing on some overlaps

Bugs that are actually features.
The_LORD_thy_GOD
Inserter
Inserter
Posts: 20
Joined: Sun Nov 10, 2024 5:23 pm
Contact:

[2.1.8] `on_blueprint_settings_pasted` not firing on some overlaps

Post by The_LORD_thy_GOD »

Current Behavior
When a blueprinted simple-entity-with-owner stacks on top of a corresponding simple-entity-with-owner in the world, if their `direction`s aren't the same, the blueprint can't be built in the ordinary mode.

It CAN be built in forced mode (not superforce, ordinary shift force) but when it is, the `on_blueprint_settings_pasted` event does not fire for the overlapped entity.
Expected Behavior
The event should fire, as it fits the criteria of a blueprinted entity being pasted over an existing entity or entity ghost.
Etc
- A similar state of affairs is likely true of many types of entities, though I only directly tested it using `simple-entity-with-owner`.

- If this is considered "not a bug" please consider it as an interface request for 2.1. Any mod that is interested in this new event is going to prefer not to lose information in these cases.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16995
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.8] `on_blueprint_settings_pasted` not firing on some overlaps

Post by Rseding91 »

Thanks for the report however I believe you’re misunderstanding what the event is. The event is specifically tied to the settings of the entity being copy pasted onto the target. This does not happen in the scenario you describe: force-place tells the blueprint logic to ignore any entity that is invalid to place - the one you’re expecting an event from.
If you want to get ahold of me I'm almost always on Discord.
The_LORD_thy_GOD
Inserter
Inserter
Posts: 20
Joined: Sun Nov 10, 2024 5:23 pm
Contact:

Re: [2.1.8] `on_blueprint_settings_pasted` not firing on some overlaps

Post by The_LORD_thy_GOD »

Okay, I think I understand better what is going on here. I made an interface improvement request instead: viewtopic.php?t=134458
Post Reply

Return to “Not a bug”