Пример #1
0
        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));
        }
Пример #2
0
        public static string GeneratePermadeathSaveName()
        {
            string fileName = NameGenerator.GenerateName(Faction.OfPlayer.def.factionNameMaker);

            fileName = GenFile.SanitizedFileName(fileName);
            return(NewPermadeathSaveNameWithAppendedNumberIfNecessary(fileName));
        }
Пример #3
0
        public static string GeneratePermadeathSaveNameBasedOnPlayerInput(string factionName, string acceptedNameEvenIfTaken = null)
        {
            string name = GenFile.SanitizedFileName(factionName);

            return(PermadeathModeUtility.NewPermadeathSaveNameWithAppendedNumberIfNecessary(name, acceptedNameEvenIfTaken));
        }