[feat] Custom name for clown, mime and borgs

This commit is contained in:
rhailrake
2023-05-04 13:44:24 +06:00
committed by Aviu00
parent f04400926e
commit 68e52f60c9
18 changed files with 3124 additions and 43 deletions

View File

@@ -19,7 +19,31 @@ namespace Content.Client.Preferences.UI
if (Profile == null) return;
var name = HumanoidCharacterProfile.GetName(Profile.Species, Profile.Gender);
SetName(name);
UpdateNameEdit();
UpdateNamesEdit();
}
private void RandomizeClownName()
{
if (Profile == null) return;
var name = HumanoidCharacterProfile.GetClownName();
SetClownName(name);
UpdateNamesEdit();
}
private void RandomizeMimeName()
{
if (Profile == null) return;
var name = HumanoidCharacterProfile.GetMimeName();
SetMimeName(name);
UpdateNamesEdit();
}
private void RandomizeBorgName()
{
if (Profile == null) return;
var name = HumanoidCharacterProfile.GetBorgName();
SetBorgName(name);
UpdateNamesEdit();
}
}
}