diff --git a/Content.Server/Humanoid/Systems/HumanoidAppearanceSystem.cs b/Content.Server/Humanoid/Systems/HumanoidAppearanceSystem.cs index 37d8ba32841..505ad4f16c7 100644 --- a/Content.Server/Humanoid/Systems/HumanoidAppearanceSystem.cs +++ b/Content.Server/Humanoid/Systems/HumanoidAppearanceSystem.cs @@ -151,42 +151,4 @@ public void SetMarkingColor(EntityUid uid, MarkingCategories category, int index Dirty(uid, humanoid); } - - /// - /// Takes ID of the species prototype, returns UI-friendly name of the species. - /// - public string GetSpeciesRepresentation(string speciesId) - { - if (_prototypeManager.TryIndex(speciesId, out var species)) - { - return Loc.GetString(species.Name); - } - else - { - return Loc.GetString("humanoid-appearance-component-unknown-species"); - } - } - - public string GetAgeRepresentation(string species, int age) - { - _prototypeManager.TryIndex(species, out var speciesPrototype); - - if (speciesPrototype == null) - { - Log.Error("Tried to get age representation of species that couldn't be indexed: " + species); - return Loc.GetString("identity-age-young"); - } - - if (age < speciesPrototype.YoungAge) - { - return Loc.GetString("identity-age-young"); - } - - if (age < speciesPrototype.OldAge) - { - return Loc.GetString("identity-age-middle-aged"); - } - - return Loc.GetString("identity-age-old"); - } }