Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Station Names #1

Open
adrianvanderwal opened this issue Sep 26, 2018 · 4 comments
Open

Station Names #1

adrianvanderwal opened this issue Sep 26, 2018 · 4 comments

Comments

@adrianvanderwal
Copy link

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

@dewiniaid
Copy link
Owner

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
Copy link

malkav73 commented Jun 5, 2019

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
Copy link
Author

Modules are copied, as are tiles.

Not sure about trains and train station names though.

@PirateIncognito
Copy link

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

azaghal added a commit to azaghal/BlueprintExtensions that referenced this issue Jun 26, 2020
- Fixes issue dewiniaid#1.
- Updated function that clones a blueprint to explicitly request
  inclusion of entities, modules, station names, trains, and train
  fuel when creating a new blueprint. New functionality requires API
  changes introduced in Factorio 0.18.18.
- Updated mod info file and changelog.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants