Beispiel #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));
        }
Beispiel #2
0
        public static string GeneratePermadeathSaveNameBasedOnPlayerInput(string factionName, string acceptedNameEvenIfTaken = null)
        {
            string name = GenFile.SanitizedFileName(factionName);

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