public static string GeneratePermadeathSaveName() { string text = NameGenerator.GenerateName(Faction.OfPlayer.def.factionNameMaker, null, false, null, null); text = GenFile.SanitizedFileName(text); return(PermadeathModeUtility.NewPermadeathSaveNameWithAppendedNumberIfNecessary(text, null)); }
public static string GeneratePermadeathSaveName() { string fileName = NameGenerator.GenerateName(Faction.OfPlayer.def.factionNameMaker); fileName = GenFile.SanitizedFileName(fileName); return(NewPermadeathSaveNameWithAppendedNumberIfNecessary(fileName)); }
public static string GeneratePermadeathSaveNameBasedOnPlayerInput(string factionName, string acceptedNameEvenIfTaken = null) { string name = GenFile.SanitizedFileName(factionName); return(PermadeathModeUtility.NewPermadeathSaveNameWithAppendedNumberIfNecessary(name, acceptedNameEvenIfTaken)); }