(32e72b628) Fixed "dumpentitytexts" command outputting the lines in an incorrect format, added new lights and structures to EnglishVanilla.xml

This commit is contained in:
Joonas Rikkonen
2019-04-15 12:04:54 +03:00
parent 7cf82573d0
commit 3eba76bb0f
@@ -1111,8 +1111,8 @@ namespace Barotrauma
List<string> lines = new List<string>(); List<string> lines = new List<string>();
foreach (MapEntityPrefab me in MapEntityPrefab.List) foreach (MapEntityPrefab me in MapEntityPrefab.List)
{ {
lines.Add("<EntityName." + me.Identifier + ">" + me.Name + "</" + me.Identifier + ".Name>"); lines.Add("<EntityName." + me.Identifier + ">" + me.Name + "</EntityName." + me.Identifier + ">");
lines.Add("<EntityDescription." + me.Identifier + ">" + me.Description + "</" + me.Identifier + ".Description>"); lines.Add("<EntityDescription." + me.Identifier + ">" + me.Description + "</EntityDescription." + me.Identifier + ">");
} }
File.WriteAllLines(filePath, lines); File.WriteAllLines(filePath, lines);
})); }));