dewiniaid / BlueprintExtensions

Useful blueprinting tools for Factorio
Other
4 stars 8 forks source link

Station Names #1

Open adrianvanderwal opened 5 years ago

adrianvanderwal commented 5 years ago

When upgrading a blueprint using the upgrade planner, there is no option to keep station names.

dewiniaid commented 5 years ago

This is a limitation in the current system that Blueprint Updater uses. Namely, the behind-the-scenes process is:

  1. You select an area with the Blueprint Updater tool.
  2. The updater creates and configures a new blueprint, entirely behind-the-scenes, using that selection area.
  3. The updater copies the label and icons from the previous blueprint.
  4. The updater opens the now-fully-created blueprint for further customization.

Since the blueprint is already fully created when the interface is shown, there is no means to properly configure it. A similar issue affects tiles in blueprints, though I can't recall how exactly that behaves at the moment.

I've posted a request for better support for this on the Factorio forums

malkav73 commented 5 years ago

I believe this issue applies to anything that must be enabled by checkbox in the bluprint. i.e.- Station Names, Modules, Tiles, Trains, and any others I'm forgetting.

This flaw makes the updater largely unusable, since you must remember you can only use it on bluprints with nothing checked, and you may not always be aware what's stored in there.

Is there a way to pass checkbox settings (like 'include station names') to the behind-the-scenes blueprint creator? Even if there is no way to read them from the old blueprint, they could be turned on/off in mod settings.

adrianvanderwal commented 5 years ago

Modules are copied, as are tiles.

Not sure about trains and train station names though.

PirateIncognito commented 4 years ago

SWEET JESUS! Our prayers have been heard by the factorio devs!

v.18.18 release notes

Added "include_entities", "include_trains", "include_station_names", and "include_modules" fields to LuaItemStack::create_blueprint.

I'm hoping this mod gets updated when v.18 goes stable.

Also forum post. https://forums.factorio.com/viewtopic.php?f=65&t=82459&p=485148#p485148