eg.
Code: Select all
"Moon" "Sol/Earth"
should be able to be declared as:
Code: Select all
"Moon" "Earth"
because the parser already knows that the parent of Earth is Sol, from the prior definition:
Code: Select all
"Earth" "Sol"
so why repeat it???
The reason that this is important IMO is because the current situation makes it very very difficult to re-locate addons which are composed of many inter-related objects (potentially in multiple SSC files).
I think with the addition of the new Reference-Frames functionality we will see more and more of these type of addons in the future.
eg. To relocate an addon from Moon orbit as below, to lets say an orbit around Phobos would require meticulously substituting every single occurrence of Sol/Earth/Moon to Sol/Mars/Phobos in all SSC's that define the addon.
Code: Select all
"A" "Sol/Earth/Moon"
...
"B" "Sol/Earth/Moon/A"
...
"C1" "Sol/Earth/Moon/A/B"
...
"C2" "Sol/Earth/Moon/A/B"
...
etc...
As far as I'm concerned, the repetition of Sol/Earth/Moon/ in the second statement (above) and of Sol/Earth/Moon/A/ in the 3rd and 4th is completely redundant.
Allowing the following form:
Code: Select all
"A" "Sol/Earth/Moon"
...
"B" "A"
...
"C1" "B"
...
"C2" "B"
...
etc...
would make it possible to re-locate the whole addon by just changing the first statement.
As far as I'm aware, once the parent is defined it never changes.