Problem:
For LTN to indicate carriage positions I am generating virtual signals for every rolling stock in data phase.The virtual signal names are currently "LTN-"..entity.name which can get in conflict with other LTN signals so i need to rename them to something more unique like "ltn-position-"..entity.name.
However this also means the old signals vanish from all combinators.
Suggestion:
Add regex support to migration so we can migrate auto generated names as well as hard coded ones.For example to migrate all base rolling stock currently this is required:
Code: Select all
{
"virtual-signal":
[
["LTN-locomotive", "ltn-position-locomotive"],
["LTN-cargo-wagon", "ltn-position-cargo-wagon"],
["LTN-fluid-wagon", "ltn-position-fluid-wagon"],
["LTN-artillery-wagon", "ltn-position-artillery-wagon"]
]
}
Code: Select all
{
"virtual-signal":
[["LTN-(.*)", "ltn-position-$1"]
]
}