Merge pull request #11382 from reaperrr/projectile-streamlining

Moved projectiles to their own namespace and streamlined property names
This commit is contained in:
Oliver Brakmann
2016-06-04 15:00:08 +02:00
19 changed files with 82 additions and 56 deletions

View File

@@ -159,6 +159,22 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
// Streamline some projectile property names and functionality
if (engineVersion < 20160601)
{
if (node.Key == "Sequence")
node.Key = "Sequences";
if (node.Key == "TrailSequence")
node.Key = "TrailSequences";
if (node.Key == "Trail")
node.Key = "TrailImage";
if (node.Key == "Velocity")
node.Key = "Speed";
}
UpgradeWeaponRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}