defaults to new extension (.ss13records)

- able to open new and outdated filetypes
- defaults to saving as new filetype
- attempting to save using outdated filetype will prompt to convert
This commit is contained in:
Llywelwyn 2022-08-17 11:53:28 +01:00
parent 18fe41b09f
commit f553afdb73
2 changed files with 24 additions and 12 deletions

View file

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
@ -53,14 +53,6 @@ namespace CharacterRecordsGenerator
return builder.ToString();
}
/// <summary>
/// Returns true if the specified species has gender.
/// </summary>
/// <param name="species"></param>
/// <returns></returns>
public static bool HasGender(this SpeciesType species) =>
!(species == SpeciesType.Diona || species == SpeciesType.IPC || species == SpeciesType.Vaurca);
public static string SubspeciesNiceName(SpeciesSubType species)
{
var attr = species.GetAttributeOfType<SubspeciesMetaAttribute>();