diff --git a/OpenRA.Mods.TS/UtilityCommands/LegacyRulesImporter.cs b/OpenRA.Mods.TS/UtilityCommands/LegacyRulesImporter.cs index 20ef0468ae..9d99d84432 100644 --- a/OpenRA.Mods.TS/UtilityCommands/LegacyRulesImporter.cs +++ b/OpenRA.Mods.TS/UtilityCommands/LegacyRulesImporter.cs @@ -109,6 +109,28 @@ namespace OpenRA.Mods.TS.UtilityCommands Console.WriteLine("\t\tAmount: " + power); } + var captureable = rulesSection.GetValue("Capturable", string.Empty); + if (!string.IsNullOrEmpty(captureable) && captureable == "true") + Console.WriteLine("\tCapturable:"); + + var crewed = rulesSection.GetValue("Crewed", string.Empty); + if (!string.IsNullOrEmpty(crewed) && crewed == "yes") + Console.WriteLine("\tEmitInfantryOnSell:"); + + var deploysInto = rulesSection.GetValue("DeploysInto", string.Empty); + if (!string.IsNullOrEmpty(deploysInto)) + { + Console.WriteLine("\tTransforms:"); + Console.WriteLine("\t\tIntoActor: " + deploysInto); + } + + var undeploysInto = rulesSection.GetValue("UndeploysInto", string.Empty); + if (!string.IsNullOrEmpty(undeploysInto)) + { + Console.WriteLine("\tTransforms:"); + Console.WriteLine("\t\tIntoActor: " + undeploysInto); + } + if (artIni.Sections.Any(s => s.Name == building.ToLowerInvariant())) { var artSection = artIni.GetSection(building); @@ -149,7 +171,6 @@ namespace OpenRA.Mods.TS.UtilityCommands if (!string.IsNullOrEmpty(buildup) && buildup != "none") Console.WriteLine("\tWithMakeAnimation:"); - var terrainPalette = artSection.GetValue("TerrainPalette", string.Empty); if (!string.IsNullOrEmpty(terrainPalette)) bool.TryParse(terrainPalette, out useTerrainPalette);