removes suffixes, added spoken languages, fixed namegen

- suffix removed
- spoken languages added
- name gen fixed (had erroneous spaces/something missing spaces)
This commit is contained in:
Llywelwyn 2022-07-25 11:17:06 +01:00
parent d9b339c8a1
commit 945e38cd66
5 changed files with 15 additions and 11 deletions

View file

@ -31,7 +31,7 @@ namespace CharacterRecordsGenerator
/// </summary>
/// <param name="val"></param>
/// <returns></returns>
public static string SpaceIfValue(this string val) => string.IsNullOrWhiteSpace(val) ? string.Empty : $" {val} ";
public static string SpaceIfValue(this string val) => string.IsNullOrWhiteSpace(val) ? string.Empty : $"{val} ";
public static string IfEmpty(this string target, string fallback) =>
target.IsEmpty() ? fallback : target;