https://github.com/notnotmelon/factorissimo-2-notnotmelon/issues/53
Here is my code to script-create the blueprint.
local mapping = stack.create_blueprint {
surface = source.inside_surface,
force = source.force,
area = {first_anchor.position, second_anchor.position},
always_include_tiles = true,
include_trains = true,
include_station_names = true
}
setup_blueprint_tags(stack, mapping)
It seems there are no blueprint_setup events I can raise for this, however 2.0 does allow definition of custom events. Are you willing to implement a listener for this event if I add it to the mod?