From fe84325c2ee1391e29b8dcfec685e58f348fbd97 Mon Sep 17 00:00:00 2001 From: Zekins <136648667+Zekins3366@users.noreply.github.com> Date: Wed, 27 Mar 2024 13:14:45 +0300 Subject: [PATCH] Update NamingSystem.cs --- Content.Shared/Humanoid/NamingSystem.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Content.Shared/Humanoid/NamingSystem.cs b/Content.Shared/Humanoid/NamingSystem.cs index af4e20fd997..558a0b945dc 100644 --- a/Content.Shared/Humanoid/NamingSystem.cs +++ b/Content.Shared/Humanoid/NamingSystem.cs @@ -35,6 +35,9 @@ public string GetName(string species, Gender? gender = null) case SpeciesNaming.FirstDashFirst: return Loc.GetString("namepreset-firstdashfirst", ("first1", GetFirstName(speciesProto, gender)), ("first2", GetFirstName(speciesProto, gender))); + case SpeciesNaming.XnoY: + return Loc.GetString("namepreset-x-no-y", + ("first", GetFirstName(speciesProto, gender)), ("last", GetLastName(speciesProto))); case SpeciesNaming.FirstLast: default: return Loc.GetString("namepreset-firstlast", @@ -76,4 +79,4 @@ public string GetLastName(SpeciesPrototype speciesProto, Gender? gender = null) } // Corvax-LastnameGender-End } -} \ No newline at end of file +}