Decouples starting gear from UtilityAI (#8512)

This commit is contained in:
EmoGarbage404
2022-05-29 18:14:47 -04:00
committed by GitHub
parent cbf1f6322f
commit 86ee423449
5 changed files with 48 additions and 21 deletions

View File

@@ -0,0 +1,12 @@
using Content.Shared.Roles;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Clothing.Components
{
[RegisterComponent]
public sealed class LoadoutComponent : Component
{
[DataField("prototype", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<StartingGearPrototype>))]
public string Prototype = string.Empty;
}
}