testing Inherits; seems to work. Also, the Converter knows a bit about Inherits now.

This commit is contained in:
Bob
2010-01-12 19:33:14 +13:00
parent b21e1adc2d
commit 0c473aa941
11 changed files with 50 additions and 132 deletions

View File

@@ -41,7 +41,8 @@ namespace RulesConverter
{ "Armor", "Armor" },
{ "Crewed", "Crewed" },
{ "InitialFacing", "InitialFacing" },
{ "Sight", "Sight" } }
{ "Sight", "Sight" },
{ "WaterBound", "WaterBound" } }
},
{ "Selectable", new PL {
@@ -205,6 +206,10 @@ namespace RulesConverter
}
catch { }
}
var yaml = MiniYaml.FromFile( outputFile );
yaml.OptimizeInherits( MiniYaml.FromFile( "defaults.yaml" ) );
yaml.WriteToFile( outputFile );
}
}
}