Lint more const string prototypes (#18922)
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
using Content.Shared.Humanoid.Markings;
|
||||
|
||||
namespace Content.Shared.Humanoid
|
||||
{
|
||||
public static class HairStyles
|
||||
{
|
||||
[ValidatePrototypeId<MarkingPrototype>]
|
||||
public const string DefaultHairStyle = "HairBald";
|
||||
|
||||
[ValidatePrototypeId<MarkingPrototype>]
|
||||
public const string DefaultFacialHairStyle = "FacialHairShaved";
|
||||
|
||||
public static readonly IReadOnlyList<Color> RealisticHairColors = new List<Color>
|
||||
|
||||
@@ -2,7 +2,6 @@ using Content.Shared.Humanoid.Markings;
|
||||
using Content.Shared.Humanoid.Prototypes;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Utility;
|
||||
using System.Linq;
|
||||
using Content.Shared.Preferences;
|
||||
using Robust.Shared.GameObjects.Components.Localization;
|
||||
@@ -25,6 +24,7 @@ public abstract class SharedHumanoidAppearanceSystem : EntitySystem
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly MarkingManager _markingManager = default!;
|
||||
|
||||
[ValidatePrototypeId<SpeciesPrototype>]
|
||||
public const string DefaultSpecies = "Human";
|
||||
|
||||
public override void Initialize()
|
||||
|
||||
Reference in New Issue
Block a user