Page 1 of 1

migrate virtual-signals

Posted: Mon May 29, 2017 6:29 pm
by Optera
Please add signals to supported types for renaming during migration.

Some of my mods use signal names from my early days of modding which are rather ambiguous and could easily conflict with other mods.
I'd love to migrate those to use a naming scheme, but so far didn't do it as it'd break all players constructions using those signals.

In case they are already supported, please add a complete list of supported types to the documentation.

Re: migrate virtual-signals

Posted: Mon May 29, 2017 6:55 pm
by Rseding91
virtual-signals are already supported in migrations.

Re: migrate virtual-signals

Posted: Tue May 30, 2017 6:08 am
by Optera
What's the syntax?

Code: Select all

{
  "virtual-signal":
  [
    ["old", "new"]
  ]
}
I tried "signal", "signals", "virtual-signal", "virtual-signals". Nothing worked, combinators always loose "old" instead of being migrated to "new".

Re: migrate virtual-signals

Posted: Tue May 30, 2017 9:50 am
by Rseding91
Huh, so they're actually not. I was mistaken and confused fluids with virtual signals.

I'll add support for migrating virtual signals.