New Permission: Disable "Select New Contents for Blueprint"

Things that already exist in the current mod API
Post Reply
Honktown
Smart Inserter
Smart Inserter
Posts: 1025
Joined: Thu Oct 03, 2019 7:10 am
Contact:

New Permission: Disable "Select New Contents for Blueprint"

Post by Honktown »

"Select New Contents for Blueprint" isn't "buggy" per-se, but it currently results in an on_player_setup_blueprint event with a blueprint that bypasses any editing. This includes whether it was a blueprint item in game or a blueprint in library (it's not in player.blueprint_to_setup, and if it's from the library, there is a blueprint in cursor but it's a dummy)

Being unable to edit the resulting blueprint at all creates immediate problems for different mods:
1) tags can't be attached
2) entities can't be replaced with proxies
3) entities can't be removed

Obviously more problems could be imagined, but those are just the most obvious I think of.

Being unable to select new contents could remove the button, or more predictably, just stop someone in the process and cancel it when they click the button.

In my opinion this is a good option for the mod issues until there is better behavior (if possible), and someone may just want to disable the behavior anyway in their game.
I have mods! I guess!
Link

Rseding91
Factorio Staff
Factorio Staff
Posts: 13202
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: New Permission: Disable "Select New Contents for Blueprint"

Post by Rseding91 »

This already exists. It's "reassign blueprint".
If you want to get ahold of me I'm almost always on Discord.

Honktown
Smart Inserter
Smart Inserter
Posts: 1025
Joined: Thu Oct 03, 2019 7:10 am
Contact:

Re: New Permission: Disable "Select New Contents for Blueprint"

Post by Honktown »

Rseding91 wrote:
Fri Sep 24, 2021 3:10 pm
This already exists. It's "reassign blueprint".
Thanks.
I have mods! I guess!
Link

Post Reply

Return to “Already exists”